This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

refresh the page again inserting into db

 
siva priya uppini
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64606
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read this article and pay particular attention to the PRG pattern.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic