• Post Reply Bookmark Topic Watch Topic
  • New Topic

Data getiing Re-Submitted

 
Nicolas Flammel
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I press F5 after submitting a form and coming to another JSP(and there is not error in form submission), the data of the form(already submitted) gets submitted again i.e. the previous form gets submitted over and over again although the current form on the screen must get refreshed.

How can I prevent this?
[ July 12, 2004: Message edited by: Nicolas Flammel ]
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See if the Post-Redirect-Get pattern works for you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!