springboot 重定向redirect 并隐藏参数
在做全局异常处理的时候,碰到重定向到全局错误页面所谓隐藏参数无非是把参数放到了session中,再重定向后将该值清除1、全局异常处理方法@ExceptionHandler(value = Exception.class)public ModelAndView exceptionHandle(RedirectAttributes redirectAttributes) { ModelAnd...
原创
2018-03-09 10:57:55 ·
21558 阅读 ·
0 评论