摘要: org.springframework.web.context.ContextLoaderListener 1org.springframework.web.servlet.DispatcherServlet 2SpringWebMvc中同时配置1和2<context-param> <param-n 阅读全文
posted @ 2019-05-08 16:51 GordonDicaprio 阅读(635) 评论(0) 推荐(0) 编辑
摘要: 断点到: org.springframework.beans.factory.support.DefaultListableBeanFactory#getBeanDefinitionCount 显示该配置文件加载个数日志: DEBUG o.s.b.f.xml.XmlBeanDefinitionRea 阅读全文
posted @ 2019-05-08 14:08 GordonDicaprio 阅读(694) 评论(0) 推荐(0) 编辑
摘要: 2019-08-28 14:00 新的理解: DispatcherServlet分为两步 1.初始化阶段 2.调用阶段 1.初始化阶段,该过程仅执行一次 最终执行节点为 org.springframework.web.servlet.DispatcherServlet#onRefresh 2.调用阶 阅读全文
posted @ 2019-05-08 10:53 GordonDicaprio 阅读(712) 评论(0) 推荐(0) 编辑