Thank you for understanding. I found that this is due to the ordering of the filter mappings. Spring security should appear before Sitemesh.
Not sure how anyone could get this if I hadn’t published so many seemingly trivial details of the project.
I will know how to publish web.xml in the future. Probably just pay more attention to what is causing the problems.
source share