大家在使用struts标签库里的<logic:iterate 标签时,不知道有没有发现其属性可以这样写:
name="<%=new String("name")%>"
可以写java scriptlet代码。
但是我自己在定义标签时,这样写就会报错,请牛人指点下。