Dec 20th, 2007, 04:09 PM
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 ....
Is this possible?
Dec 21st, 2007, 09:16 AM
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.