Hello there,

I having hard time with this problem!! I tried all possible solution i 
found on the iText web site and mailing list as well as solution 
found on other web places!!! .. I cant get to work PDF generated 
using iText and MSIE!! 

Well just to let you know what i have done:

1) PDF File generated with iText 0.50 on a Java Bean called by a 
JSP! It works perfectly on Acrobat Reader 5.0 Client!

2) The Java Bean saved it as file and the JSP  redirect the web on 
the file using javascript . So .. it worked using IIS, but when i 
moved all to Webshpere 3.5 it show me a blank page and after a 
bit of time i got an Acrobat I/O Error.

3) I tried, always on webshpere, to send directly on the output 
stream according with some examples. On the java bean i added a 
method that is called by the JSP. This method read the file (I tried 
few methods using ByteArrayOutputStream, Bufferef Reader etc) 
and return to the JSP byte or String. 
After that the JSP working on the returned value ( Byte or String), 
set the response.contentType e contentSize to "application/pdf" 
and the size of the returned value rispectively. 
At the and of all i use the response.getOutputStream().write and 
flush method to write the file on the OutputStream.
As result of all the file start to be read and after a few i get an 
Acrobar Reader Client saying "The file doesnt start with %PDF-

I hope i has been clear explaining the problem.

Could please some one help me? 

Plese write me at [EMAIL PROTECTED]

Thanks alot in Advance.
Giovanni


_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to