목록SPRING/chapter03_MVC (13)
WON.dev
구글 드라이브에서 파일 다운로드 압출 풀어서 dev에 cmd에서 lombox.jar 설정(위치 sts.exe가 있는 곳으로) workspace_spring 폴더 생성 STS.exe 실행 - encoding 작업 content types > Default encoding > utf-8 작성 후 Update web -> utf-8 xml -> utf-8 general > workspace > utf-8 html > utf-8 file associations > *.js add > generic text edior 를 default 로 - server 작업 server 는 tomcat 9로 - 프로젝트 시작 new > Spring Legacy project spring mvc project 선택 org.joo..
1. 기본 구조 HandlerMapping ②↗↙ User ← ①, ⑦ → DispatcherServlet ← ③ → HandlerAdapter ← ④ → Controller ↓⑥⑤↘↖ viewViewResolver 사용자의 Request(요청)은 Front - Controller인 DispatcherServlet을 통해서 처리한다. 생성된 프로젝트의 web.xml을 보면 아래와 같이 모든 Request를 DispatcherServlet이 받도록 처리하고 있다. appServlet org.springframework.web.servlet.DispatcherServlet contextConfigLocation /WEB-INF/spring/appServlet/servlet-context.xml 1 appSe..