web.xml web.xml은 설정을 위한 설정 파일이다. WAS가 처음 구동 될때 web.xml을 읽어 웹 어플리케이션 설정을 구성한다. DispatcherServlet을 등록해주면서 스프링 설정파일을 지정한다. DispatcherServlet은 초기화 과정에서 지정된 설정파일을 이용해 스프링 컨테이너를 초기화 시킨다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 contextConfigLocation /WEB-INF/spring/root-context.xml org.springframework.web.context.ContextLoaderListener appServlet org.springframework.web.servlet.DispatcherS..