Make sure that "error.company.updatecollision" is defined correctly in your ApplicationResources.properties file ... I had a similar problem.
Lou >From: David Winterfeldt <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: RE: Using <html:errors/> >Date: Wed, 26 Sep 2001 07:10:45 -0700 (PDT) > >If you don't declare the taglib at the top of the JSP, >you won't get any error message because the JSP >compiler will assume it is just some normal markup it >doensn't have to deal with so it ignores it. If the >'foo' tag isn't defined in the html tag library, then >when you tried to call html:foo you would get an >undefined error message. > >David > >--- [EMAIL PROTECTED] wrote: > > If she hadn't declare the struts-html.tld, she > > should have a struts error > > message > > like "html tag is not defined" > > > > -----Message d'origine----- > > De: Jonathan M Crater > > [mailto:[EMAIL PROTECTED]] > > Date: mercredi 26 septembre 2001 15:58 > > À: [EMAIL PROTECTED] > > Objet: Re: Using <html:errors/> > > > > > > are you declaring the html tag library before you > > try to use the errors tag? > > > > <%@ taglib uri="/WEB-INF/struts-html.tld" > > prefix="html" %> > > > > Anna Englund wrote: > > > > > Hi, > > > > > > I'm new with Struts and have a question on how to > > > display error messages. > > > > > > In my Action I detect an error and take the > > following > > > actions: > > > - Create an ArrayErrors object, errors > > > - Add a new ArrayError to errors > > > - Save errors in request > > > - Retrieves the messages with <html:errors/> in my > > jsp > > > > > > ... > > > ActionErrors errors = new ActionErrors(); > > > errors.add(ActionErrors.GLOBAL_ERROR, > > > new > > ActionError("error.company.updatecollision")); > > > saveErrors(request, errors); > > > ... > > > > > > The problem I'm having is that the error message > > is > > > never displayed. I've added a java snippet in my > > jsp > > > that retrieves all attributes from the request and > > > there I can find the bean > > > org.apache.struts.action.ERROR which has a > > property > > > named org.apache.struts.action.GLOBAL_ERROR. > > > > > > I have no idea what I have done wrong. Any help > > would > > > be greatly appreciated. > > > //Anna > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Get email alerts & NEW webcam video instant > > messaging with Yahoo! > > Messenger. http://im.yahoo.com > > > > > > > > >__________________________________________________ >Do You Yahoo!? >Get email alerts & NEW webcam video instant messaging with Yahoo! >Messenger. http://im.yahoo.com _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp