Prentice Hall and Sun Microsystems. Personal use only; do not redistribute.
Contents
xv
Appendix
Servlet and JSP Quick Reference 518
A.1 Overview of Servlets and JavaServer Pages
519
Advantages of Servlets
519
Advantages of JSP
519
Free Servlet and JSP Software
519
Documentation
520
Servlet Compilation: CLASSPATH Entries
520
Tomcat 3.0 Standard Directories
520
Tomcat 3.1 Standard Directories
520
JSWDK 1.0.1 Standard Directories
520
Java Web Server 2.0 Standard Directories
521
A.2 First Servlets
521
Simple Servlet
521
Installing Servlets
521
Invoking Servlets
521
Servlet Life Cycle
522
A.3 Handling the Client Request: Form Data
523
Reading Parameters
523
Example Servlet
523
Example Form
524
Filtering HTML Specific Characters
524
A.4 Handling the Client Request: HTTP Request Headers
524
Methods That Read Request Headers
524
Other Request Information
525
Common HTTP 1.1 Request Headers
525
A.5 Accessing the Standard CGI Variables
526
Capabilities Not Discussed Elsewhere
526
Servlet Equivalent of CGI Variables
526
A.6 Generating the Server Response: HTTP Status Codes
527
Format of an HTTP Response
527
Methods That Set Status Codes
527
Status Code Categories
527
Common HTTP 1.1 Status Codes
527
A.7 Generating the Server Response: HTTP Response Headers
528
Setting Arbitrary Headers
528
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved