if (session.getValue("UserName")==null) //之前给用户信息保存在session中了,这里从session中取得用户信息,如果用户信息为空也就是说用户没有登陆则执行下面的代码,导向err.jsp?id=5 { response.sendRedirect("err.jsp?id=5"); return; }
81,092
社区成员
341,716
社区内容
加载中
试试用AI创作助手写篇文章吧