Unfortunately not. I already had that code in my servlet
(including the setContentLength and flush calls).
Thank you for trying to help.
Caleb
--- "Gautier, Charles " <[EMAIL PROTECTED]> wrote:
> Here's a piece code of I add, to have pdf files ok in IE:
> // step 5 for MSIE
> if ("pdf".equals(presentationtype)) {
> response.setContentLength(ba.size());
> ServletOutputStream out =
> response.getOutputStream();
> ba.writeTo(out);
> out.flush();
> }
> Hope this helps,
> Charles.
>
>
> -----Original Message-----
> From: Caleb Ciampaglia [mailto:cciampaglia@;yahoo.com]
> Sent: vendredi 15 novembre 2002 18:39
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Re: Regarding servlet with iText in
> IE
>
>
> I am encountering the same error that Anshul Patni is
> encountering. When I try to load the PDF file in IE, I see a
> blank window (not even the empty Acrobat window). We are
> basically calling the same iText code (including making sure
> the
> content length is set). When I view the page source on IE, I
> see the following (after the plug-in loads for Acrobat 5.1):
>
> <html><body leftmargin=0 topmargin=0 scroll=no> <embed
> width=100% height=100% fullscreen=yes src="[URL OF MY CALL TO
> THE PDF]"></body></html>
>
> Also, when I load the PDF from disk (after saving it from the
> servlet), it loads in Acrobat OK.
>
> BTW, I am using WebLogic 7.0 SP1.
>
> Any help is much appreciated!
>
> Caleb
>
> =====
> ------------------------------------------------------------
> "I will not die, its the world that will end."
> -- unknown philosopher
> "Happiness is that state of consciousness which proceeds from
> the achievement of one's values."
> "Civilization is the process of setting man free from men."
> -- Ayn Rand
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: To learn the basics of
> securing
> your web site with SSL, click here to get a FREE TRIAL of a
> Thawte
> Server Certificate: http://www.gothawte.com/rd524.html
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
=====
------------------------------------------------------------
"I will not die, its the world that will end."
-- unknown philosopher
"Happiness is that state of consciousness which proceeds from the achievement of one's
values."
"Civilization is the process of setting man free from men."
-- Ayn Rand
-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions