读书人

web.xml配备加载spring

发布时间: 2012-11-23 22:54:33 作者: rapoo

web.xml配置加载spring
web.xml配置加载spring

第一种加载applicationContext.xml的方法:

 <servlet>      <servlet-name>context</servlet-name>      <servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>      <load-on-startup>1</load-on-startup>  </servlet>















读书人网 >Web前端

热点推荐