Kizspy | Question: 23
(Choose 1 answer)
In a JSP MVC application, you are tasked with implementing a registration form where user data needs to be
validated on the client side before submission. Explain how you would structure the MVC components to
achieve this, and what role each component plays.
A. Place client-side validation logic in the Controller.
B. Implement client-side validation in the View using JavaScript.
C. Create a separate Validator class in the Model to handle client-side validation.
D. Use a custom tag library for client-side validation.