参考:https://blog.csdn.net/weixin_39220472/article/details/81034320 1.servlet配置的url-pattern 为/,则拦截jsp以外的所有资源请求(包括redirect和forward)为/*,则拦截所有资源请求