• Post Reply Bookmark Topic Watch Topic
  • New Topic

Back button solution

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I have been reading about back button problem and a solution of it:
"capture the back button and re-post the form to get updated data"
I'm not a savvy web developer so would you please explain this to me?
how to implement it in Java web development?
Thanks.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't 'capture' the back button event but if you look up the 'post-redirect-get' pattern you will find one approach to dealing with refreshes and back button clicks.

There is an example in the JSP FAQ and Bear Bibeault has written a Journal article describing it.
[ November 07, 2007: Message edited by: Ben Souther ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!