Hi, 
I am very new in struts and facing a problem now. Please help. 
What I want to do is when user click a image, it will link to yahoo.com
which is defined as link.yahoo in the config property 
file. How can I approach this? 
After it generate the html source codes, it will be like
<a href="http://www.yahoo.com";><img src="../images/yahoo.gif"
alt="Yahoo"></a>

Right now, I am doing a wrong way to combine struts and html even though
it's working fine. 
--in property file--
link.yahoo=<a href="http://www.yahoo.com"/>
image.yahoo=../images/yahoo.gif
image.yahoo.alt=Yahoo
--in jsp --
<bean:message key="link.yahoo" />"><html:img srcKey="image.yahoo"
altKey="image.yahoo.alt" /></a>

CONFIDENTIALITY NOTICE:  The information in this e-mail is privileged and
confidential.  Any use, copying or dissemination of any portion of this
e-mail by or to anyone other than the intended recipient(s) is unauthorized.
If you have received this e-mail in error, please reply to sender and delete
it from your system immediately.

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

Reply via email to