wood burning stoves*
The moose likes Servlets and the fly likes refresh the page again inserting into db Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "refresh the page again inserting into db" Watch "refresh the page again inserting into db" New topic
Author

refresh the page again inserting into db

siva priya uppini
Greenhorn

Joined: Sep 15, 2012
Posts: 2
one jsp containing the from to insert the values.again the same jsp need to display the inserted values.In my context it is inserting and displaying correctly.But when i am trying to refresh the it is once again going and inserting into the db.Let me know the solutions
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61103
    
  66

Please read this article and pay particular attention to the PRG pattern.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
wood burning stoves
 
subject: refresh the page again inserting into db