JSTL条件判断

来源:互联网 发布:知豆新能源电动汽车 编辑:程序博客网 时间:2024/04/19 15:29
<c:choose>
         <c:when test="${result.content == null }">
                 <td>无</td>
          </c:when>
          <c:otherwise>
                     <td>${result.content}</td>
            </c:otherwise>

</c:choose>


tesult是一个java对象,content是奇属性

0 0