Sorry, I meant to put the <logic:messagesPresent> tag and you don't need to specify the name, it defaults to the Globals.ERROR_KEY
For messages stored under Globals.ERROR_KEY <logic:messagesPresent property="org.apache.struts.action.GLOBAL_ERROR"> For messages stored under Globals.MESSAGE_KEY <logic:messagesPresent message="true" property="org.apache.struts.action.GLOBAL_ERROR"> Niall ----- Original Message ----- From: "Niall Pemberton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, March 12, 2004 5:36 PM Subject: Re: testing for presence of GLOBAL_ERROR > <logic:present name="org.apache.struts.action.ERROR" > property="org.apache.struts.action.GLOBAL_ERROR"> > > ----- Original Message ----- > From: "mucus snot" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, March 12, 2004 4:51 PM > Subject: testing for presence of GLOBAL_ERROR > > > > Hi, > > > > I know that you can test for the presence of actionErrors with the > following. > > > > <logic:present name="org.apache.struts.action.ERROR"> > > > > But how can I test specifically for the presence of a GLOBAL_ERROR? > > > > Many thanks, al > > > > > > --------------------------------------------------------------------- > 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]