aspose file tools*
The moose likes Servlets and the fly likes Spring MVC - controller for redirection to one of n views Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Spring MVC - controller for redirection to one of n views" Watch "Spring MVC - controller for redirection to one of n views" New topic
Author

Spring MVC - controller for redirection to one of n views

bel Canto
Greenhorn

Joined: Nov 14, 2005
Posts: 7
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.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9305
    
  17

Please don't double post the same thing...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring MVC - controller for redirection to one of n views