Thanks Nitesh.
<html:errors/> will print all the error messages at one place. I needed each
error message to go to the proper position (i.e. the error message for name
must be next to the name text field). So I used <html:errors property="..."/>.
When I don't use struts validator, I would write something like this in the
action form validate method:
ActionErrors errors = new ActionErrors();
errors.add("name-error", new ActionMessage(.....));
errors.add("phone-error", new ActionMessage(.....));
And then I can use <html:errors property="name-error"/> and <html:errors
property="phone-error"/>. So what are the values for the property fields in
Struts Validator?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]