Hi
I'm trying to use the ActionErrors clases. I'm doing validation on the
Action class like this:
if (user == null)
{
errors.add ("username", new ActionError ("errors.fieldisrequired",
"username"));
}
saveErrors (request, errors);
Ths resource file is configured correctly. I can do a getMessage inside the
action class and it works. In my JSP I show the error like this:
<html:errors property="username"/>
The error is not generated. The scope is request and the forward has
redirect = false.
Any ideas?