Servlet 使Session设置失效

protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.getSession().invalidate();  // 销毁会话
		request.setAttribute("msg", "您已退出");
		request.getRequestDispatcher("login.jsp").forward(request, response);
	}

 

上一篇:mysql数据查询语言DQL


下一篇:docker 安装mysql