Hi Anuradha try using el.I mean you may use struts-html-el.tld and it will be a lot easier. For e.g.
<html-el:link href="javascript:CancelX('${beanname.property}')" so the $ will indicate that beanname.property has to be evaluated.You will need jstl.jar,standard.jar and struts-el for this. Warm Regards Anuradha