Java Web Server 2.0  

Session Servlet Example


This is a simple example of an HTTP Servlet that uses the HttpSession class Note that in order to guarantee that session response headers are set correctly, the session must be retrieved before any output is sent to the client.

Top
java-server-feedback@java.sun.com
Copyright © 1999 Sun Microsystems, Inc.
All Rights Reserved.