Tag messagesNotPresent

Generate the nested body content of this tag if the specified message is not present in any scope.

Evaluates the nested body content of this tag if an ActionMessages object, ActionErrors object, a String, or a String array is not present in any scope. If such a bean is found, nothing will be rendered.

Struts 1.1

Tag Information
Tag Classorg.apache.struts.taglib.logic.MessagesNotPresentTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone


The parameter key used to retrieve the message from page, request, session or application scope.


Name of the property for which messages should be retrieved. If not specified, all messages (regardless of property) are retrieved.


By default the tag will retrieve the bean it will iterate over from the Globals.ERROR_KEY constant string, but if this attribute is set to 'true' the bean will be retrieved from the Globals.MESSAGE_KEY constant string. Also if this is set to 'true', any value assigned to the name attribute will be ignored.

No Variables Defined.

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.