Yes, of course..... Thx.... :)

BTJ

Matthias Stoll wrote:
Hi Bjorn

You should use the <html:img> tag. the <html:image> tag renders an "input" tag of type "image" (<input type="image"...) which automacially will result in a submit on click. the img tag renders an <img src=""....> tag, which is what you need.

greets
__
Matthias Stoll
hpi GmbH
Application Development
Web site: http://www.hpigmbh.com



Bjørn T Johansen <[EMAIL PROTECTED]> 14.12.2004 12:50
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>



To Struts Users Mailing List <[EMAIL PROTECTED]> cc

Subject
html:image?






I have an image in my jsp page, that acts like a button when I click on the image, why is that? It creates a request to my action object, but this is not what I want... Clicking on the image, should do nothing.
How do I fix this?


The code in my jsp looks like this..:

<html:image value="Chart" src="<%= (String)imgFile %>" />


Regards,

BTJ


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



Reply via email to