[Spring]Application Context 설정.


[Spring]Application Context 설정.

Spring Framework 설정. 1. Root Application Context 설정 [web.xml]Servlet Container인 Tomcat(WAS)이 start되면 가장먼저, web.xml을 읽어들인다.[web.xml] = Root org.springframework.web.context.ContextLoaderListener contextConfigLocation classpath*:/root-context*.xml[web.xml]에 선언된 listener클래스인 ContextLoaderListener 의해 RootWebApplicationContext영역을 구성하게 되는데 그 설정파일은 root-context*.xml이다. [root-context.xml]두파일을 import 하고있다..


원문링크 : [Spring]Application Context 설정.