You can output it directly in browser.

  ByteArrayOutputStream byteStream=new ByteArrayOutputStream(512);
  byteStream.write(Image);   //      Image  is image byte.
  response.setContentType("image/jpeg");
  response.setContentLength(byteStream.size());
  byteStream.writeTo(response.getOutputStream());

Hope this helps....
Amy




----- Original Message -----
From: "kishore" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 12, 2001 1:40 PM
Subject: Dynamic Image Problem


> i am dealing with dynamic imaging project.i get raw data from client machine
> and create dynamic JPEG  file.i do not want to create JPEG file because it
> writes into server hard disk.IS THERE ANY WAY TO SHOW  A DYNAMIC IMAGE TO
> CLIENT WITHOUT WRITING ANY THING INTO SERVER HARD DISK.
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to