Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- mysqldump: Got error: 1045
- (using password: YES)" when trying to connect
- postfix 설치
- 윈도우 mod_security2
- sha-2 root
- html pdf 변환
- 유튜브 플레이 리스트 저장
- 숫자 3자리(천단위) 마다 콤마 찍기
- 비밀번호검증정규식
- mod_security2 설치
- wsl2 우분투에 docker 설치
- thumbnail 클래스
- 파라미터 & 오류
- apple push notification service (apns) is changing
- usb efi 시스템 파티션 삭제
- 비밀번호정규식
- PHP 정규식 예제
- mariadb upgrade
- php 배열제거
- PHP 구글 OTP 연동
- 자바스크립트비밀번호검증
- modsecurity 설치
- group_concat 구분자
- bootstrap modal
- 아파치 웹 서버의 정보 숨기기
- bootstrap
- javascript
- httpd.conf 보안 설정
- 윈도우 환경 아파치 mod_security2 설치
- php 이미지 url 검증 함수
Archives
- Today
- Total
투덜이 개발자
JSTL 비교 연산자 본문
반응형
JSTL 비교 연산자
== is JSTL eq
!= is JSTL ne
< is JSTL lt
> is JSTL gt
<= is JSTL le
>= is JSTL ge
예
//eq ==
<c:if test="${null eq testData}">내용</c:if> // null
<c:if test="${0 eq testData}">내용</c:if> // 숫자
<c:if test="${'0' eq testData}">내용</c:if> // 문자
//ne !=
<c:if test="${null ne testData}">내용</c:if> // null
<c:if test="${0 ne testData}">내용</c:if> // 숫자
<c:if test="${'0' ne testData}">내용</c:if> // 문자
반응형
'Program Language > JSP & JSTL' 카테고리의 다른 글
# <%@ include file="" %> <jsp:include> <c:import> 차이 (0) | 2023.02.17 |
---|---|
JSTL 에서 Java 함수 호출 (0) | 2022.12.07 |
JSP에서 현재 경로 출력 (0) | 2022.10.20 |