Hi,

I'm using the iText as a part of a web application on a weblogic 7.1 and unix platform.

In the application, I'm taking a PDF file and present it in the browser using ServletOutputStream.

For some reason, an example that worked well in Tomcat 4.1 did not work at the weblogic.

I have tried several options:

1. create the pdf on the fly same as in http://www.onjava.com/lpt/a/3924

2. read an existing pdf to an iText Reader and write it to ServletOutputStream

3. pass the pdf on the session as a byte [ ] (array)  and write it to ServletOutputStream

on each option I received the pdf's code and not the document (%PDF-1.4 %âãÏÓ 2 0 obj <> stream x ...etc')

can anyone help?

Alon

 



Walla! Mail, Get Your Private, Free E-mail from Walla! at:
http://mail.walla.co.il

Reply via email to