Hi Frank,
        You can do this with the <logic:messagesPresent name="Your Specific
Type of Error"> tag. The default value of name is Globals.ERROR_KEY. I use
it in one of my app in this context : 

<logic:messagesPresent>
            <font color="blue">
           <bean:message key="errors.header"/>
           <ul>
           <html:messages id="error">
              <li><bean:write name="error"/></li>
           </html:messages>
           </ul>
           </font>
           <br>
</logic:messagesPresent>

My Error are stocked in the Globals.ERROR_KEY.

                     Charles

-----Original Message-----
From: Frank Burns [mailto:[EMAIL PROTECTED]
Sent: October 19, 2004 4:30 PM
To: Struts Users Mailing List
Subject: Checking for presence of specific error message


Is there any way of checking for the presence of a SPECIFIC error message in
the error queue?

Thanks,

Frank.


---------------------------------------------------------------------
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]

Reply via email to