웹프로그래밍/Javascript|JQuery|Jsp
JSTL null , equal
Seras
2017. 10. 20. 17:19
반응형
JSTL null , equal
간단하다... eq (equal) ne (not equal) 로 보면된다...
<c:choose>
<c:when test="${item.productName == '' or item.productName ne null}">
<c:out value="${item.productName}"/>
</c:when>
<c:otherwise>
<c:out value="품명누락"></c:out>
</c:otherwise>
</c:choose>
반응형