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 Spring and the fly likes Reloading page from where I navigated to a new page 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 » Frameworks » Spring
Bookmark "Reloading page from where I navigated to a new page" Watch "Reloading page from where I navigated to a new page" New topic
Author

Reloading page from where I navigated to a new page

Jaskiran Kaur
Greenhorn

Joined: Dec 01, 2011
Posts: 3
I am using Spring and JSP in my project.
I have a JSP page Add Campaign on which I have provided a functionality to either select already existing data or if a user wants to create new data altogether I have given a button to navigate to the particular 'Add Data' page as follows:

This button's click routes user to the Add New Call Flow page in same window(I don't want to open in a new window). Once I enter all details for this call flow page I save/submit the data which calls controller and saves data to db and returns back to same Add Call Flow Page displaying successful data insertion. On this page I am giving a button to go back to the page(i.e. Add Campaign Page) from where I came to this add call flow page.
Though I can route back to Add Campaign page but it is a new page altogether and the data(if any filled) by user earlier on Add Campaign Page before clicking on Add Call Flow is lost.

Please guide me in the solution.

Thanks!
Jaskiran
 
Consider Paul's rocket mass heater.
 
subject: Reloading page from where I navigated to a new page
 
Similar Threads
Simple list table
Problem in using javascript in spring web mvc system:
Open JSP page deployed in other web server
How to deploy a Web Application in Apache Tomcat?
Windows XP Popup blocking