说什么“老师代码不对”,“写地址的写法每个版本就他么不是一样的”,“浪费时间”。。。什么的,感觉你们还是多反思反思自己吧。。。我自己也有不明白的,也有做的不对的,该做的是反思自己哪里理解错了哪里没码对,上来就老师不对,版本问题,浪费时间什么的,真有点逗。。。。。。就像民科骂物理教材胡编乱造误人子弟一样。。。。。。
求解 为什么不放行!!!!!!!!!!!!
HttpServletRequest request = (HttpServletRequest) arg0;
HttpServletResponse response = (HttpServletResponse) arg1;
HttpSession session = request.getSession();
if(session.getAttribute("username")!=null)
{
arg2.doFilter(arg0, arg1);//允许放行!
}
else
{
}
}
HttpServletRequest request = (HttpServletRequest) arg0;
HttpServletResponse response = (HttpServletResponse) arg1;
HttpSession session = request.getSession();
if(session.getAttribute("username")!=null)
{
arg2.doFilter(arg0, arg1);//允许放行!
}
else
{
}
}