Package org.apache.struts2.validator.annotations
package org.apache.struts2.validator.annotations
Validator annotations.
-
ClassDescriptionThis validator checks if there are any conversion errors for a field and applies them if they exist.This validator checks that a field is a valid credit card.This annotation can be used for custom validators.This validator checks that a date field has a value within a specified range.This validator checks that a double field has a value within a specified range.This validator checks that a field is a valid e-mail address if it contains a non-empty String.This non-field level validator validates a supplied regular expression.This validator uses an OGNL expression to perform its validator.This validator checks that a numeric field has a value within a specified range.This validator checks that a numeric field has a value within a specified range.Validates a string field using a regular expression.This validator checks that a field is non-null.This validator checks that a String field is not empty (i.e.This validator checks that a numeric field has a value within a specified range.This validator checks that a String field is of the right length.This validator checks that a field is a valid URL.The ValidationParameter annotation is used as a parameter for CustomValidators.
ValidatorType
The validator allows you to forward validator to object properties of your action using the objects own validator files.