• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Handle multiple jsp pages in session : Spring app

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.



 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Ab kum
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Mark.I will look into Web Flow.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic