Skip to content
Advertisement

Tag: struts

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: Action: jQuery Ajax POST (working): AngularJS Ajax POST (not working): for some reason AngularJS doesn’t like the way I’m sending the ActionForm data. Answer It is not data that you should use, but params :

Advertisement