programming/jstl

[jstl] c:choose c:otherwise 선택하기

labj 2013. 8. 22. 16:23
[jstl] c:choose c:otherwise 선택하기

 


<c:choose>
 <c:when test="${fn:substring(param.menuCode,0,2) == '02' || fn:substring(param.menuCode,0,2) == '04'}">
  좋아요
 </c:when>
 <c:otherwise>
  다르군요
 </c:otherwise>
</c:choose>

 

[jstl] c:choose c:otherwise 선택하기