This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
How to call a javascript function on back button press of the brower window
browser back button functanality
How to maintain state between different pages in jsp
Inactivating Back button
disable browser caching not working