• 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 ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

AJAX Form Validation with JSON response object/Spring Framework

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

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:



Thanks,
Michele
 
Being a smart alec beats the alternative. This tiny ad knows what I'm talking about:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic