목록2024/07 (42)
wintertreey 님의 블로그
MVC 패턴MVC패턴은 소프트웨어 공학에서 사용되는 디자인 패턴 중 하나.클라이언트 요청이 들어오면 사용자 인터페이스와 비즈니스 로직을 분리하여 각각의 로직을 독립적으로 운용하여 유지보수를 용이하게 만들 수 있는 디자인 패턴이다. 디자인 패턴이란 프로그램이나 어떤 특정한 것을 개발하는 중에 발생했던 문제점들을 정리해서 상황에 따라 간편하게 적용해서 쓸 수 있는 것을 정리하여 특정한 "규약"을 통해 쉽게 쓸 수 있는 형태로 만든 것을 말한다. MVC 구성요소M (Model)Model은 내부 비즈니스 로직에 해당즉, 백그라운드 로직으로써 처리되는 알고리즘, 데이터, DB와의 상호작용 등등을 담당 V (View)View는 사용자 인터페이스(UI)를 의미요청에 대한 처리결과를 View를 통해 클라이언트에게 화..
Expression Language의 약자JSP 2.0에서 새롭게 추가된 스크립트 언어기존의 Script tag의 표현식() tag에서 업그레이드된 버전 ( ${ 정보 } ) [ 주요 특징 ]1) JSP 속성영역 (request, response, session, application) 저장된 속성 객체의 property를 출력한다 2) 리터럴 데이터, 다양한 연산결과 출력이 가능하다 3) JSTL과 연동이 가능하다 JSP 내장객체 종류- pageContext : 다른 내장 객체를 생성하는 역할- pageScope : JSP가 Servlet으로 변환되었을 때, Serlvet 객체 자신을 의미 (=this)- requestScope : request 객체에 접근하기 위한 역할- sessionScope ..