这两天整理项目,记录一下遇到的问题。
代码:
if (request.getSession().getAttribute("login") == null || !((boolean) (request.getSession().getAttribute("login")))) {
response.sendRedirect("http://ip:8080/HTML_TTMS/html/Login.html")<
这两天整理项目,记录一下遇到的问题。
代码:
if (request.getSession().getAttribute("login") == null || !((boolean) (request.getSession().getAttribute("login")))) {
response.sendRedirect("http://ip:8080/HTML_TTMS/html/Login.html")<