logic
Tag match


Evaluate the nested body content of this tag if the specified value is an appropriate substring of the requested variable.

Matches the variable specified by one of the selector attributes (as a String) against the specified constant value. If the value is a substring (appropriately limited by the location attribute), the nested body content of this tag is evaluated.



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

Attributes
cookie

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

 
Required: false
Request-time: false
Type: java.lang.String
header

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

 
Required: false
Request-time: false
Type: java.lang.String
location

If not specified, a match between the variable and the value may occur at any position within the variable string. If specified, the match must occur at the specified location (either start or end) of the variable string.

 
Required: false
Request-time: false
Type: java.lang.String
name

The variable to be matched 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.

 
Required: false
Request-time: false
Type: java.lang.String
parameter

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

 
Required: false
Request-time: false
Type: java.lang.String
property

The variable to be matched 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.

 
Required: false
Request-time: false
Type: java.lang.String
scope

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

 
Required: false
Request-time: false
Type: java.lang.String
value

The constant value which is checked for existence as a substring of the specified variable.

 
Required: true
Request-time: false
Type: java.lang.String

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.