web.xml: session-config timeout
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
<web-app>
<session-config>
<session-timeout>
60 <!-- minutes -->
</session-timeout>
</session-config>
</web-app>
Related examples in the same category