摘要: 背景 前端控制器(dispatcherServlet)默认拦截静态资源,因此在默认情况下,jsp无法向服务器请求静态资源。为了不拦截静态资源,首先,将js,css等资源放置于webapp中除WEB-INF(否则会让配置变得很麻烦)的任一目录下; 然后,在SpringMVC的配置文件中通过mvc:re 阅读全文
posted @ 2019-07-28 22:07 JadenLi 阅读(582) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-07-20 17:22 JadenLi 阅读(0) 评论(0) 推荐(0) 编辑
摘要: Background If you don't need the inner class to access the object of outer class, you can define it as static. Here is an typical example of where you 阅读全文
posted @ 2019-06-19 16:43 JadenLi 阅读(102) 评论(0) 推荐(0) 编辑