You'll probably have to write a servlet that retrieves the image from the
database and streams it back to the client. Then change your image links in
your JSP to point to the servlet. You can look at some of the file upload
servlets in the Servlet books for how to upload a file to the servlet, then
just insert it into the database as a BLOB.
(*Chris*)
----- Original Message -----
From: "S o l a i R a v i" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 08, 2002 12:55 AM
Subject: [JSP-INTEREST] How to display Image from DB....
> Hi All,
>
> I am using JSP. I have to display the image which is stored in
> Database. Please any one help regarding these following issues:
>
> 1. How to upload(insert) the image from jsp to database.
> 2. How to dispaly the image in jsp from db.
>
>
> Thanks in advance...
>
> Regds
> Ravi.
>
>
===========================================================================
> 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
_________________________________________________________
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://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