I think there are two problems:  One, IE wants to know
the size of the PDF as you send it.  This means you
can't write your PDF directly to your
ServletOutputStream.  You have to write to a
ByteArrayOutputStream so that you can set the stream
size on your ServletOutputStream.  The second problem
is that IE sends something like three requests, so you
have to check the headers of the request to find out
whether the entire document is actually being
requested.  The first time I think it is requesting
the content type because this is how it determines
that the Acrobat plugin should be the target for the
file.

-Matt

--- David Thielen <[EMAIL PROTECTED]> wrote:
> Hi;
> 
> I know this has been asked & answered before but I
> never looked at those e-mails before.
> 
> What's the scoop on the problem with IE displaying a
> pdf file and what's the work-around?
> 
> thanks - dave


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to