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

Reply via email to