CSRF (Cross-site request forgery) protection in spring MVC
问题 I'm little confuse in this CSRF (Cross-site request forgery) protection in spring. No I have my jsp and my controller and a web service. What I want to do is validate the token at the web service level and if token is a match, run the web service (In my case do a db insert) JSP file <form:input type="text" class="form-control" path="mName" /> <input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" /> <div class="form-action"> <input type="submit" value="Save" class="btn btn