When I display searched datas in the datatable and clicking a link in the datatable goes to another page and when I click the Browser back button It asks for resubmission.(ie; Resend). I need to stay back in the datatables page from where I have clicked the link.
Asked
Active
Viewed 135 times
1 Answers
0
It's considered a good practice to follow the Redirect-after-POST pattern when submitting forms so that you can avoid the "Confirm Form Resubmission" case whenever the user presses the Back button.
I'm not familiar with how Spring MVC works, but the basic idea is, after the user submits the form and you process it, you redirect the user to the next url, which could be a success page, for example.
Here are some SO questions that might provide you with examples specifically for Spring MVC:

Community
- 1
- 1

Jensen Ching
- 3,144
- 4
- 26
- 42