码迷,mamicode.com
首页 > Web开发 > 详细

jstl

时间:2017-04-19 09:23:03      阅读:180      评论:0      收藏:0      [点我收藏+]

标签:stl   htm   jstl   item   pre   html   字符串   判断   ase   

  1. jstl判断字符串为空

    

                    <c:choose>
                        <c:when test="${item.disease_def == ‘‘} ">
                            <p>暂无。</p>
                        </c:when>
                        <c:otherwise>
                            <p>${item.disease_def }</p>
                        </c:otherwise>
                    </c:choose>

 

jstl

标签:stl   htm   jstl   item   pre   html   字符串   判断   ase   

原文地址:http://www.cnblogs.com/runs/p/jstl.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!