Two Laptop Bag
The moose likes Tomcat and the fly likes how to specify logout in jsp/tomcat ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to specify logout in jsp/tomcat ?" Watch "how to specify logout in jsp/tomcat ?" New topic

how to specify logout in jsp/tomcat ?

sarim raza
Ranch Hand

Joined: Nov 02, 2000
Posts: 232
I know how to login, using modifications to
server.xml and web.xml files ...
how do i logout now, by clicking on say a button
this should then require the user to enter their username/password again to see the secure pages ...
i think it has something to do with invalidating a session. ..
please help
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
This isn't really a Linux/Unix question, so I've moved it to the Tomcat forum for you.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

It's not even truly a Tomcat question. The mechanism's defined as part of the Servlet and (by implication, at least) JSP standards.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: how to specify logout in jsp/tomcat ?
It's not a secret anymore!