-
Dec 20th, 2007, 04:09 PM
#1
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
-
Dec 21st, 2007, 09:16 AM
#2
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
-
Forum Rules