This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reloading page from where I navigated to a new page

Jaskiran Kaur
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic