jQuery in Action, 2nd edition*
The moose likes JSP and the fly likes java+The page cannot be refreshed  without resending the information message in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "java+The page cannot be refreshed  without resending the information message in jsp" Watch "java+The page cannot be refreshed  without resending the information message in jsp" New topic
Author

java+The page cannot be refreshed without resending the information message in jsp

Tunc Ozbilgen
Greenhorn

Joined: Jul 03, 2001
Posts: 4
Hi,
I have got a main.jsp.There are some links in main jsp when you ticked the links pop-up pages opening.When you finish your job and close the pop-up page,I use location.reload() to reload the main page at this time I get the "The page cannot be refreshed without resending the information message.Click...."
I think the reason is the hidden values. Buy I must use this values
How can I beat this message.Thank You..
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Normally, you get that warning when the page your refreshing was navigated to by the post method from another page. If you can change it to a get the message will go away.
Another alternative would be to just use javascript to fill in the values on the parent page without making a round trip to the server.


Dave
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java+The page cannot be refreshed without resending the information message in jsp
 
Similar Threads
problem when refreshing the html
Javascript resize issue in IE
When Refresh/Reload button is clicked the pages doesn't refresh. Why?
How to retain the values selected in the jsp page when traversing back from a pop up jsp?
post forms and window.reload()