Assignment # 7
Project
This assignment is part of your project.
Learning Goals
- Understand how to use Ajax with jQuery 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 methods for all the fields that require validation.
- You can use a servlet to process the Ajax request,.
- The servlet will determin which parameter was sent, update that parameter in the bean, and verify the correctness of the bean data.
- 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.
- Use jQuery for the Ajax interaction.
- This assignment is for the form based project, not the XML document based project.