File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes problem while refreshing page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "problem while refreshing page" Watch "problem while refreshing page" New topic

problem while refreshing page

vikasids sharma
Ranch Hand

Joined: Aug 01, 2003
Posts: 157
hi all
i m using JSP for front end .
A controller servlet for controlling the flow of application and beans for inserting a record in database.
I give a message to user after sucessfull insertion of record in database(using alert message of javascript).
Now record is inserted once but message is displayed every time i refresh page which is irritating to user.
Can anybody tell me how to stop displaying message when user presses refresh action of browser.
Thanks in advance

Vikas Sharma
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

This is not a java forum question. Please post in JSP forum.

I agree. Here's the link:
subject: problem while refreshing page
Similar Threads
Preventing page refresh in jsp pages
restricting users resubmiting requests
automatic refresh of a jsp page
Disable Refresh Button of IE ??
refreshing problem