Spring MVC启动流程
在web.xml文件中给Spring MVC的Servlet配置了 load-on-startup,所以程序启动的时候会初始化Spring MVC,在HttpServletBean中将配置的contextConfigLocation属性设置到Servlet中,然后在FrameworkServlet中创建了 WebApplication,DispatcherServlet 根据contextConfigLocation配置的 classpath 下的xml文件初始化了Spring MVC总的组件