As sheldon adviced u can go for a jsp expression ..nad using <bean:wriet wont work as nested struts tags wont work in struts.............attributes should be an caluculated expression r it should be string