File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes session management Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "session management" Watch "session management" New topic

session management

p hasini
Ranch Hand

Joined: Oct 24, 2009
Posts: 92
If a session expires,is there a way that the Login page can be displayed by default.

Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

If you are using container managed security this is what will happen when a request is made.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
p hasini
Ranch Hand

Joined: Oct 24, 2009
Posts: 92
Container managed security means we provide <security-constraint> in web.xml.

Which tag should we use to specify that Login page must be displayed when session expires.

Don't get me started about those stupid light bulbs.
subject: session management