Apache Struts 2 Documentation > Home > Guides > Core Developers Guide > Validation > expression validator |
A Non-Field Level validator that validates based on regular expression supplied.
<validators> <validator type="expression"> <param name="expression"> .... </param> <message>Failed to meet Ognl Expression .... </message> </validator> </validators>