6 SpringBoot and Thymeleaf - fanpan26/Fly.SpringCloud GitHub Wiki

页面重定向

  • HttpServletRequest.getRequestDispatcher("url or pagename").forward(request,response);
  • HttpServletResponse.sendRedirect("") 支持跳转网站内地址和外部地址,并且会改变Url

页面间传参