If you are Struts 1.1 you can use the <logic:messagesPresent> tag. -----Original Message----- From: Justin Ashworth [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 9:37 AM To: Struts Users Mailing List Subject: Checking for the existence of errors
Hi all, Is there an elegant way using Struts / JSTL tags to tell if any errors are stored in the ActionErrors object before calling <html:errors/> or even <html:errors name="xxx"/>? If <html:errors name="xxx"/> is going to display something, then I want to put a special header on it. The default errors.header is insufficient for what I'm doing. I could write my own tag, but before doing so I just want to make sure I'm not reinventing the wheel. Thanks, Justin -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

