cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <coc...@leverageweb.com>
Subject Re: Serving arbitrary OutputStreams with Cocoon
Date Tue, 13 Apr 2004 16:15:34 GMT
Oscar Picasso wrote:

> Hi,
> 
> I have a Java application that can generate Postscript or PDF to OutputStreams.
> I would like to be able serve these OutputStreams with Cocoon.
> 
> I have looked at ReaderResource but it seems to read resources from the file
> system.
> 
> I also looked at implementing a Serializer but it needs to handle SAX events
> which is not the case here.
> 
> I could also simply do it outside Cocoon by using the Servlet API but I would
> prefer to stay inside Cocoon.
> 
> Any idea? 
> 
> Thanks.
> 
> Oscar

Implement a custom Reader, similar to ResourceReader and the other Readers such 
ImageReader, DatabaseReader in the database block, etc.

Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message