本来跳转的页面是index.jap。现在我把index.jsp改成index1.jsp。但是却还是跳转到index了,请大神帮忙!!
<%if(null==session.getAttribute("admin_account")||"".equals(session.getAttribute("adm...
<%
if (null == session.getAttribute("admin_account") || "".equals(session.getAttribute("admin_account"))){
out.print("<script>alert('登录超时,请重新登录!');location.href='/admin/index1.jsp';</script>");
} 展开
if (null == session.getAttribute("admin_account") || "".equals(session.getAttribute("admin_account"))){
out.print("<script>alert('登录超时,请重新登录!');location.href='/admin/index1.jsp';</script>");
} 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询