Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Detecting Session timeout?

 
Bahadur Shah
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way i can be notified when the session timesout?

In Jsp, we can extend HttpSessionListener and override the destroy method.

In JSF also, we need to follow the similar procedure or any better ways of doing so?
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Remember, JSF just builds on the Servlet and JSP API, so there's nothing stopping you from doing 'normal' Servlet, JSP and Session operations!

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic