Reloading page from where I navigated to a new page
posted 4 years ago
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.