aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "problem while refreshing page" Watch "problem while refreshing page" New topic
Author

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


Thanks
Vikas Sharma
SCJP(1.4)
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

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


Groovy
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: problem while refreshing page