bean
Tag parameter
Define a scripting variable based on the value(s) of the specified request parameter.
Retrieve the value of the specified request parameter (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 request parameter 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.ParameterTag |
| TagExtraInfo Class | org.apache.struts.taglib.bean.ParameterTei |
| Body Content | empty |
| Display Name | None |
| Attributes |
| id |
Specifies the name of the scripting variable (and associated page scope attribute) that will be made available with the value of the specified request parameter. |
| |
| Required:
true |
| Request-time:
false |
Type:
java.lang.String |
|
| multiple |
If any arbitrary value for this attribute is specified, causes a call to ServletRequest.getParameterValues() and a definition of the result as a bean of type String[]. Otherwise, ServletRequest.getParameter() will be called, and a definition of the result as a bean of type String will be performed. |
| |
| Required:
false |
| Request-time:
false |
Type:
java.lang.String |
|
| name |
Specifies the name of the request parameter whose value, or values, is to be retrieved. |
| |
| Required:
true |
| Request-time:
false |
Type:
java.lang.String |
|
| value |
The default parameter value to return if no parameter with the specified name was included in this request. |
| |
| Required:
false |
| 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.