flower

导航

2023年3月23日 #

SpringMVC拦截器

摘要: 当存在多个Interceptor时,拦截顺序是根据spring-mvc.xml中的拦截器配置顺序来的: 拦截器中定义的三个方法: preHandle(req,res,obj):在目标方法执行前 执行 postHandle(req,res,obj,modAndView):在目标方法执行后、视图对象返回 阅读全文

posted @ 2023-03-23 18:20 花已成海 阅读(23) 评论(0) 推荐(0) 编辑