• Post Reply Bookmark Topic Watch Topic
  • New Topic

Form getting resubmit on Rfreshing the browser  RSS feed

 
Maneessh saxena
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Great Ranchers,

I've a problem with HTML forms in my jsp. Actually I have a form, when I submit the for it dose perform some logic that's fine. But the problem is when I refresh the web page (by pressing refresh button of browser), it performs the same logic again which isn't desirable.

Kindly tell me the proper solution ASAP.

Thanks & Regards
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
raunak saxena wrote:Kindly tell me the proper solution ASAP.

You know, I was going to answer until your rude statement made me not want to.

Please read this for more information.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seriously, that's exactly the type of reaction those statements can cause. Please avoid using them in the future.

With regards to your question, please read this article paying special attention to the PRG pattern.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!