THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
In the XML validation file (for this example that is EditAction-validation.xml), is this XML:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<!DOCTYPE validators PUBLIC "-//Apache Struts//XWork Validator 1.0.3//EN" "http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd"> <validators> <validator type="requiredstring"> <param name="fieldname">personBean.firstName</param> <message>First name is required.</message> </validator> </validators> |
...