What is the purpose of @customvalidator annotation?
Answer / Kanishk Kumar Tiwari
The @CustomValidator annotation in Struts allows you to create custom validators for form fields. You can define your own validation logic and associate it with a specific field by adding the @CustomValidator annotation to the field's getter method.nCustom validators provide more flexibility as they allow you to validate data based on complex business rules.
| Is This Answer Correct ? | 0 Yes | 0 No |
What design patterns are used in struts?
what is ForwardAction and IncludeAction in struts?
What is role of action class?
What is the difference between shocks and struts?
What is execute method in struts?
how does request processor relates to action mapping?
Why are springs better than struts?
how handle when client send multiple request at atime for multiple servlets servlets?
why servlet is used as controller not JSP?
where you use thread in your java project?
When it’s useful to use IncludeAction?
why do we use logic tag library in struts?