Re: reading binary stream into xsp page

2004-02-12 Thread beyaNet Consultancy
Eduard, I tried your recommendation and it worked partly but the output to the screen is incorrect. I am getting #0;t#0;h#0;i#0;s#0; written to the screen instead of plain text with out the #0; being written to the screen as well. How do I deal with this? And if the output stream was an image or

Re: reading binary stream into xsp page

2004-02-12 Thread Leszek Gawron
On Thu, Feb 12, 2004 at 09:22:29AM +, beyaNet Consultancy wrote: Eduard, I tried your recommendation and it worked partly but the output to the screen is incorrect. I am getting #0;t#0;h#0;i#0;s#0; written to the screen instead of plain text with out the #0; being written to the

Re: reading binary stream into xsp page

2004-02-12 Thread Eduard Drenth
On Thu, 2004-02-12 at 10:22, beyaNet Consultancy wrote: Eduard, I tried your recommendation and it worked partly but the output to thescreen is incorrect. I am getting #0;t#0;h#0;i#0;s#0; written tothe screen instead of plain text with out the #0; being written tothe screen as well. How do I

AW: reading binary stream into xsp page

2004-02-12 Thread Marco Rolappe
] Betreff: Re: reading binary stream into xsp page lg, you have not understood what I am doing. I am reading a byte[] field from postgreSQL into my xsp page: Artist newArt = new Artist(); byte[] binStream = newArt.getArtistPhoto1(); What I simply want to know is this, how do I render

Re: AW: reading binary stream into xsp page

2004-02-12 Thread beyaRecords - The home Urban music
Marco, On 12 Feb 2004, at 10:41, Marco Rolappe wrote: you can of course have that URL be handled by an XSP that emits the data you get from the db as e.g. a gif image (image/gif), if it was a gif stream. how so I do the above? Do you have any example code I can see? many thanks in advance

AW: reading binary stream into xsp page

2004-02-12 Thread Marco Rolappe
. Februar 2004 11:50 An: [EMAIL PROTECTED] Betreff: Re: AW: reading binary stream into xsp page Marco, On 12 Feb 2004, at 10:41, Marco Rolappe wrote: you can of course have that URL be handled by an XSP that emits the data you get from the db as e.g. a gif image (image/gif), if it was a gif

reading binary stream into xsp page

2004-02-11 Thread beyaNet Consultancy
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

Re: reading binary stream into xsp page

2004-02-11 Thread Eduard Drenth
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:exprbinImg/xsp:expr If this is a textfile try: xsp:exprnew