转发 vs 重定向 转发不会被filter拦截到, 而重定向会。 这就是为什么我们【注销时】要redirectAction 。 登录时需要在url中显示index.jsp 而不能是Login.action。 所以要使用重定向。