web.xml中配置springMVC拦截路径 /* 拦截所有 /拦截除了jsp的所有(restful风格这样配置 这样也会拦截js 等静态资源 所以要再springmvc中配置 <mvc:resources )