jsp内置对象--response

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