Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet inactive interval

 
keerthi vineela
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SOunds easy enough to test for yourself. What did you discover?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic