粗谈Spring——从执行顺序来看说Spring

   1.Spring的加载(实例化)       若是不与Struts整合的话,Spring的加载是在Web程序的web.xml中配置的,在web.xml 中有两种选择,一种是ContextLoaderListener,另外一种是ContextLoaderServlet。       若是与Struts进行整合,则Spring的加载是在struts-config.xml中配置的。    2.容器
相关文章
相关标签/搜索