response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY);
response.setHeader("Location", url);
response.flushBuffer();
return "redirect:" + url;
转载于:https://www.cnblogs.com/abel-he/p/10565318.html
response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY);
response.setHeader("Location", url);
response.flushBuffer();
return "redirect:" + url;
转载于:https://www.cnblogs.com/abel-he/p/10565318.html