<!DOCTYPE validators PUBLIC "-//Apache Struts//XWork Validator 1.0.2//EN" "http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd">
<validators>
    <field name="count">
        <field-validator type="int" short-circuit="true">
            <param name="min">1</param>
            <param name="max">100</param>
            <message key="invalid.count">Invalid count value, must be between ${min} and ${max}, current value ${count}!</message>
        </field-validator>
        <field-validator type="int">
            <param name="min">20</param>
            <param name="max">80</param>
            <message key="invalid.count.bad">Smaller Invalid Count: ${count}</message>
        </field-validator>
    </field>
</validators>
