Murach's Java Servlets and JSP
This chapter introduces the HTTP protocol and surveys some of the methods of the servlet API that you can use to work with the HTTP headers and status codes of HTTP requests and responses.
|
|
|
|
An HTTP request and response |
438 |
|
Common MIME types |
440 |
|
Common HTTP request headers |
442 |
|
Common HTTP status codes |
444 |
|
Common HTTP response headers |
446 |
|
|
How to get request headers |
448 |
|
How to display all request headers |
450 |
|
The request headers for the IE and Netscape browsers |
452 |
|
|
How to set status codes |
454 |
|
How to set response headers |
454 |
|
|
How to return a tab-delimited file as an Excel spreadsheet |
456 |
|
How to control caching |
456 |
|
How to encode the response with GZIP compression |
458 |
|
How to require the File Download dialog box |
460 |
|
t |
|
|
|
|
© Copyright 1998-2008 Mike
Murach & Associates, Inc. All rights reserved.
|