访问一个页面,这个页面需要登录,用过滤器方式重定向到登录页,验证成功重定向到访问页面,可是到访问页面又被过滤重定向登录页。
Then your filter should not get the verification information from session to determine whether the login has been successful. If the login has been successful, the filter should no longer redirect to the login page and should take the next step.
session
Then your filter should not get the verification information from
session
to determine whether the login has been successful. If the login has been successful, the filter should no longer redirect to the login page and should take the next step.