Home > Guides > Core Developers Guide > Annotations > CustomValidator Annotation > ValidationParameter annotation |

Apache Struts 2 Documentation
ValidationParameter annotation
Edit Page Browse Space Add Page Add News

# ValidationParameter Annotation

The ValidationParameter annotation is used as a parameter for CustomValidators.

## Usage

The annotation must embedded into CustomValidator annotations as a parameter.

## Parameters

Parameter | Required | Default | Notes
--- | --- | --- | ---
name | yes |  | parameter name.
value | yes |  | parameter value.

## Examples