| |||||||
FRAMES NO FRAMES |
Define a scripting variable based on the value(s) of the specified request header.
Retrieve the value of the specified request header (as a single value or multiple values, depending on the multiple
attribute), and define the result as a page scope attribute of type String
(if multiple
is not specified) or String[]
(if multiple
is specified).
If no header with the specified name can be located, and no default value is specified, a request time exception will be thrown.
Tag Information | |
Tag Class | org.apache.struts.taglib.bean.HeaderTag |
TagExtraInfo Class | org.apache.struts.taglib.bean.HeaderTei |
Body Content | empty |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
id | true | false | java.lang.String | Specifies the name of the scripting variable (and associated page scope attribute) that will be made available with the value of the specified request header. |
multiple | false | true | java.lang.String | If any arbitrary value for this attribute is specified, causes a call to |
name | true | true | java.lang.String | Specifies the name of the request header whose value, or values, is to be retrieved. |
value | false | true | java.lang.String | The default header value to return if no header with the specified name was included in this request. |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |