Re: [iText-questions] fill PDF Form on the fly

2008-01-25 Thread Sarah1
You're right. I got it. Thanks! Sarah Xavier Le Vourch wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Sarah1 wrote: > | Dear itext friends: > | > | I need help: > | > | [...] > | 4. I DON'T want to save the pdf form with data on the disk. > | > | I'm using servlet, jsp, struts

Re: [iText-questions] fill PDF Form on the fly

2008-01-25 Thread Bruno Lowagie
Sarah1 wrote: > After doing some research, I use the following in my struts, but I got blank > page on browser. > Anybody know why? Please save the 'blank' PDF and open it in a plain text editor. What do you see? Are there a large amount of question marks in the content streams? If so, the BINARY

Re: [iText-questions] fill PDF Form on the fly

2008-01-24 Thread Sarah1
After doing some research, I use the following in my struts, but I got blank page on browser. Anybody know why? try { PdfReader reader = new PdfReader("C:/_JBuilder2005Webs/"+protocolname+"_"+frm+"_"+ver+".pdf"); ByteArrayOutputStream baos = new ByteArrayOutputS

Re: [iText-questions] fill PDF Form on the fly

2008-01-24 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sarah1 wrote: | Dear itext friends: | | I need help: | | [...] | 4. I DON'T want to save the pdf form with data on the disk. | | I'm using servlet, jsp, struts now. The only way I know how to do is, to | save the PDF form file with data on the file sys

[iText-questions] fill PDF Form on the fly

2008-01-24 Thread Sarah1
Dear itext friends: I need help: 1. I have one pdf form file with many fields, I called it pdf form template. The form could be very big. 2. I have many records from database for the pdf form, each record corrsponds to a form. 3. I want to fill the pdf form fields with data, and display it on t