I facing trouble in passing data from AngularJS $http.post()
to Action Class in JAVA.
My action class is not getting called.
Controller.js
AuthenticateLogin.java
You are missing the action extension. And potentially the namespace.
It should be
$http.post('AuthenticateLogin.action', data)
or
$http.post('/AuthenticateLogin.action', data)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.