IIRC, this logic is spread through several areas. I remember reading in a bug report months ago that there were even some tags that might've been adding the Locale to the session. This might've already changed, though. I suggest you open up Struts source code in your favorite IDE and run a usage search on LOCALE_KEY and inspect the results.
Hubert On Tue, 23 Nov 2004 15:59:52 -0600, Mulligan, Scott H <[EMAIL PROTECTED]> wrote: > Hubert, > > Thanks for the quick response. > > I'm familiar with that LOCALE_KEY. Is this logic confined in an isolated > area that I can modify or is it spread throughout the Struts framework? > > Scott Mulligan > > > > > -----Original Message----- > From: Hubert Rabago [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 23, 2004 4:40 PM > To: Struts Users Mailing List > Subject: Re: I18n and Locale > > Yes, it's org.apache.struts.Globals.LOCALE_KEY: > > /** > * The session attributes key under which the user's selected > * <code>java.util.Locale</code> is stored, if any. If no such > * attribute is found, the system default locale > * will be used when retrieving internationalized messages. If used, > this > * attribute is typically set during user login processing. > */ > public static final String LOCALE_KEY = > "org.apache.struts.action.LOCALE"; > > - Hubert > > On Tue, 23 Nov 2004 16:32:21 -0500, Mulligan, Scott H > <[EMAIL PROTECTED]> wrote: > > I have a Struts application that has (for failover reasons) > > implemented its own SessionFacade to serialize session information to > > a database. I am trying to figure out if Struts requires the Locale to > > be saved in the HttpSession or if I can save it in my SessionFacade. > > Is there any place in the Struts framework where the Locale object is > > automatically pulled from the HttpSession? > > > > Thanks in advance, > > Scott Mulligan > > > > --------------------------------------------------------------------- > > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]