match (Struts EL Tag library documentation)

Overview | Library | Tag | Help

| FRAMES NO FRAMES

## 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 Class | org.apache.strutsel.taglib.logic.ELMatchTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
cookie | false | true | `java.lang.String` | The variable to be matched is the value of the cookie whose name is specified by this attribute.
expr | false | true | `java.lang.String` | A specific value to be compared with, either a static value, or an EL value.
header | false | true | `java.lang.String` | 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.
location | false | true | `java.lang.String` | 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.
name | false | true | `java.lang.String` | 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.
parameter | false | true | `java.lang.String` | The variable to be matched is the first, or only, value of the request parameter specified by this attribute.
property | false | true | `java.lang.String` | 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.
scope | false | true | `java.lang.String` | The bean scope within which to search for the bean named by the `name` property, or "any scope" if not specified.
value | true | true | `java.lang.String` | The constant value which is checked for existence as a substring of the specified variable.

Variables
No Variables Defined.

Overview | Library | Tag | Help

| FRAMES NO FRAMES

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.