Murach's Java Servlets and JSP
This chapter shows how to use the servlet API to keep track of sessions, and it shows how to use the servlet API to work with cookies.
|
|
|
|
Why session tracking is difficult with HTTP |
204 |
|
How session tracking works in Java |
204 |
|
An application that needs session tracking |
206 |
|
|
How to set and get session attributes |
208 |
|
More methods of the session object |
210 |
|
How to enable or disable cookies |
212 |
|
How to use URL encoding to track sessions
without cookies |
214 |
|
|
An introduction to cookies |
216 |
|
How to create and use cookies |
218 |
|
How to view and delete cookies |
220 |
|
Four methods for working with cookies |
222 |
|
A utility class for working with cookies |
224 |
|
|
How to use URL rewriting to pass parameters |
226 |
|
How to use hidden fields to pass parameters |
228 |
|
|
The user interface |
230 |
|
The file structure |
230 |
|
The code for the JSPs and servlets |
230 |
|
t |
|
|
|
|
© Copyright 1998-2008 Mike
Murach & Associates, Inc. All rights reserved.
|