springboot 重定向redirect 並隱藏參數

在作全局異常處理的時候,碰到重定向到全局錯誤頁面session 所謂隱藏參數無非是把參數放到了session中,再重定向後將該值清除app 一、全局異常處理方法spa @ExceptionHandler(value = Exception.class) public ModelAndView exceptionHandle(RedirectAttributes redirectAttributes
相關文章
相關標籤/搜索