Custom servlet which retrieves data from DB, writes it to the output stream.
It should define correct headers first (mimeType, Expires, Date).
Map it to some url like
 /images/*
and you may pass identifiers by composing URLs like
 /images/<myID>.jpg

Dariusz Wojtas


On 12/18/06, Kranti <[EMAIL PROTECTED]> wrote:
Hi,

How should I read/display image from Database...which is stored interms of
bytes in the Database.

Please suggest me some way to render the image in JSP.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to