The issue here is the <bean:write> when you change the <a> to an <html:link>. If you're using the EL version of the Struts html taglib, you could do something like:
<html:link href="javascript:deleteStatus ( ${counter} )"> <html:img border="0" src="images/icon_delete.gif" alt="Delete"/> </html:link> -----Original Message----- From: Velmurugan M [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 8:22 PM To: [EMAIL PROTECTED] Subject: Nesting of one tag within another. Can someone mail me how to convert this piece of code in to Html:link. <a href="javascript:deleteStatus ( <bean:write name="counter"/> )"> <html:img border="0" src="images/icon_delete.gif" alt="Delete"/> </a> Struts tag should not be nesting another struts tag. Regards, Velmuruganm "The sender believes that this E-Mail and any attachments were free of any virus, worm, Trojan horse, and/or malicious code when sent. This message and its attachments could have been infected during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for taking proactive and remedial action about viruses and other defects. The sender's business entity is not liable for any loss or damage arising in any way from this message or its attachments." --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]