如何设置Cookie
# 如何设置Cookie protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { //设置中文编码 response.setContentType("text/html;charset=utf-8"); //创建COOKIE的值的接受量 String lastAccessTime=null;