cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beyaNet Consultancy <>
Subject reading binary stream into xsp page
Date Thu, 12 Feb 2004 00:48:36 GMT
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:


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 

many thanks in advance
View raw message