Thanx for the prompt Nuwan. However, this will cause overlapping in users different resource bundles. As LocalizedTextUtils store the default bundle list in a static map in static member variable.
-----Original Message----- From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] Sent: Sunday, November 16, 2008 5:32 PM To: Struts Users Mailing List Subject: Re: Resource Bundle per session http://struts.apache.org/2.x/docs/how-do-i-set-a-global-resource-bundle.html <http://struts.apache.org/2.x/docs/how-do-i-set-a-global-resource-bundle.htm l> Instead of this ServletContextListener you can have a HttpSessionListener, just a suggestion, i haven't tried it. Thanks, Nuwan C. Ramez Hassan wrote: > Dear All, > > > > Are there any configuration or mechanism for struts 2 to load resource > bundle for localized messages per user session? > > In other words I need to display localized messages for users based on their > profile and role, but struts 2 loads messages either by request which is for > development and not recommended for production. > > > > Regards, > > Ramez Hassan > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]