在您的login.jsp中尝试此代码
if(session.getAttribute("authenticated")!=null && session.getAttribute("authenticated").equals(true)){ response.sendRedirect("home.jsp");}
在您的login.jsp中尝试此代码
if(session.getAttribute("authenticated")!=null && session.getAttribute("authenticated").equals(true)){ response.sendRedirect("home.jsp");}