cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: Howto drive response payload directly
Date Tue, 26 Oct 2004 06:54:21 GMT
Mark Lundquist wrote:
> Hi,
> 
> I have a Java object persisted using Hibernate... it contains an image 
> (java.sql.Blob) that I need to serve. I can get the object in 
> flowscript, now I just need to stream out this data (e.g. 
> "image.getBinaryStream()"). How can I do this?
> 
> Thanks,
> /~ml
> /
I think you should implement a Reader or a new Source.

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
Project Manager                                    MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

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


Mime
View raw message