At first glance you've got some quote problems, and I think you want an
img tag, not a input type=image tag. Try this:
<html:link href="javascript:click('customer')"><html:img
src="../../customer.gif" property="custImage"/></html:link>
-----Original Message-----
From: vasudevrao gupta [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 9:15 AM
To: 'Struts Users Mailing List'
Subject: RE: Images as links in struts
This is how I have given...
<html:link href="javascript:click('customer')><html:image
page="../../customer.gif" property='custImage"/></html:link>
But its not working...
Regards
VasudevRapGupta
-----Original Message-----
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: 14 January 2004 19:31
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Images as links in struts
Just do the normal thing? Put an image tag in the body of a link tag.
http://jakarta.apache.org/struts/userGuide/struts-html.html#link
"The content displayed for this hyperlink will be taken from the
body of
this tag."
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Confidentiality Notice
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain confidential or privileged information. If you are not
the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately and destroy all copies of this message
and any attachments.
---------------------------------------------------------------------
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]