What version of struts are you using! I think that the version you are using might be de reason for this problem.
ActionErrors has been deprecated in favor of ActionMessages as far as I know in recent struts versions. On the other hand, "struts in action" covers afaik version 1.1. Hope this help. On Fri, 17 Dec 2004 10:22:49 -0500, Klimenko, Mariya <[EMAIL PROTECTED]> wrote: > java.lang.NoSuchMethodException: > mypackage.myclass.validateTotalFunds(java.lang.Object, > org.apache.commons.validator.ValidatorAction, > org.apache.commons.validator.Field, > org.apache.struts.action.ActionMessages, > javax.servlet.http.HttpServletRequest) > > As you can see here it is looking for a method that accepts ActionMessages as > one > of parameters, > but "Struts In Action" book and web examples show that ActionErrors should be > passed instead and that > is what I coded. > Any help would be appreciated. > Thanks in advance. > Mariya. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]