I am integrating AJAX form validation in a servlet/jsp application with JSON response object.
I had developed one class User, for a form. Since then, the scope has expanded significantly and more than one form with more fields of data will need to be utilized.
The form I had developed the AJAX solution for works fine, but when I created another class for another set of users, it does not validate the form. No error is generated, it just does not validate the form.
I think that the UserController that I am utilizing has to have two methods underneath the main class instead of one method for a "general user".
I wonder if you know of any resource whereby I could go to learn more about how to do this? I am listing a little bit of code on the UserController.java class file: