Spring MVC - controller for redirection to one of n views
posted 6 years ago
In the Spring MVC framework, I need to create a controller (simple form?) that will allow me to redirect the request to one of 20 different views (jsps) based on the input parameters chosen on the landing page.
I am assuming I need to create a model for each of the view jsps but should be able to redirect to the correct view jsp based off of the input parameter passed in from the request, right?
Any code snippets/pointers will be very helpful. Thanks.