struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: Validation, ModelDriven and Field Errors
Date Wed, 28 Mar 2007 15:59:47 GMT
--- Juan Espinosa <> wrote:
> Then i change the action to an action that
> implements ModelDriven, when i do this changes the 
> errors next to the controls doesnt appear any more.
> must add in the jsp page the tag  <s:fielderror/> to

> get the errros.
> Anyone knows why the errors doesnt appear ??????????

How are you naming your form fields, both on the JSP
and in the validation? Are you still using the
modelClass.fieldName or just fieldName, and are they
the same in both the JSP form fields and validation


Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message