Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get rid of action.do?additional_info

 
Ling Chung
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

i am building a struts webapplication and would like to know if there is a way to get rid of the action.do?additional_info for instance when i add a product to my shoppingcart -> like www.website.com/addToCart.do?productId=2
afterwards when i keep refreshing it keeps performing this action. How can i make sure the text displayed in the title bar is "clean" and it doesn't perform an action twice when a user clicks the refresh button of his browser.

Thanks!!
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sounds like a job for thePRG Pattern!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic