How To Fix Error 405 (Request method ‘POST’ not supported) On SpringMVC + SpringSecurity

I am new with springMVC technology. When I create my first form with post method, I got Error 405 (Request method ‘POST’ not supported).

error post method

After some googling, I found that the error was because I use csrf on my web application. I should add some code for token on my action form like “${_csrf.parameterName}=${_csrf.token}”. So, here are my code became: Continue reading “How To Fix Error 405 (Request method ‘POST’ not supported) On SpringMVC + SpringSecurity”

Advertisement