> response.setContentType("application/vnd.ms-excel"
);
...
> response.setHeader( "Content-Disposition",
> "attachment; filename=" + filename );
Again a breathtaking knowledge is displayed of literal
string values just like so many people seem to know
for the system properties. Obviously the setHeader()
stuff is standard HTTP - anyone give a site that lists
the valid header values etc?
But the setContentType() - are these mime types
officially, centrally registered anywhere or do you
just pick them up like the vocabulary of a new
language?
In awe.
Stuart Butler
=====
Stuart Butler
Entier Ltd
[EMAIL PROTECTED] or [EMAIL PROTECTED]
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html