2014년 9월 23일 화요일

jstl c:if

c:if 에서 자주 쓰는 것들

eq
<c:if test="${null eq test}" >
<c:if test="${숫자 eq test}" >
<c:if test="${'문자' eq test}" >


ne( != )
<c:if test="${null ne test}" >
<c:if test="${숫자 ne test}" >
<c:if test="${'문자' ne test}" >


empty
<c:if test="${empty test}" >
<c:if test="${!empty  test}" >

댓글 없음:

댓글 쓰기