We are facing problem in opening pdf,xls and doc files through IE while the application is deployed on WAS220.127.116.11
We have required mappings in web.xml but it seems its not taking them.
The problem is its opening all the files in IE as text/html which is default if no mapping present.
The same web.xml and mapping works very fine in Tomcat instances.
Please help do we need to do something else ...???
We have already below mapping in WEB.XML of war file.
I am also facing same issue in my application.
I have added through console ,application/vnd.openxmlformats-officedocument.wordprocessingml.document as a mime type and .docx extension.
Or do I need to add application/vnd.openxmlformats as a mime type.
But still its not working.
I am opening a file in a simple jsp after uploading to the server.
Joined: Dec 28, 2010
Thanks guys..Its working fine now!!
I added application/vnd.openxmlformats-officedocument.wordprocessingml.document only