Hi,
I am new to creating web applications using Spring and having issues posting my data for verification. I have a simple login form using
AngularJS. I am trying to post this data for verification to Spring. But my URL doesn't go to my
String controller.
This is my angularjs controller code from where I am trying to call my Spring Controller:
My String Controller:
My web.xml:
There is no error on server but the data is not getting validated and the form gets refreshed. Please help
Update:
I tried checking the data through postmaster. My spring part works fine because it shows correct response for the sample JSON data I entered. So, the problem is with angularjs controller. I tried debugging this using firebug. The angularjs controller loads but the login method is not called. Kindly suggest.