• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

check whether the session has expired

 
Mohamed Amri
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65129
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look up the concept of a servlet filter.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic