Sail E0 Webinar
Question
Validator field is not assigned to any bean, but rather a factory class of the type.
Options:
A .  javax.validation.Validator
B .  javax.validation.ValidatorFactory
C .  javax.validation.ValidatorFactor
D .  none of the mentioned
Answer: Option B


This is how JSR-303 validation works. The assignment process is done inside the controller's constructor.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers