Tony Akocs wrote:
> I display the consolidated documents in a browser in a ServletOutputStream.

OK, but you use the workaround for MSIE, do you?
In that case you create a ByteArrayOutputStream first.

> I do not have a byte[ ], just the Document object

I think we are talking a different language.
Do you know the difference between the Document object
and PdfWriter? You could have two PdfWriters listening
to the same document, one that sends bytes to the
ServletOutputStream, and one that writes bytes to
a ByteArrayOutputStream, but in this case, that's just
silly. Use he workaround described in the tutorial.
That way you can use the same byte[] twice (send it
to the ServletOutputStream, and keep it in memory for
later use).

> Here is what I would like to do
> I generate the PDF Document, then place the Document in a java.util.List.
> After I am done populating the List with PDF Documents.
> I want to iterate through the list and combine them into one
> Document and then display this one document to the user in a brower.
>  
> Is this possible?

Yes, it's easy if you follow the instructions I have given you
earlier.
br,
Bruno

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to