On Thu, 2004-02-12 at 01:48, beyaNet Consultancy wrote:
> 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>
> 

If this is a textfile try: <xsp:expr>new String(binImg)</xsp:expr>

> but am getting, as expected, casting errors. What do i need to do
> todisplay the contents of this stream, which was a simple txt file
> readinto postgresql as a byte array? Any help with this issue will be
> mostappreciated.
> 
> 
> many thanks in advance
-- 
Eduard Drenth <[EMAIL PROTECTED]>
home sweet home


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to