OK I am using PDFStamper to update fields on a existing PDF template with 
fields.  These are then pushed to the web dynamically via servlet.  That is all 
good.  Here is my issue.  Sometimes, the user may have the same document with 
different values.  It may be 2 or 4 or 5.  It is random based on the number of 
records in the database.

How can I append all of the docs to the same servlet output?  With one record 
it works great but Stamper just overlays the last record and only brings back 
one document.  

I am trying to use PdfCopyFields but I get the error returned:  

SystemErr  R com.lowagie.text.DocumentException: The document was reused.

SystemErr  R    at com.lowagie.text.pdf.PdfCopyFieldsImp.addDocument(Unknown 
Source)

SystemErr  R    at com.lowagie.text.pdf.PdfCopyFields.addDocument(Unknown 
Source)

Not sure what the error is telling me either although it has something to do 
with the reader changning?

Any help on the issues above, would be greatly appreciated.

Thanks,
Jason



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to