| Author |
MIME Types
|
Sonalee Mohapatra
Greenhorn
Joined: Sep 15, 2003
Posts: 10
|
|
I have some links on a html page (application hosted on weblogic) which point to word documents/excel sheets. When i click on the links, they should open up the file download dialog of windows (save to disk/open from current location). Instead, it shows up junk in a new window. I tried setting the mime types in the web.xml file as follows for doc files : <mime-mapping> <extension> doc </extension> <mime-type> application/msword </mime-type> </mime-mapping> still doesnt work though. Please advise on what is wrong. Regards
|
 |
Karthik Prabu
Ranch Hand
Joined: Dec 27, 2002
Posts: 48
|
|
Hi Sonalee Try setting the "Content-Disposition" header in the Response. karthik
|
 |
 |
|
|
subject: MIME Types
|
|
|