
JSTL(JSP Standard Tag Library)
JSTL 라이브러리를 다운받아 사용해야 한다.
<%@ taglib prefix="접두사" uri="URI" %>
| 태그 | 선언문 |
|---|---|
| Core | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
| Functions | <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> |
| Formatting | <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
| SQL | <%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %> |
| XML | <%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %> |