Struts - servlet level cache with expiration

From: John (jebe_at_bee7.net)
Date: 02/28/05


Date: 28 Feb 2005 01:42:36 -0800

Hi all,

within a struts webapp I actually have imlemented a web applicaiton
wide cache located in the servletContext.

Now I am looking for a solution how to provide an expiration mechanism.
I have searched the groups for topics like 'listener' or 'thread
listener' or something like this where I can add a 'RemovealTimeObject'
which will be called if the removal time is reached. But I am not sure
wether or not this is the correct attempt at least .

Does anybody have an idea about how to realize a timer for the servlet
cache?

Thanks in advance
John