Loads a resource bundle whose settings are combined with existing resource bundle settings.

<dsp:setLayeredBundle basename="bundle-name[scope] [var-spec] [locale] />



Specifies the base name of the resource bundle bundle-name, where bundle-name excludes localization suffixes and filename extensions.


An EL variable or scripting variable that is defined with one of these attributes:




Names an EL variable. When you use var, you can set its scope attribute to page, request, session, or application. The default scope is page. For more information, see EL Variable Scopes.


Names a scripting variable that scriptlets and expressions can access at runtime.


The locale that will be used. For example, en_US, fr, fr_CA, or es. By default this tag uses the locale indicated in the HTTP request.

Usage Notes

The dsp:setLayerBundle tag loads an internationalization localization context and stores it in a scoped variable or scripting variable. Unlike the JSTL tag fmt:setBundle, dsp:setLayerBundle 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.

Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices