struts标签logic:equal

来源:互联网 发布:php echo数组 编辑:程序博客网 时间:2024/05/21 07:56
如下例:
 <logic:equal name="map" property="key" value="${list.moduleId}">
      <td>     
          <html:multibox property="powersId" value="${list.powerId}">
          </html:multibox>
          <bean:write name="list" property="powerChinese"/>
     </td>
 </logic:equal>
 如果map的属性key值为${list.moduleId},则执行:
     <td>     
          <html:multibox property="powersId" value="${list.powerId}">
          </html:multibox>
          <bean:write name="list" property="powerChinese"/>
     </td>
原创粉丝点击