1.在web中如何配置spring
把ContextLoaderListener添加到你的web.xml就行
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
1.在web中如何配置spring
把ContextLoaderListener添加到你的web.xml就行
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>