Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Logout of session

843840Aug 31 2009 — edited Sep 1 2009
I would like to create a logout link for my Tomcat 6.0.18 site.

I tried sending my links to a JSP with the below invalidate attempts and both did not clear the session.
session.invalidate() and session.getSession().invalidate()

Please advise and I assume my logout link should go to a servlet and not a JSP or even a JSTL?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 29 2009
Added on Aug 31 2009
4 comments
108 views