<c:if test="${testList.size() != 0 }"> testList.size() !=0 </c:if> <c:if test="${not empty testList }"> testList not empty </c:if> <c:if test="${fn:length(testList) > 0 }"> fn:length(testList)>0 </c:if>