resource - Load a web application resource and make it available as a bean.

Retrieve the value of the specified web application resource, and make it available as either a InputStream or a String, depending on the value of the input attribute.

If a problem occurs while retrieving the specified resource, a request time exception will be thrown.

Attribute Name Description
id

Specifies the name of the scripting variable (and associated page scope attribute) that will be made available with the value of the specified web application resource.

[Required]
input

If any arbitrary value for this attribute is specified, the resource will be made available as an InputStream. If this attribute is not specified, the resource will be made available as a String.

[RT Expr]
name

Module-relative name (starting with a '/') of the web application resource to be loaded and made available.

[Required] [RT Expr]