This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 9291
    
  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
 
Similar Threads
Business Delegate/Session Facade Question
MVC: Model notifying View
Spring MVC - controller for redirection to one of n views
Model 2 Front controller?
Spring MVC 3 and JSF2 Integration