Add the mime-type mappings to the web.xml file in your webapp's
directory, not the one in conf.
Randy
-----Original Message-----
From: Steve G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 12:10 PM
To: [EMAIL PROTECTED]
Subject: Acrobat question clarification
Let me clarrify the problem. I am using Tomcat on a Unix system. I am using
it stand-alone without Apache. I have 2 problems. I have an html file with
links to serveral PDFs in it. When I click the link Tomcat loads the PDF
into the browser as ascii text rather than launching Acrobat. If I navigate
to the PDF without going through Tomcat, my Netscape Browser opens Acrobat
and loads the PDF just fine. I have confirmed that there is a mime-type
declaration in the web.xml file in the conf directory. My other problem is
I have a unique image format that is having the same problem. If I navigate
to it outside of Tomcat, Netscape will launch the application I have set up
in the preferences file, but if I go through the server it loads the image
file as ascii garbage in the browser. Is there something special that I need
to do in the Tomcat configuration that I am missing?
Thanks,
Steve and Nanette
Get your FREE download of MSN Explorer at http://explorer.msn.com