Dear Paulo,

first of all, you need to make a jsp page (like photo.jsp) which will be
like this in your display page

<html:img src="photo.jsp?ID=3">

the photo.jsp will need to make the contentType to img/jpeg or any typem
extract the BLOB field from database and flush the content.

Regards,

zaid

----- Original Message ----- 
From: "Paulo Rezende" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, May 26, 2004 4:57 PM
Subject: How to renderize a image?


Friends,

I have a image in Oracle Blob field and i want to renderize it my jsp. Do I
need to use <hmtl:image> or <html:img> or this is not the way? My form
property is a Blob, but i guess that this tags dont support this class,
seemingly they support only a Map. Really I'm helping a friend, and I thank
so any help... Anybody could show me the way?

tks, Paulo


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

Reply via email to