jstl判段對象是否爲空

1.便籤庫引入:java <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>jsp 2. 元素對象user.net <c:if test="${empty user}">爲空</c:if>對象 <c:if test="${!empty user}">不爲空</c:if>blog   固然也能夠寫成jade <c:if te
相關文章
相關標籤/搜索