write a servlet that will get the image from the db then writes it to the
servletoutputstream

Then inside your html page in the src of your image tag call the servlet

-----Original Message-----
From: Naresh Sharma [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 26, 2000 2:17 PM
To: [EMAIL PROTECTED]
Subject: How to display BLOB


HI Friends,

first of all, excuse me as i am asking a question
which is not directly related to EJB.

        I am using SQL server 7 as the database and i need to
store the image file in the database, its fine to
store the image file as the BLOB in the database but i
don't know how to display the BLOB as the image file
on the web page.

thanks in advance
Naresh

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to