Here is another method that I use to get the bundle defined in faces-config:

//Get resource bundle name
String bundleName = FacesContext.getCurrentInstance().getApplication().getMessageBundle();
//Get bundle
ResourceBundle bundle = ResourceBundle.getBundle(bundleName);

Travis


On 2/8/06, Craig McClanahan <[EMAIL PROTECTED] > wrote:


On 2/7/06, Dave <[EMAIL PROTECTED]> wrote:
Thanks!
Will different users(http requests) use the same class loader on the server side? To support 3 locales with large bundle files, and lots of users, is it a good idea to have an application scope bean to cache bundles shared by all users?

All of the requests to a single webapp will share a single classloader, until the application is undeployed.

Craig


Reply via email to