fatcodeguy
Programmer
Hi,
I'm using the Struts framework and I'm wondering how to always set an attribute default value. For example, I want every session created to have a "org.apache.struts.Globals.LOCALE_KEY" attribute set to the default Locale.ENGLISH when a user accesses any page. A user can change the attribute later.
Is there a way to do this? Is it a Struts config issue?
Thanks
I'm using the Struts framework and I'm wondering how to always set an attribute default value. For example, I want every session created to have a "org.apache.struts.Globals.LOCALE_KEY" attribute set to the default Locale.ENGLISH when a user accesses any page. A user can change the attribute later.
Is there a way to do this? Is it a Struts config issue?
Thanks