• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

AJAX Form Validation with JSON response object/Spring Framework

Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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:

Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!