struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
Subject Re: Caching Appliction Level Data?
Date Mon, 14 Feb 2005 18:03:07 GMT
From: "David Johnson" <>
> 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:
For additional commands, e-mail:

View raw message