my dog learned polymorphism*
The moose likes Struts and the fly likes Regarding Back button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Regarding Back button" Watch "Regarding Back button" New topic
Author

Regarding Back button

ramji srinivasan
Greenhorn

Joined: Aug 22, 2005
Posts: 11
hi

If we click browser IE back button how can we sense in java code.

Thanks & Regards
Ramji Srinivasan
Pavan Tummala
Ranch Hand

Joined: Dec 25, 2004
Posts: 74
I dont think there is a way to detect the browser back button click. What is it that you are trying to solve?


If Java had true garbage collection, most programs would delete themselves upon execution -- Robert Sewell
ramji srinivasan
Greenhorn

Joined: Aug 22, 2005
Posts: 11
hi

i want to redirect to login page if user clicks on browser back from a particular page.
Pavan Tummala
Ranch Hand

Joined: Dec 25, 2004
Posts: 74
This should help you,
http://www.theserverside.com/articles/article.tss?l=RedirectAfterPost
Pavan Tummala
Ranch Hand

Joined: Dec 25, 2004
Posts: 74
Or this
http://www.javaworld.com/javaworld/jw-09-2004/jw-0927-logout.html
Lemme know how it goes
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding Back button