SpringMVC访问静态资源

<!--前端控制器DispatcherServlet对哪些资源不拦截(放行)-->
<mvc:resources location="/css/" mapping="/css/**"/>
<mvc:resources location="/images/" mapping="/images/**"/>
<mvc:resources location="/js/" mapping="/js/**"/>
posted @ 2020-07-12 22:36  jock_javaEE  阅读(115)  评论(0编辑  收藏  举报