Just to let you know.  I tried what you explained: placing a link on a jsp
page within tomcat to a .pdf file.  It worked perfectly in IE5.5, Netscape
4.7 but not initially in Netscape 6. I manually set the path to acrobat and
everything thereafter was fine.

I have not made changes to the default mime-type mappings in the web.xml
file.  I cannot duplicate your problem.

.pdf files are binary.  What type of plain text are you getting?  It should
look like a bunch of strange characters with a text header, otherwise you
may not have a valid .pdf file.

Linux, tomcat-3.2.1

Good luck,
Craig

-----Original Message-----
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 8:57 AM
To: [EMAIL PROTECTED]
Subject: RE: Acrobat question clarification



        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

Reply via email to