Why does the project deployed on tomcat always say that there are too many redirects when visiting?
This is a problem that many people encounter when they start to practice the use of filters and do automatic login cases.
Solution:
1. Delete cookies (generally not this problem)
2. The problem: the configuration of the pattern in the configuration file is: /** All visits are filtered, and there is a page redirection after a successful login in the filter code, and the page redirection is also filtered, so it will appear
Infinite loop, just change /** to /*.do ( this is my problem ), and netizens only need to change to their own path suffix