Spring MVC中静态资源处理的源码解析

Spring MVC中处理静态资源的方式有两种: 

  • 通过 <mvc:resource mapping="/static/**"  location="WEB-INF/static/**" />
  • 通过 <mvc:default-servlet-handler />

这两种方式的源码解析如下: 

  • https://developer.aliyun.com/article/38974

 

posted @ 2022-03-27 16:57  秋风扫落木  阅读(73)  评论(0)    收藏  举报
我的页脚