Prentice Hall and Sun Microsystems. Personal use only; do not redistribute.
150
Chapter 7 Generating the Server Response: HTTP Response Headers
Table 7.1
Common MIME Types (continued)
application/zip
Zip archive
audio/basic
Sound file in .au or .snd format
audio/x aiff
AIFF sound file
audio/x wav
Microsoft Windows sound file
audio/midi
MIDI sound file
text/css
HTML cascading style sheet
text/html
HTML document
text/plain
Plain text
image/gif
GIF image
image/jpeg
JPEG image
image/png
PNG image
image/tiff
TIFF image
image/x xbitmap
X Window bitmap image
video/mpeg
MPEG video clip
video/quicktime
QuickTime video clip
Date
This header specifies the current date in GMT format. If you want to 
set the date from a servlet, use the 
setDateHeader
 method to specify 
it. That method saves you the trouble of formatting the date string prop 
erly, as would be necessary with 
response.setHeader("Date", 
"...")
. However, most servers set this header automatically, so servlets 
don't usually need to.
ETag
This new HTTP 1.1 header gives names to returned documents so that 
they can be referred to by the client later (as with the 
If Match
 request 
header).
Expires
This header stipulates the time at which the content should be consid 
ered out of date and thus no longer be cached. A servlet might use this 
Second edition of this book: www.coreservlets.com; Sequel: www.moreservlets.com.
Servlet and JSP training courses by book's author: courses.coreservlets.com.






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

jsp web hosting

 

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