Prentice Hall and Sun Microsystems. Personal use only; do not redistribute.
11.2 The contentType Attribute
251
Figure 11 1 ImportAttribute.jsp when first accessed.
Figure 11 2 ImportAttribute.jsp when accessed in a subsequent visit.
11.2 The contentType Attribute
The
contentType
attribute sets the
Content Type
response header, indicat
ing the MIME type of the document being sent to the client. For more infor
mation on MIME types, see Table 7.1 (Common MIME Types) in Section
7.2 (HTTP 1.1 Response Headers and Their Meaning).
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
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