pro_java_server thread: Response.setContentType().
For a list of MIME (Multipurpose Internet Mail Extensions) types visit:
ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types
also available under:
http://www.isi.edu/in-notes/iana/assignments/media-types/media-types
The format is "type/subtype".
In the HTTP terms this obviously is for setting the "ContentType" header to
the correct MIME type so the browser (or other software) knows the type of
file or data being returned.
Hope this helps,
Andrew
Professional Java Servlets 2.3
http://www.amazon.com/exec/obidos/ASIN/186100561X
http://www.amazon.co.uk/exec/obidos/ASIN/186100561X
-----Original Message-----
From: gniebles@y... [mailto:gniebles@y...]
Sent: 01 August 2002 14:04
To: Java Server
Subject: [pro_java_server] Response.setContentType().
Hello everybody,
I´m working with Response.setContentType(), does anybody know what are the
possible values ? i just have:
text/plain: (output to text format)
text/html: (output to html)
application/vnd.ms-excel: (output to excel format).
Best regards
German Niebles