Restrict confirm message on page reload with f5
Posted
by
Max
on Stack Overflow
See other posts from Stack Overflow
or by Max
Published on 2011-06-21T13:03:07Z
Indexed on
2011/06/21
16:22 UTC
Read the original article
Hit count: 151
In my JSP page I am using post method while submitting the page. So once I go from Page 1 to page 2. In Page 2, If I press F5 I am getting alert as
"To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier."
I knew this question is a bit sarcastic but please give me an Idea. I can't change my method from POST to GET because I need to send large amount of data.
Thanks in advance...
Edited: In my Page1.JSP I call onClick function in that function I call action as "/page2servlet.do". Now, In Java side I use Spring Framework. With MVC Object I return to page2.jsp.
So where do the response.sendRedirect Fit.
© Stack Overflow or respective owner