반응형
1. JSTL이란?
https://lucky-sunyoung.tistory.com/entry/JSP-JSTL-%EC%9D%B4%EB%9E%80-Jsp-Standard-Tag-Library
[JSP] JSTL 이란? (Jsp Standard Tag Library)
1. JSTL 이란 무엇인가? - JSTL 은 Jsp Standard Tag Library(JSP 표준 라이브러리) 로, 프로그래머가 공통으로 사용할 수 있도록 모아놓은 코드 집합체이다. - if문, for문, DB를 편하게 처리할 수 있도록 기능
lucky-sunyoung.tistory.com
2. JSTL Core(c)의 기능
| <c:set> | 변수 선언 | <c:set var="num" value="10"/> ${num} <c:set var="arr"> 월요일, 화요일, 수요일 </c:set> ${arr} |
| <c:out> | 출력 | <c:out value="sunday"/> |
| <c:remove> | 변수값 remove=삭제 | <c:remove var="num"/> |
| <c:if> | if문 | <c:if test=" " /> |
| <c:choose> <c:when> <c:otherwise> | if / else if / else 문 | <c:choose |
| <c:forEach> | 반복문(for문) | <c forEach /> |
| <c:url> | url 주소 생성 | <c:url/> |
| <c:import> | include(import) | <c:import /> |
반응형
'Programming Language > Servlet & JSP' 카테고리의 다른 글
| [JSP] JSTL 이란? (Jsp Standard Tag Library) (0) | 2022.12.16 |
|---|
댓글