Skip to content
- 참조 : https://velog.io/@ye050425/JSP-JSTL-%EC%A0%95%EB%A6%AC
- 정의 : JSP 개발을 단순화하기 위한 태그 라이브러리
- 장점
- 빠른 개발 -> JSP를 단순화하는 많은 태그를 제공
- 코드 재사용성 -> 다양한 페이지에서 JSTL 태그 사용
- 스크립틀릿 태그를 사용할 필요가 없음
- JSTL 태그
- core tags : 변수 지원, URL 관리, 흐름 제어 등을 제공,
- URL : http://java.sun.com/jsp/jstl/core
- 접두사는 : c
- <%@ taglib uri=”http://java.sun.com/jsp/jstl/core” prefix=”c” %>
- function tags : 문자열 조작 및 문자열 길이를 지원,
- URL : http://java.sun.com/jsp/jstl/functions
- 접두사 : fn
- <%@ taglib uri=”http://java.sun.com/jsp/jstl/functions” prefix=”fn” %>
- formatting tags : 메시지 형식화, 번호 및 날짜 형식화 등을 지원,
- URL : http://java.sun.com/jsp/jstl/fmt ,
- 접두사 : fmt
- <%@ taglib uri=”http://java.sun.com/jsp/jstl/fmt” prefix=”fmt” %>
- XML tags : 흐름 제어, 변환 등을 제공,
- URL : http://java.sun.com/jsp/jstl/xml ,
- 접두사 : x
- <%@ taglib uri=”http://java.sun.com/jsp/jstl/xml” prefix=”x” %>
- SQL tags : SQL 지원을 제공,
- URL : http://java.sun.com/jsp/jstl/sql ,
- 접두사 : sql
- <%@ taglib uri=”http://java.sun.com/jsp/jstl/sql” prefix=”sql” %>
- …
- …
error: Content is protected !!