Hallo,

I have a problem to display ActionErrors. I use the validate-Method to
validate forms, like that:

------------------------------
public ActionErrors validate(ActionMapping mapping, HttpServletRequest
request) {
ActionErrors errors = new ActionErrors();
if (iBenutzer == null || iBenutzer.length() < 1) {
errors.add("benutzungsname", new
ActionError("error.login.benutzername.required"));
}}
------------------------------

But when I want to display that error, I can't see anything. Why?????

* errors.header=<ul>
  errors.footer=</ul>
  error.login.benutzername.required=that is an error ...

  is in the property-file! That property-file is available (set in
web.xml)!

* the JSP contains:
  <html:errors/>
  <html:errors property="benutzungsname"/>

Who can help me?!
What is wrong??

Reply via email to