I agree, I just finished the test suite against the ErrorsTag so I know it does exactly what its supposed to.
-- James Mitchell Web Developer/Struts Evangelist > -----Original Message----- > From: Gemes Tibor [mailto:[EMAIL PROTECTED] > Sent: Friday, February 28, 2003 9:53 AM > To: Struts Users Mailing List > Subject: Re: How do you display action error messages in jsp? > > > julian green wrote: > > > Done all of your suggestions, and still fails. > > > > this is the end of my action method > > > > System.out.println("errors.size()=" + errors.size()); > > > You'd better use log4j for debugging, imho. > > > if (errors.size() > 0) > > { > > saveErrors(request, errors); > > return mapping.findForward("fail"); > > } > > > > return mapping.findForward("success"); > > } > > > > and here is a snippet from struts-config.xml > > > > <action path="/subprofilelist" > > type="...admin.suspendenable.SuspendEnableAction" > > name="suspendenableform" > > scope="request" > > validate="false" > > parameter="whatdoesthisdo" > > input="/listprofiles.jsp"> > > > > <forward name="success" path="/listprofiles.jsp"/> > > <forward name="fail" path="/error.jsp"/> > > </action> > > > > ... and finally I have <html:errors /> in error.jsp which renders > > nothing. Still confused.... > > > But you have the errors.jsp displayed, have you? Look into the logs, > might help a lot. > > Tib > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

