Zaid, It's a way but I really dont like it. If I copy all the fields of a table to properties of the form, why i dont can copy also the image to a Blob in the form and use it? Do I need to create another connection with db and run another sql only to get the image?
tks, Paulo ----- Original Message ----- From: "Zaid" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, May 07, 2004 10:14 AM Subject: Re: How to renderize a image? > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]