20201028 response使用

void addCookie(Cookie cookie) 服务端向客户端添加cookie对象

void sendRedirect(String location)throws IOException 页面跳转的一种方式

void setConstentType(String type)服务器响应客户端的编码方式

原文地址:https://www.cnblogs.com/huangmouren233/p/13893836.html