注销的路径是http://localhost:8080/Choose_Course/login.do?loginoff=true
代码在loginAction里面:
这段
--------------
if (request.getParameter("loginoff") != null) {
request.getSession().removeAttribute("id");
request.getSession().invalidate();
return mapping.findForward("./login.do");
}
代码在loginAction里面:
这段
--------------
if (request.getParameter("loginoff") != null) {
request.getSession().removeAttribute("id");
request.getSession().invalidate();
return mapping.findForward("./login.do");
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货