Acrobat question clarification

2001-04-17 Thread Steve G
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 filein 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 NanetteGet your FREE download of MSN Explorer at http://explorer.msn.com


RE: Acrobat question clarification

2001-04-17 Thread Randy Layman


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



RE: Acrobat question clarification

2001-04-17 Thread Craig O'Brien

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




Re: Acrobat question clarification

2001-04-17 Thread RameshBabu R Muthuvel

Hi

This happens to me too, though i use a NT machine.  I normally do the foll:

1) clear the browsers cache, close the browser and restart it, it works 
fine.
2) (the first time i got this error), my acrobat could not launch. so i 
downloaded and reinstalled, since i was not sure about plugging in the 
browser.

I think no special config is required, anyway i am not sure about a unix 
system.

thanks

ramesh

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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 filein 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 NanetteGet your FREE download of MSN Explorer at http://explorer.msn.com