13일차
2023. 10. 17. 11:53ㆍStudy/KB IT's your life 4기
2023.08.21 수업 이슈
- Filter
- JSP EL
- JSP JSTL
- Factory Method Pattern
▶ Cookie, HttpSession 생성

▶ JSP Scriptlet, Expression Tag

▶ WAS 메카니즘

▶ Filter 원리

▶ JSP EL

- EL문법은 반복문을 처리할 수 없다.

▶ JSTL



▶ ServletRequest vs HttpSession vs ServletContext

- request, session, application은 이미 jsp 파일에 내장되어 있어서 바로 사용 가능하다.

- request → session → application(ServletContext)순서대로 찾는다
${RESULT2} :: request.getAttribute("RESULT2") // 없으면 session으로 넘어가서 찾는다!!
${RESULT2} :: session.getAttribute("RESULT2")
ECT
- authorization vs authentication
authorization : 권한
authentication : 인증
authorization에 따른 authentication을 다르게 할 때는 c:choose(양자택일) 문법을 사용한다.