Can you stop Multiple Submits to a Web Page that are initiated by clicking to refresh button?
Answers
Answered by
2
Answer:
Yes, This issue can be solved by using a Post/Redirect/Get or a PRG pattern.
A form filed by the user gets submitted to the server using POST/GET method.
The state in the database and business model are updated.
A redirect response is used to reply by the servlet for a view page.
A view is loaded by the browser using the GET command and no user data is sent.
This is safe from multiple submits as it is a separate JSP page.
Similar questions