I am having similar issues with IE, running WebSphere on AS/400.  Seems to
work fine with Netscape.  After some testing, I was able to determine that
this is only an issue for me when trying to return the PDF from a doPost().
If I copied all my code into the doGet() everything worked fine.  To make
sure this was not an iText issue, I copied a PDF that was not created by
iText and put it on the server and tried the POST & GET.  Only the GET
worked.  At least this was the case when running WebSphere on an AS/400.
When testing from an NT box both POST & GET worked fine...



|---------+------------------------------------------->
|         |           Caleb Ciampaglia                |
|         |           <[EMAIL PROTECTED]>         |
|         |           Sent by:                        |
|         |           [EMAIL PROTECTED]|
|         |           ceforge.net                     |
|         |                                           |
|         |                                           |
|         |           11/15/2002 11:39 AM             |
|         |                                           |
|---------+------------------------------------------->
  
>-----------------------------------------------------------------------------------------------|
  |                                                                                    
           |
  |        To:      [EMAIL PROTECTED]                              
           |
  |        cc:                                                                         
           |
  |        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






-------------------------------------------------------
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

Reply via email to