Using Angularjs For Ajax Post In Struts 1
I'm trying to send Ajax POST using Struts action form. I've succeeded to create this kind of call using jQuery. ActionForm: public class AjaxForm extends ActionForm { private s
Solution 1:
It is not data
that you should use, but params
:
...
var responsePromise = $http({
method: 'POST',
url: '/BusinessProcess_Project/AjaxSubmit.do',
// data: formData
params: formData
});
...
Post a Comment for "Using Angularjs For Ajax Post In Struts 1"