Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Refresh problem in Servlet  RSS feed

 
Madhukar Ojha
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have made Shopping Cart using Servlet. Items can be added or removed from this cart.
The problem is , On clicking refresh button of Internet Explorer ,Previous action is executed .
e.g. If you have added any item from list , after that ,if you press refresh button , same item is added once again .
Please suggest me some solution .
[ December 24, 2007: Message edited by: Madhukar Ojha ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66205
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read this article, paying special attention to the Post-Redirect-Get pattern.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!