<?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE validators PUBLIC "-//Apache Struts//XWork Validator 1.0.3//EN"
        "http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd">
    <validators>
        <field name="nom">
            <field-validator type="requiredstring">
                <param name="trim">true</param>
                <message>Vous devez fournir votre nom</message>
            </field-validator>
        </field>
        <field name="prenom">
            <field-validator type="requiredstring">
                <param name="trim">true</param>
                <message>Vous devez fournir votre prénom</message>
            </field-validator>
        </field>
    </validators>
