I got it Abhiram, Used this styleId="<%="sp" + index%>" index is the indexid from logic:iterator tag Thanks again Also I was getting styleId not using expressions error since yesterday. Figured out this was because I was using struts-html-el.tld instaed of struts-html.tld Now after I corrected that it works fine too Thanks again for your support Maya:
abhiram <[EMAIL PROTECTED]> wrote: i dont know anything about struts 2, but with my 1.2, i have no probs giving dynamic ids. here is an idea. inside ur jsp, keep incrementing a counter for every iteration. give id as styleId=" --------------------------------- Check out the hottest 2008 models today at Yahoo! Autos.