Actually for my current requirement, that is the easiest and cleanest
"hack". It's not pretty but it is the best solution for my requirement.

Thanks.

> -----Original Message-----
> From: Russ White [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 20, 2001 2:22 PM
> To: Orion-Interest
> Subject: RE: Sending a PDF via a servlet to IE 5
> 
> 
> One fix I have found is to construct your url in a way the it end with
> ".pdf" for example http://www.apes.com/test.jsp?target=test.jsp
> 
> This is of course clunky and awfully ugly, but it works.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of 
> Mike Hoolehan
> Sent: Tuesday, February 20, 2001 1:00 PM
> To: Orion-Interest
> Subject: Re: Sending a PDF via a servlet to IE 5
> 
> 
> Damian,
>     my company ran into the same problem constructing pdf 
> files through a
> perl script.  The problem is with IE5, specifically the 
> manner in which it
> attempts to detect the content type of server output.  The 
> content-type mime
> header is unfortunately one of the last things it peeks at.  Check out
> article ref Q262213 on Microsoft's knowledge base.  We've 
> collected a list
> of related (and perhaps more pertinent.. I'm away from my 
> office right now)
> articles.  Email me directly if you want more detail.
>     Oh, there's no fix we ever found, by the way.  We could 
> never pinpoint
> any exact version of IE or Windows that caused the problem.  
> Sometime an IE
> upgrade worked, sometimes not.  We were left with "Click here 
> for an html
> version," "Click here to have a pdf copy emailed to you", "Please use
> Netscape", etc.
>     If you find a fix, let me know!
> 
> Mike Hoolehan
> Sycamore Associates, Inc.
> [EMAIL PROTECTED]
> 301.668.4681x103
> 
> On Mon, Feb 19, 2001 at 02:51:20PM -0500, Van Dooren, Damian wrote:
> > Has anyone encountered an issue with sending a PDF back to IE 5?
> >
> > Here's my situation. I generate a PDF dynamically then store it in a
> > database. I then retrieve the PDF from the DB via a servlet 
> that sets the
> > mime-type then outputs to the response stream. This works fine with
> Netscape
> > and IE 5.5 but with  IE 5 it displays an (mostly) empty 
> page with a cube
> > icon on it (looks like an ActiveX icon). When you click on 
> the icon it
> pops
> > up a dialog saying "Error Locating Object Handler". If I 
> request a static
> > PDF IE 5 display that fine. So I'm assuming I'm not setting 
> something on
> the
> > response properly. Any one hae any ideas?
> >
> > -----
> > Damian Van Dooren
> > Information Technology
> > The Investment Centre
> > (519) 672-4389 x718
> >
> 
> 
> 

Reply via email to