Prentice Hall and Sun Microsystems. Personal use only; do not redistribute.
Contents
vii
The doGet, doPost, and doXxx Methods
37
The SingleThreadModel Interface
38
The destroy Method
38
2.7 An Example Using Initialization Parameters
39
2.8 An Example Using Servlet Initialization and Page Modification Dates
44
2.9 Debugging Servlets
50
2.10 WebClient: Talking to Web Servers Interactively
52
WebClient
52
HttpClient
55
NetworkClient
57
SocketUtil
59
CloseableFrame
60
LabeledTextField
61
Interruptible
63
Ch ap ter 3
Handling the Client Request: Form Data 64
3.1 The Role of Form Data
65
3.2 Reading Form Data from Servlets
66
3.3 Example: Reading Three Explicit Parameters
67
3.4 Example: Reading All Parameters
70
3.5 A Resume Posting Service
74
3.6 Filtering Strings for HTML Specific Characters
87
Code for Filtering
88
Example
89
Ch ap ter 4
Handling the Client Request: HTTP Request Headers 92
4.1 Reading Request Headers from Servlets
94
4.2 Printing All Headers
96
4.3 HTTP 1.1 Request Headers
98
4.4 Sending Compressed Web Pages
104
4.5 Restricting Access to Web Pages
107
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