Specifies an asset located relative to the web application context root folder. Context assets may be localized.
Assets for an instantiated component (or page)
may be accessed using the OGNL expression assets.
.
name
Figure B.12. <context-asset>
Attributes
Name | Type | Required ? | Default Value | Description |
---|---|---|---|---|
name | string | yes | The name of the asset, which must be a valid Java identifier. | |
path | string | yes | The path to the asset, assuming a root directory matching the servlet context root directory. The path should begin with leading forward slash. |