you first have convert the BLOB to a jpg or gif for browsers to handle. how well
that's done depends on the complications of the image itself.
check out Jason Hunter's http://www.servlets.com/ particularly
http://www.servlets.com/jsp/examples/ch06/index.html
and  http://www.servlets.com/jsp/examples/ch06/index.html#ex06_03
look over the code, get the libraries (forgot who wrote them right now)
and you'll see what i mean

ejf

Lehner Steven wrote:

> Hi,
>
> Is it possible to retrieve an image, stored as a BLOB in an Oracle 8i database,
> directly to a web page using JSP and without having to first save as a temporary
> file? Has anyone managed to get this working and could maybe give me some
> pointers? A code snippet would be fantastic.
>
> Many thanks,
>
> Steve
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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".
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