On 15.10.2004 11:21, Bertrand Delacretaz wrote:

...I am trying to display a pre-generated PDF file in Cocoon; so I am not using the FOP stuff. I have a Java generator that loads the PDFs from a database and holds it as a byte array (byte[])...


To serve binary data you need a Reader, not a Generator. I *think* there is a BLOB reader or something similar in Cocoon, but don't have the details here.

It's the DatabaseReader I think you have in mind: http://cocoon.apache.org/2.1/userdocs/readers/database-reader.html.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to