Ex) eq (==)

1. <c:if test="${ null eq test_column }"> // null

2. <c:if test="${ 0 eq test_column }"> // 숫자

3. <c:if test="${ '0' eq test_column }"> // 문자

 

Ex) empty

= <c:if test="${ empty test_columnMap }"> // list, map 객체 등

= <c:if test="${ !empty test_columnMap }"> // 비어 있지 않은 경우

 

Ex) ne (!=)

1. <c:if test="${ null ne test_column }"> // null

2. <c:if test="${ 0 ne test_column }"> // 숫자

3. <c:if test="${ '0' ne test_column }"> // 문자

'JSP' 카테고리의 다른 글

JSP에서 엑셀 다운로드 기능 구현  (0) 2019.11.19

+ Recent posts