20201028 response使用

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

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

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

 

posted @ 2020-10-28 22:08  黄某人233  阅读(65)  评论(0编辑  收藏  举报