当前位置: 代码迷 >> Web前端 >> El表达式中可不可以进行按位与运算
  详细解决方案

El表达式中可不可以进行按位与运算

热度:98   发布时间:2012-11-05 09:35:12.0
El表达式中能否进行按位与运算

El表达式中能否进行按位与运算

例如

<c:forEach items="${agentPopedoms}" var="item">
      <input type="checkbox" name="id" value="${item.agentPopedomValue }" ${item.agentPopedomValue & agent.agentPopedomValue>0? "checked":""} />${item.agentPopedomName }
  </c:forEach>

agent是一个对象?

1 楼 465886163 2010-09-27  
求解,谢谢大侠们