JSTL 判断条码,如果,否则
时间:2014-02-12 01:11:34
收藏:0
阅读:443
1.单个判定
<c:if test="${pproduct_type!=0}"> 如果
测试
</c:if>
<c:choose> <c:when test=‘${p.product_type==1}‘> 如果
<c:otherwise>否则
<font color="#666"> 新品</font></c:otherwise></c:choose>
原文:http://blog.csdn.net/yongweb/article/details/19077877
评论(0)