<!DOCTYPE validators PUBLIC "-//Apache Struts//XWork Validator 1.0//EN" "http://struts.apache.org/dtds/xwork-validator-1.0.dtd">
<validators>
    <field name="bean.name">
        <field-validator type="required">
            <message>You must enter a name for the bean.</message>
        </field-validator>
    </field>
    <field name="bean.count">
        <field-validator type="required">
            <message>You must have a count for the bean.</message>
        </field-validator>
        <field-validator type="int">
            <param name="min">0</param>
            <param name="max">10</param>
            <message>bean.count out of range.</message>
        </field-validator>
    </field>
</validators>
