<c:if>标签判断是否为空

<c:if test="${not empty feeType}">  注意:大括号外面不能为空。
${orderNo.ethdOriginalOrderNo}
</c:if>

<c:if test="${empty str}">  str为空</c:if>

<c:if test="${not empty str}">  str不为空</c:if>

posted @ 2016-12-19 16:35  21heshang  阅读(8567)  评论(0编辑  收藏  举报