aspose file tools*
The moose likes Spring and the fly likes Handle multiple jsp pages in session : Spring app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Handle multiple jsp pages in session : Spring app" Watch "Handle multiple jsp pages in session : Spring app" New topic
Author

Handle multiple jsp pages in session : Spring app

Ab kum
Greenhorn

Joined: Jan 20, 2010
Posts: 5
Hi,
I have a situation where i need to go "BACK" and "NEXT" pages based on which page(Total 3 pages) you visit.At the 3 rd page you can submit to Database.at the end of 3 rd page when you submit to DB you need to save all three pages data to DB.
Can somebody help me how to handle this situation in Spring.
I am using JSP,AJAX,Spring MVC
my controller extends MultiActionController.
Thanks in advance.



Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

Ab kum wrote:Hi,
I have a situation where i need to go "BACK" and "NEXT" pages based on which page(Total 3 pages) you visit.At the 3 rd page you can submit to Database.at the end of 3 rd page when you submit to DB you need to save all three pages data to DB.
Can somebody help me how to handle this situation in Spring.
I am using JSP,AJAX,Spring MVC
my controller extends MultiActionController.
Thanks in advance.





That is exactly what Spring Web Flow is all about. Handling these multi pages requests/flows.

In older versions of Spring you could also use th AbstractWizardFormController class to implement.

Good Luck

Mark

Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Ab kum
Greenhorn

Joined: Jan 20, 2010
Posts: 5
Thanks Mark.I will look into Web Flow.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Handle multiple jsp pages in session : Spring app