struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: @CustomValidator error
Date Fri, 11 Jul 2008 16:42:51 GMT
--- On Fri, 7/11/08, tangy <yi-ling.baldez@wholefoods.com> wrote:
> I have the validators.xml file in /WEB-INF/:

AFAIK this file needs to be on the classpath.

The validation documentation [1] points this out in the "Registering Validators" section,
stating "The simplest way to do so is to add a file name validators.xml in the root of the
classpath (/WEB-INF/classes) [...]"

Dave

[1] http://struts.apache.org/2.x/docs/validation.html


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message