fatcodeguy
Programmer
How do I set a default attribute whenever a user starts a session. I have a scriptlet at the top of everypage that checks if the attribute exists, and if it doesn't it sets it, but I'm wondering if there's an entry in a config file I can use instead of adding the scriptlet to every page.
I'm drying to set the org.apache.struts.Globals.LOCALE_KEY attribute to Locale.ENLISH as default, and the user can change it if he/she likes.
I'm drying to set the org.apache.struts.Globals.LOCALE_KEY attribute to Locale.ENLISH as default, and the user can change it if he/she likes.