The Java EE 6 Tutorial

ProcedureTo Set the Timeout Period Using NetBeans IDE

To set the timeout period in the deployment descriptor using NetBeans IDE, follow these steps.

  1. Open the project if you haven’t already.

  2. Expand the project’s node in the Projects pane.

  3. Expand the Web Pages node and then the WEB-INF node.

  4. Double-click web.xml.

  5. Click General at the top of the editor.

  6. In the Session Timeout field, type an integer value.

    The integer value represents the number of minutes of inactivity that must pass before the session times out.