logic
Tag equal


Evaluate the nested body content of this tag if the requested variable is equal to the specified value.

Compares the variable specified by one of the selector attributes against the specified constant value. The nested body content of this tag is evaluated if the variable and value are equal.



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

Attributes
NameRequiredRequest-timeTypeDescription
cookiefalsetruejava.lang.String

The variable to be compared is the value of the cookie whose name is specified by this attribute.

headerfalsetruejava.lang.String

The variable to be compared is the value of the header whose name is specified by this attribute. The name match is performed in a case insensitive manner.

namefalsetruejava.lang.String

The variable to be compared is the JSP bean specified by this attribute, if property is not specified, or the value of the specified property of this bean, if property is specified.

parameterfalsetruejava.lang.String

The variable to be compared is the first, or only, value of the request parameter specified by this attribute.

propertyfalsetruejava.lang.String

The variable to be compared is the property (of the bean specified by the name attribute) specified by this attribute. The property reference can be simple, nested, and/or indexed.

scopefalsetruejava.lang.String

The bean scope within which to search for the bean named by the name property, or "any scope" if not specified.

valuetruetruejava.lang.String

The constant value to which the variable, specified by other attribute(s) of this tag, will be compared.


Variables
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.