为什么我的代码和视频里面一样,但是登录无法提交,返回状态码302
确保你的filterChainDefinitions是
/login.html = anon /subLogin = anon /* = authc
确保正确地更新到了tomcat