response,請求轉發和重定向,cookie

1.response :響應對象 提供的方法: void addCookie( Cookie cookie ); 服務端向客戶端增加cookie對象 void sendRedirect(String location ) throws IOException; :頁面跳轉的一種方式(重定向) void setContetType(String type):設置服務端響應的編碼(設置服務端的cont
相關文章
相關標籤/搜索