| Author |
Form getting resubmit on Rfreshing the browser
|
Maneessh saxena
Ranch Hand
Joined: Oct 03, 2006
Posts: 125
|
|
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
|
SCJP 1.4, SCWCD 1.5
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56174
|
|
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.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56174
|
|
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.
|
 |
 |
|
|
subject: Form getting resubmit on Rfreshing the browser
|
|
|