permaculture playing cards
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
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: 8927

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

I agree. Here's the link:
subject: problem while refreshing page
It's not a secret anymore!