el表达式判断是否相等

<c:if test="${order.baofang eq 0 }">
无包间
</c:if>
<c:if test="${order.baofang eq 1 }">
包间
</c:if>

<c:if test="${flag eq 'me'}">
is ${flag }
</c:if>

posted @ 2015-08-07 11:53  ordinary01  阅读(609)  评论(0编辑  收藏  举报