The session timeout is the maximum length of time that Tomcat will retain the information pertaining to a user's session, in the absence of any user activity. This value is configurable per application as follows:
Open the web.xml file of your Web project. Add the following XML element:
<listener>
<listener-class>
com.adcaustin.WebClient.servletproxy.WebSessionListener
</listener-class>
</listener>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
The code above will set the session to time out in 30 minutes. Save changes.
Open WebClient.properties and find webclient.entry.timeout.
Specify the name of the function that you want to display when the session is timed out.