I use the same strategy often. Another option (besides a
ServletContextListener) for loading your application scope attributes is
a Struts PlugIn.
Erik
Wendy Smoak 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.)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]