Hi so far my list caching is going well,
I have set up a thread to monitor database changes and to update the lists
stored in the servlet context. Unfortunately, although my program is
noticing the change in the database and it is recompiling the data and
putting the new data into the context
Oh,
I thought about using removeAttribute() and then setting the attribute of
the list again but I am worried about pulling a list out of the
servletcontext just as a person might be accessing a page that needs that
list.
Regards
Alex
check: Is the page loading from browser cache?
-Original Message-
From: [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 9:56 AM
To: [EMAIL PROTECTED]
Subject: Update on caching lists.
Hi so far my list caching is going well,
I have set up a thread to monitor database changes
Then don't call removeAttribute. Just call setAttribute to replace the
value of your key. Your app server's session implementation will (or
should) manage synchronization. Of course, one or two of your clients
might get a slightly stale list, but you can't help that. At least,
they'll never
4 matches
Mail list logo