Results 1 to 2 of 2

Thread: URL Rewriting

  1. #1
    Join Date
    Nov 2007
    Posts
    16

    Default URL Rewriting

    Using Spring MVC am I able to dynamically alter the URL depending on results from a search operation

    For example, imagine I have a search page for a large store where a customer may search for books, electronics etc. When they have entered their criteria and submitted the page I want the URL to change depending on their search ie

    Search URL is http://www.mystore.com/search

    User is performs a search which calls an action, goes to the DB and returns the results but the URL should now say ....

    http://www.mystore.com/Books/Computing/Spring

    or

    http://www.mystore.com/Electronics/TV/Sony

    Is this possible?

    Thanks

  2. #2
    Join Date
    Oct 2007
    Location
    West Bend, WI
    Posts
    1

    Default

    Take a look at RedirectView.

    If that won't work for you, there is always the option to add in a product like Tuckey UrlRewriteFilter.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •