> I create pdf files with FOP through Cocoon, which works fine. Now, in the same > response, I have to append one or more static pdf files, which are on the > server, to the created one. How can I manage this in Cocoon? > > My idea was to use iText. I have tried to write an xsp that would call > com.lowagie.tools.concat_pdf, unsuccesfully.
I wrote a custom sitemap action to concatenate PDF's (using iText) and it worked fine. So I see no reason that you shouldn't be able to do some thing similar in an XSP. You might want to write a small, standalone test Java program that concatenates your PDF's from the command line (rather than inside Cocoon/XSPs) just to make sure that you are using iText API calls correctly. iText is quite powerful and can do some wonderful things with PDF files, but the API is not very well documented nor is it very intuitive. Andrzej Jan Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
