Product Home Page | Developer Site | Version | |
The following example sets the content type to non-HTML encoded text. This means the client will not interpret any HTML tags in the text:
<% Response.ContentType="text/plain"
The following example shows other common content types:
<% Response.ContentType = "text/html" %>
<% Response.ContentType = "image/GIF" %>
<% Response.ContentType = "image/JPEG" %>
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.