-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

the way I do it:

put the byte[] into the session with a unique name.

write a url into your response page that points to another servlet.noting
that unique name
in that servlet, setContentType for your response to an image content type
and write the byte[] to the output stream.


----------------------------------------------------------------------------
----------------------------------------
Paul I. Dorn
Director of Web Development
Atlantic Internet Technologies,  Inc.
Red Bank, NJ 08731
[EMAIL PROTECTED]
----- Original Message -----
From: Durga Panda <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 06, 1999 11:24 AM
Subject: Re: java-apache-users Digest #548 - 10/05/99


> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> basically the requirement is to show an image which is in a byte[] and
which
> was never in a file ( directly saved on a byte[]  from  upload from
> multipart/form-data and never saved on a file due to i/o response problem
> and name conflict problem) and this byte[] picture is to be displayed on a
> html using an img tag... please let me know how i can display this picture
> directly from the byte arry...
> thanks...
> (panda)...
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
>



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to