response、请求转发和重定向

response响应对象 提供的方法: void addCookie(Cookie cookie); 服务器向客户端增加cookie对象 void sendRedirect(String location) throws IOException; 页面跳转的一种方式(重定向) void setContentType(String type); 设置服务端响应的编码(设置服务端tomcat的类型)
相关文章
相关标签/搜索