9.重定向

方式一:

response.sendRedirect("/ReadCookie");

方式二:

response.setStatus(200);
response.setHeader("Location", "http://localhost:9797/ReadCookie");