• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Tunc Ozbilgen
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic