JSTL : JSP Standard Tag Library<%@ taglib prefix="별칭" uri="tld경로"%>
core : if(단독) choose ~ (when + otherwise)(분기) forEach(횟수기반, 반복객체) set(var 생성)formatting sql : mvc 패턴에서 쓸 일 없음xml EL : Expression Language<c:forEach items="반복 대상 객체" var="꺼내어진 대상 객체 이름" scope="저장해 줄 스코프(생략 시 페이지 스코프(page))"></c:forEach>
여기서 items에는 객체 참조값이 와야하고, var에는 문자열이 와야하는데 JSTL에는 둘 다 문자열로 인식하기 때문에 EL이 필요하다
<c:if test="age>10"></c:if>
마찬가지로 test에 오는 논리식 연산같은 경우에도 마찬가지로 JSTL에서 문자열로 인식하기 때문에 EL이 필요한 것이다.
<c:if test="조건식"> : true / false<c:forEach items="반복객체"> : 객체참조EL 내장객체는 JSTL 내장객체와 다름!!
${firstThing.secondThing....}
key 로 본다!pageScope : pageContext attribute만 모아놓은 MaprequestScope : request attribute만 모아놓은 Map (K, V : attr명, object)sessionScope : session attribute만 모아놓은 MapapplicationScope : servletContext attribute만 모아놓은 Mapparams : request(단일) parameter만 모아놓은 Map (K, V : param명, value)paramValues : request(배열) parameter만 모아놓은 Mapheader headerValue cookieinitParampageContext(Getter, Setter, Beans) : 유일하게 Map이 아님