The Java EE 6 Tutorial, Volume I

ProcedureRunning the Web Client

  1. Open a web browser to http://localhost:8080/timersession.

  2. Click the Set Timer button to set a programmatic timer.

  3. Wait for a while and click the browser's Refresh button.

    You will see the date and time of the last programmatic and automatic timeouts.

    You can also see the messages that are logged when a timeout occurs by opening the server.log file located in domain-dir/server/logs/.