Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Refresh button on JSP adds more records to database

843835Apr 21 2003 — edited Jul 12 2006
Hi !

After I add a record on the jsp page .. if a person happens to refresh the browser a new record is added to database... How do I prevent this?
I have used javascript ofcourse to disable right click but I cannot disable the refresh button since I am not opening it from a link but its a form submit... Is there any other better solution to this?

Your input is really appreciated
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 9 2006
Added on Apr 21 2003
12 comments
477 views