struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghuveer" <raghuve...@infotechsw.com>
Subject RE: Struts 1.2 and the Validator Framework, how does this work ?
Date Fri, 25 Aug 2006 10:17:49 GMT
I think your Configuration Struts+Validator  may be giving problem.


-----Original Message-----
From: Li [mailto:ampyx.li@gmail.com]
Sent: Friday, August 25, 2006 1:02 PM
To: Struts Users Mailing List
Subject: Re: Struts 1.2 and the Validator Framework, how does this work
?


did you configure your app and validation framework properly? can you paste
full stack of error?

On 8/25/06, Ingimar Erlingsson <inki.student@gmail.com> wrote:
>
> Hello!
>
> trying to get the validator framework in struts to work from within
> eclipse/exadel, using struts 1.2.
> following an example in the book 'professional jakarta struts' from WROX ,
> that is chapter 12, but always getting errors like the following. The
> example is a simple form, submitting a name.
>
> could anyone tell me what is wrong ?
> here is the error ( a part ):
> 006-08-23 23:00:30,515 ERROR [org.apache.struts.validator.ValidatorForm] -
> org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object,
> org.apache.commons.validator.ValidatorAction,
> org.apache.commons.validator.Field,
> org.apache.struts.action.ActionMessages,
> javax.servlet.http.HttpServletRequest )
> org.apache.commons.validator.ValidatorException:
> org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object,
> org.apache.commons.validator.ValidatorAction,
> org.apache.commons.validator.Field,
> org.apache.struts.action.ActionMessages,
> javax.servlet.http.HttpServletRequest)
>    at org.apache.commons.validator.ValidatorAction.loadValidationMethod(
> ValidatorAction.java:627)
>    at
org.apache.commons.validator.ValidatorAction.executeValidationMethod(
> ValidatorAction.java:557)
>
>


--
When we invent time, we invent death.


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


Mime
View raw message