Java Reference
In-Depth Information
FIGURE 12-90C
Using the Servlet and JavaServer Pages API
Documentation
The Servlet and JavaServer Pages API documentation is a good tool to
look up information about servlet and JSP components, such as cookies and
HTTP sessions. The documentation is supplied with the servlet and JSP con-
tainer, Tomcat, in a folder created during installation. Start a browser and type
C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\
tomcat-docs\servletapi\index.html in the address text box and then press
the ENTER key to view the documentation.
With the Servlet and JavaServer Pages API documentation open in the
browser window, perform the following steps.
1. Use the scroll bar in the lower-left frame, if necessary, to scroll down to the
Cookie link. Click the Cookie link.
2. When the Class Cookie page is displayed, read the first three paragraphs
that describe the Cookie class, as shown in Figure 12-91.
3. Drag through the first three paragraphs describing the Cookie class to
select them. Click File on the browser's menu bar and then click Print on
the File menu to print a copy of the description. When the Print dialog
box is displayed, click Print selection and then click the Print button in
the Print dialog box.
Search WWH ::




Custom Search