Thanks a lot it works.

----------------------------------------------------------------------------

As of February 12th, 2003 Thomson unifies its email addresses on a worldwide
basis. 
Please note my new email address: [EMAIL PROTECTED] 

http://www.thomson.net/ 

----Original Message-----
From: Nicolas Pottrain [mailto:[EMAIL PROTECTED]
Sent: 03 April 2003 11:03
To: 'Struts Users Mailing List'
Subject: RE: How can one define a hypertext link on an image ?


try putting the image between the link tags, like this
<html:link href="login.do">
        <img src="<%=request.getContextPath()%>/images/Compagny.gif"
border="0" align="right"/>
</html:link>

-----Original Message-----
From: Heligon Sandra [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 11:01 AM
To: '[EMAIL PROTECTED]'
Subject: How can one define a hypertext link on an image ?
Importance: High



        How can I associate a link (call to an action) to an image with the
Struts tags ?

        I tried 

        <td width="100%" valign="top" bgcolor="#CCCCCC">
              <div>
                        <img
src="<%=request.getContextPath()%>/images/Compagny.gif" border="0"
align="right"/>
              </div>
            </td>

        but it dosen't work, the image is displayed but any link is
available.
        Is it possible to access images that are not located within the
application directory ?

        Thanks a lot in advance

----------------------------------------------------------------------------

As of February 12th, 2003 Thomson unifies its email addresses on a worldwide
basis. 
Please note my new email address: [EMAIL PROTECTED] 

http://www.thomson.net/ 


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

Reply via email to