Question: how to send form data to spring controller?
Answer: url : The url at which this request will be sent. Its value should match with the value attribute of @RequestMapping annotation on Spring controller or with the url-mapping of servlet created to handle this request in web. xml file. dataType : The format in which this request will send its parameters (or form data).