Why aren't you just using a regular anchor for the outer link?

<a href="mailto:<mytag:map name="it" key="email"/>"></a>


--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
678.910.8017
AIM:jmitchtx




> -----Original Message-----
> From: deepaksawdekar [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 20, 2003 1:49 AM
> To: Struts Users Mailing List
> Subject: mailto in html:link
> 
> 
> I want to send a email on click of some icon.
> I am doing this by using mailto in <html:link> tag, email id 
> has to be get from a property of bean,
> jsp is as follows 
> ......
> <html:link href="mailto:<mytag:map name="it" 
> key="email"></mytag:map>"></html:link>
> ............
> mytag is a customised tag to get a value of key from hashmap.
> 
> When i try the above i got the error
> org.apache.jasper.JasperException: 
> /pages/myContact.jsp(46,88) equal symbol expected
> 
> Am i doing something wrong. Is there any better way to do this..
> 
> 
> TIA,
> Deepak        
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to