首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

web.xml配备加载spring

2012-11-23 
web.xml配置加载springweb.xml配置加载spring第一种加载applicationContext.xml的方法: servletservlet

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>















热点排行