aspose file tools*
The moose likes Struts and the fly likes check whether the session has expired Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "check whether the session has expired" Watch "check whether the session has expired" New topic
Author

check whether the session has expired

Mohamed Amri
Greenhorn

Joined: Feb 17, 2006
Posts: 11
Hi

I am using struts. I want to notify the user when the session has expired. How can I know that the session has expired ?
what is the best way to implemant such notification ?
Should all my actions extend one super action, within which I implement the business logic that checks whether the session has expired ?

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61770
    
  67

Look up the concept of a servlet filter.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: check whether the session has expired