Re: How to renderize a image?
Yes, nathan. A action is so bettet than a servlet or a jsp. But are this the only way? tks, Paulo - Original Message - From: "Nathan Maves" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, May 26, 2004 10:16 AM Subject: Re: How to renderize a image? > you can use whatever image tag you want. The real catch is that you > will need and action that pulls the info from the db and writes it to > the OutputStream in the response. The have the execute method return > null. > > You might end up with a tag that looks like... > > " > > > This is if you use jstl otherwise > > > > might work but I am not sure. > > > nathan > > On May 26, 2004, at 6:57 AM, Paulo Rezende wrote: > > > Friends, > > > > I have a image in Oracle Blob field and i want to renderize it my jsp. > > Do I need to use or 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]
Re: How to renderize a image?
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 > > > > 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 or 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]
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 or 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
html:text with format property
Hi friends, Anybody knows any tag like html:text that has a format property? tks, Paulo
Formatting date values
Hi friends, My ActionForm has a Date property. First I need to renderize it formatted. Since the html:text has no format property, i did this: "> Another way? Second I need to submit the value inserted in the html:text by user, to this same Date property. But when i submit the page, de BeanUtils.populate throws a error, because it can not do the automatic conversion from String to Date. How it could be done automatically? tks, Paulo Marcio