struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Néstor Boscán <>
Subject Problems with ActionError
Date Wed, 11 May 2005 20:22:09 GMT
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",
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?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message