This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 8904

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


Groovy
 
Don't get me started about those stupid light bulbs.
 
subject: problem while refreshing page
 
Similar Threads
Preventing page refresh in jsp pages
automatic refresh of a jsp page
Disable Refresh Button of IE ??
restricting users resubmiting requests
refreshing problem