A PlugIn works nicely as well. I am not sure which is the recommended Struts practice.
--- Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "David Johnson" <[EMAIL PROTECTED]> > > I have a need in an app I'm working on to cache data that is valid and > > shared across users, like standard country codes, region codes, > > industry codes... stuff like that. > > > > What's the best way to do that with my struts 1.2 application? Is > > there something built in that I'm not aware of that I can leverage or > > any best practices you guys can point me toward? > > I use a ServletContextListener that puts a bunch of Maps and other > resources > in application scope. (Then I use a HttpSessionListener to set up > user-specific things.) > > -- > Wendy Smoak > > > --------------------------------------------------------------------- > 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]