Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default Attribute

Status
Not open for further replies.

fatcodeguy

Programmer
Feb 25, 2002
281
CA
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
 
probably better suited for the struts forum946

=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); } finally { rtfm(); }
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top