标签: jsp
收到的控制器列表。如何检查它是否为空,然后显示一些信息,否则跳过show。
<c:forEach items="${itemList}" var="item">
答案 0 :(得分:1)
<c:if test="${!empty itemList}"> the list is neither empty nor null </c:if>