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 Android Security Essentials Live Lessons this week in the Android 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.

jQuery in Action, 2nd edition
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