response,请求转发和重定向,cookie

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