Assignment # 8
Project
This assignment is part of Project#1.
Learning Goals
- Understand how to use Ajax for form validation.
Assignment
In this assignment, you will extend your project so that the validation of the required fields is performed
using Ajax technology instead of pure JavaScript.
Hints:
- Modify your bean methods so that there are validation method for all the fields that require validation.
- You can use either a servlet or a JSP to process the Ajax request, but a servlet is the preferred approach.
- The Ajax response should include information about the error so that your JavaScript code can modify the HTML tree inside the browser to
show the error information.