|
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 Disclaimer:
This message is intended only for the named recipient. If you are not the intended recipient you are notified that disclosing,copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. |
- Re: Setting response content type Sachin Pandey
- Re: Setting response content type Paul Copeland
