On 11/24/06, Thomas Thomas <[EMAIL PROTECTED]> wrote:
I use Struts 1.3.5
When u talk about signatures, u talk about the doctypes of the validators
xml files ?
Because I copied pasted them from the struts 1.3.5 examples of validators.

Paul meant replace the "validator-rules.xml" thats shipped with
Struts. Sounds like you have an old version. The signatures hes
referring to are the "methodParams" element in the validator
definitions. You get this error when whats specified there doesn't
match up with the actual method signature in the java class
(FieldChecks for standard struts validators):

       <validator name="required"
                  classname="org.apache.struts.validator.FieldChecks"
                  method="validateRequired"
                  methodParams="java.lang.Object,
                      org.apache.commons.validator.ValidatorAction,
                      org.apache.commons.validator.Field,
                      org.apache.struts.action.ActionMessages,
                      org.apache.commons.validator.Validator,
                      javax.servlet.http.HttpServletRequest"
                  msg="errors.required"/>

Niall

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to