springmvc源码部分理解
目录 初始化 处理请求 总结: 主要还是借鉴了很多大佬的分析,参考如下: 完整版: https://www.cnblogs.com/zgwjava/p/11040154.html 分步骤一: https://blog.csdn.net/gududedabai/article/details/83352106 分步骤一: https://blog.csdn.net/gududedabai/article/details/83375156 详细版: https://blog.csdn.net/qq_38410730/article/details/79507465 从代码角度看: 初始化 DispatcherServlet.onRefresh() protected void onRefresh(ApplicationContext context) { this.initStrategies(context); } //根据web.xml中配置的和默认的设置初始化 protected void initStrategies(ApplicationContext context) { this.initMultipartResolver(context); //上传文件相关 this.initLocaleResolver(context); //default this