This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "session management" Watch "session management" New topic
Author

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
Bartender

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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: session management
 
Similar Threads
Alternative to Cookie?
Field set in action method coming null in JSP
Session problem in NetBeans
Advice on persisting complex state across multiple server trips
ASP