cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beyaNet Consultancy <beya...@ntlworld.com>
Subject reading binary stream into xsp page
Date Thu, 12 Feb 2004 00:48:36 GMT
Hi,
I have the following code in my xsp page:

byte[] binImg = newArt.getArtistPhoto1();

I now want to display this stream in the page like so:

<xsp:expr>binImg</xsp:expr>

but am getting, as expected, casting errors. What do i need to do to 
display the contents of this stream, which was a simple txt file read 
into postgresql as a byte array? Any help with this issue will be most 
appreciated.


many thanks in advance
Mime
View raw message