Status code (301) indicating that the resource has permanently moved to a new location, and that future references should use a new URI with their requests.
java 代码
- response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY);
- response.setHeader("Location", redirectUrl);

被折叠的 条评论
为什么被折叠?



