This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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: 63208
    
  69

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: servlet inactive interval
 
It's not a secret anymore!