You can't do it using it in a JSP because a JSP cannot output binary data.

Regards,

Richard

At 05:00 PM 11/29/2001 -0800, you wrote:
>yeah ..
>I already have a imange stored at table
>and I got some advice to display it using servlet
>but that i wanna do is display it using jsp.
>but i don't know how ..
>
>thx
>dwi nugroho
>
>
> > -----Original Message-----
> > From: I Wayan Saryada [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, November 29, 2001 7:16 PM
> > To:   [EMAIL PROTECTED]
> > Subject:      Re: display image from table
> >
> > Hi,
> >
> > You can create a servlet that read your image
> > BLOB from database, the write it to the HttpServeltResponse
> > output stream. Before writing it to the output stream be
> > sure to set the content type to the type of image that
> > you store on the database ("image/gif"), etc.
> >
> > regards,
> > wayan
> >
> >
> > -----Original Message-----
> > From: Dwi Nugroho [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, November 29, 2001 10:52 AM
> > To: [EMAIL PROTECTED]
> > Subject: display image from table
> >
> >
> > Hello ..
> > How to display image stored at BLOB table as a thumbnail please ...
> >
> > dwi nugroho
> > www.unocal.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://archives.java.sun.com/jsp-interest.html
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> >  http://www.jguru.com/faq/index.jsp
> >  http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> >  http://www.jguru.com/faq/index.jsp
> >  http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to