Ravi, without getting real complicated, I use PlugIns to do this!
Implement org.apache.struts.action.PlugIn. You only need to write two methods -- init and destroy. In your init method, gather some data store it as application scope attributes (you get a reference to the controller Servlet in the init method). Finally, register your PlugIn with struts-config.xml. When your Struts app initializes, your PlugIn's init method is invoked. Your JSPs now have easy access to the cached data, as do your Actions.
Erik
[EMAIL PROTECTED] wrote:
Hi,
Is there any Caching framework available for struts ?
For eg: I need to cache some list of objects ...etc.,
Ravi
Confidentiality Notice
The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]