This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 63350
    
  70

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
 
It's not a secret anymore!