How can I achieve csrf protection where I am calling controller from jsp like this.
href="/report/test.do?action=test"
I am using Spring 3.1 MVC.
How can I achieve csrf protection where I am calling controller from jsp like this.
href="/report/test.do?action=test"
I am using Spring 3.1 MVC.
Have You considered adding spring security. It by default add sf and csrf protection. If you dont use spring security then you have to write your own code for csrf protection You can check this LINK for spring security