tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz.Cio...@csiro.au
Subject RE: Problems serving PDF to Netscape browsers
Date Thu, 09 May 2002 23:19:25 GMT
I would bet uit has to do with the way the PDF plugin intergares with
netscape. Nows your netscape have an applicayion/pdf mapping in its mime
type or a plug-in it recongises for the PDF?

--
Tomasz M. Ciolek
Systems Administrator - CSIRO Entomology
Phone: 02-62464391 * Fax: 02-62464000
 

> -----Original Message-----
> From: Jeff Larsen [mailto:larsen@qec.com] 
> Sent: Friday, 10 May 2002 07:33 
> To: Tomcat Users List
> Subject: Re: Problems serving PDF to Netscape browsers
> 
> 
> The content type header is correctly set to "application/pdf". 
> I even tested with a UNIX command line utility called webgrab 
> which dumps the entire server response (including headers) to stdout. 
> I can't find anything wrong with the server output. And yes, I tried
> it on another box to make sure it wasn't my system's fault.
> 
> It's got to be something that the Netscape plugin doesn't like. I just
> uninstalled Acrobat and did my dynamic PDF page with all 
> three browsers.
> Without Acrobat, they all just prompted me to save it as a 
> file. All three
> files that I generated with each browser are identical!!! And 
> once Acrobat
> was re-installed, they all opened just fine in the 
> stand-alone Acrobat.
> 
> Jeff
> 
> ----- Original Message ----- 
> From: "Andy Eastham" <andy.eastham@gliant.com>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: Thursday, May 09, 2002 4:20 PM
> Subject: RE: Problems serving PDF to Netscape browsers
> 
> 
> > Jeff,
> > 
> > Do you know that the correct mime type is being sent back 
> to the browser?
> > If there is no known mime type, I believe that IE makes 
> guesses about what
> > program to launch a file with based on its extension, but 
> NS 4 doesn't seem
> > to do this.
> > 
> > If you haven't solved it yet, check the mime type being 
> served, and check
> > the associated programs for this mime type in Netscape.
> > 
> > Otherwise, check the log file to see if the requests from 
> IE and NS are
> > different.  Is one http 1.0 and http 1.1?
> > 
> > Sorry if I'm not offering any solutions, but hopefully 
> these are some
> > additional routes for investigation.
> > 
> > Andy
> > 
> > > -----Original Message-----
> > > From: Jeff Larsen [mailto:larsen@qec.com]
> > > Sent: 09 May 2002 19:45
> > > To: tomcat-user@jakarta.apache.org
> > > Subject: Problems serving PDF to Netscape browsers
> > >
> > >
> > > I'm running out of hair to pull out here...
> > >
> > > My ultimate goal is to server dynamically generated
> > > PDF documents generated with iText. I've got it working
> > > just fine with MSIE. However, I was just getting blank
> > > pages with Netscape (and it wasn't even showing the toolbar
> > > for Acrobat). With NS6 I could at least see that it started
> > > an AcroRd32.exe process, but NS4 didn't even get that far.
> > >
> > > So, I did some tests to rule out some variables. I grabbed
> > > a handful of pre-generated PDF files and stuck them on
> > > my Apache 1.3.23 server. All browsers could display the
> > > PDFs just fine.  Then I set up Tomcat 4.0.3 to server the
> > > same files directly without going through Apache. MSIE worked,
> > > but both NS browsers gave a blank page with no Acrobat plugin
> > > toolbar. Again NS6 managed to start an Acrobat process, NS4
> > > didn't.
> > >
> > > My production environment is Apache 1.3.23 and Tomcat 4.0.3
> > > connected with mod_jk.
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <mailto:tomcat-user-help@jakarta.apache.org>
> > >
> > >
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> <mailto:tomcat-user-> unsubscribe@jakarta.apache.org>
> > For 
> additional commands, 
> e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message