<c:if>判断参数是否为空

时间:2016-01-25 18:45:45   收藏:0   阅读:180
<c:if test="${empty str}">  str为空</c:if>
<c:if test="${not empty str}"> str不为空</c:if>

 

原文:http://www.cnblogs.com/zhujiabin/p/5157863.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!