Create your cover page in memory. Now you can concatenate two documents:
one created with PdfReader(byte[]) and the other from PdfReader(String).

Best Regards,
Paulo Soares 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Richard Corfield
> Sent: Wednesday, June 23, 2004 12:00 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Concatenating an existing PDF with 
> a new document in a servlet.
> 
> Hi
> 
> I am trying to create a cover sheet dynamically to existing 
> PDFs using a servlet.
> All I want to do is put an extra page at the front of the PDF 
> with some simple text and then stream directly to the browser.
> 
> I can concatenate existing files and then print then to the 
> browser. And I can create new documents, but I'm having 
> trouble doing both at once.
> 
> Would it be possible for someone to post a very simple 
> example of this in action?
> 
> Many thanks
> 
> Richard
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
> digital self defense, top technical experts, no vendor pitches, 
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to