我以前也遇到过类似的问题-
这是属于标签嵌套的东西
而struts好象是不支持嵌套的-
后来没有办法
只好用自定义tag来实现了
当然也可以将html和strutc混合使用了
但是那样将会引入一些JAVA code到也面中

解决方案 »

  1.   

    嵌套似乎也是可行的。比如:
    <logic:iterate id = "item" name ="grouplist">
    <bean:write name = "item" property = "groupName"/>
    <liteon:module groupKey="3"/>
    <logic:iterate id = "item" name ="modulelist">
    <bean:write name = "item" property = "moduleName"/>
    </logic:iterate> 
    </logic:iterate> 只是好象没法
      

  2.   

    只是好象没有办法将
    <bean:write name = "item" property = "groupName"/>这个值传出来?有人可以将<bean:write name = "item" property = "groupName"/>这个值赋给一个
    普通的Java变量吗?
      

  3.   

    <bean:difine id="" name ="item" property="groupName" type"java.lang.string"/>
    type 是id的类型