bsatyam_guptha
asked on
using html:img struts tag, How can I get the Value attribute.
Hi,
I am using struts html:img tag and setting property, value attributes and How can I get the value set for value attribute.
<html:img property="left" src=" " value="leftclick" />, I have to get the value set for the value attribute.
could you please help me out.
I am using struts html:img tag and setting property, value attributes and How can I get the value set for value attribute.
<html:img property="left" src=" " value="leftclick" />, I have to get the value set for the value attribute.
could you please help me out.
ASKER
I hope you didn't get my question, I knew the tag, but I want to get value attribute which I am assigning to html:image tag.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Forced accept.
Computer101
EE Admin
Computer101
EE Admin
struts <html:img src="..."> is equivalent to html <img src="..."> and does not have attribute "value".
whereas <html:image property="myImg" src="..."> is <input type="image" name="myImg" src="...">
refer http://struts.apache.org/1.x/struts-taglib/tagreference.html#image