Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

How to send this angular form data to a java class like a servlet or a spring controller class?

 <fieldset>

        <legend>
           <h3>Registration</h3>
        </legend>

                <label for = "firstname" > First Name: </label>

                <input type = "text" name = "firstname" ng-model="fname" id="firstname">

                <label for="lastname"> Last Name: </label>

                <input type="text" name="lastname" ng-model="lname" id="lastname">

                <button ng-click="addNewUser()">Sign Up</button>
  </fieldset>

 <div>
share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.