摘要:
mvc namespace的处理器由webmvc项目下Resources/META-INF/spring.handlers文件: http\://www.springframework.org/schema/mvc=org.springframework.web.servlet.config.Mvc 阅读全文
posted @ 2022-10-30 20:23
shigp1
阅读(146)
评论(0)
推荐(0)
摘要:
调用AbstractApplicationContext.refresh()刷新容器,会调用obtainFreshBeanFactory()获取ConfigurableListableBeanFactory。会去调用loadBeanDefinitions()方法解析xml文件的内容成BeanDifi 阅读全文
posted @ 2022-10-30 14:13
shigp1
阅读(184)
评论(0)
推荐(0)
摘要:
web容器启动后会实例化Servlet,会执行Servlet的init方法且只会执行一次。后续调用doService处理客户请求。 DispatcherServlet的构造方法 public DispatcherServlet() { super(); setDispatchOptionsReque 阅读全文
posted @ 2022-10-30 12:20
shigp1
阅读(71)
评论(0)
推荐(0)

浙公网安备 33010602011771号