Loads a resource bundle whose settings are combined with existing resource bundle settings.
<dsp:layerBundle basename="bundle-name"[var-spec]/>
Note: the dsp:layerBundle tag is deprecated. Use the dsp:setLayeredBundle tag.
Attributes
basename
Specifies the base name of the resource bundle bundle-name, where bundle-name excludes localization suffixes and filename extensions.
var-spec
An EL variable or scripting variable that is defined with one of these attributes:
Attribute | Description |
|---|---|
| Names an EL variable. When you use |
| Names a scripting variable that scriptlets and expressions can access at runtime. |
Usage Notes
dsp:layerBundle loads an i18n localization context and stores it in a scoped variable or scripting variable. Unlike the JSTL tag fmt:setBundle, dsp:layerBundle combines the settings of the specified resource bundle with existing resource bundle settings. These settings remain in effect only for the duration of the specified scope.

