I'm not sure if you have the correct mime type, but another issue is that you will find different browsers do different things, and different versions of the same browser do different things with mime types. Also different computers with the same version of the same browser will do different things with the same mime type. And finally good old Microsoft has decided to ignore Internet standards for mime types and make up its own rules that only apply to IE on the Microsoft OS.
-- Paul Copeland, JOT Object Technologies - http://www.jotobjects.com > > Date: Wed, 15 Jan 2003 20:51:48 +1100 From: Sachin Pandey > <[EMAIL PROTECTED]> Subject: Setting response content type > > This is a multi-part message in MIME format. > > Hi, > > I am facing a problem with setting response headers. In my web = > application a user can download a file via a link. In the Servlet = > responsible for the download I set the response contenttype. For a = > particular case I have a file name xyz.aaa, this in the actual fact > is = an word document.The file name & extension could be anything. I > am setting the response content type to application/msword in this = > case still the browser doesn't open the file in word. What I would > like = to know is what does the browser rely on for opening documents > the = response content type or the file extension. Is there a way to > make the = browser open files with different extension in MS Word? > > Cheers Sachin Pandey NUIX Pty Ltd Level 8, 143 York Street, Sydney > 2000 Phone: (02) 92839010 Fax: (02) 92839020 > ___________________________________________________________________________ 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