Java – the default session timeout for a Java EE website

jakarta-eejavajsptomcat

If I do not specify the following in my web.xml file:

<session-config>
    <session-timeout>10</session-timeout>
</session-config>

What will be my default session timeout? (I am running Tomcat 6.0)

Best Answer

If you're using Tomcat, it's 30 minutes. You can read more about it here.