| < Day Day Up > |
|
The <bean:resource /> tag is used to retrieve the value of Web application resource identified by the name attribute; the tag makes the resource available as either a java.io.InputStream or a java.lang.String object, based on the value of the input attribute. The <bean:resource /> tag has no body and supports three attributes, described in Table 20.8.
Attribute | Description |
---|---|
id | Identifies the name of the page scoped scripting variable that will contain the retrieved value of the named Web application resource. (Required) |
name | Identifies the application-relative name of the Web application resource being retrieved. The resource name must begin with a / character. (Required) |
input | If not null, causes the retrieved resource to be returned as an InputStream as opposed to a String. (Optional) |
| < Day Day Up > |
|