wood burning stoves 2.0*
The moose likes Servlets and the fly likes servlet inactive interval 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 "servlet inactive interval" Watch "servlet inactive interval" New topic
Author

servlet inactive interval

keerthi vineela
Greenhorn

Joined: May 10, 2013
Posts: 24
If I use both declaratively i.e, specifing <session-timeout>10</session-timeout> in xml file and also programatically setMaxInactiveInterval(30).So which one it takes whether from the web.xml file or from the setMaxInactiveInterval method .

Thanks in advance
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

SOunds easy enough to test for yourself. What did you discover?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet inactive interval
 
Similar Threads
Clearing the session.
expire the session on a particular condition
how to increase session time out
Session Timeout
Session timeout