RE: Caching / Cloning

2002-09-18 Thread Shannon Lal
[EMAIL PROTECTED] Subject: RE: Caching / Cloning Date: Tue, 17 Sep 2002 22:35:55 -0700 Siddarth, Thanks but I'm thinking of two possible issues: 1. using the ServletContext.getContext() - won't this still just return a pointer rather than cloning the cache? I looked at the API and didn't see

RE: Caching / Cloning

2002-09-18 Thread neal
. Neal -Original Message- From: Shannon Lal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 6:34 AM To: [EMAIL PROTECTED] Subject: RE: Caching / Cloning Neal, Have you thought about using SessionContext. I believe the session context is specific to the session

Re: Caching / Cloning

2002-09-18 Thread Mark R. Diggory
: Shannon Lal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 6:34 AM To: [EMAIL PROTECTED] Subject: RE: Caching / Cloning Neal, Have you thought about using SessionContext. I believe the session context is specific to the session of the servlet, so when the instance of the servlet

Re: Caching / Cloning

2002-09-18 Thread Mark R. Diggory
frustrating!!! Can anyone make a suggestion for caching my XSLTs? Thanks. Neal -Original Message- From: Shannon Lal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 6:34 AM To: [EMAIL PROTECTED] Subject: RE: Caching / Cloning Neal, Have you thought about using

RE: Caching / Cloning

2002-09-18 Thread neal
- From: Mark R. Diggory [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 12:31 PM To: Tomcat Users List Subject: Re: Caching / Cloning Actually, here's what I do: I have a Singleton Hashtable Cache class that I wrote, it holds the Templates, not the Transformers. In such a case you

Caching / Cloning

2002-09-17 Thread neal
Is there a way to make a copy of what's in my cache (getServletContext()) and make changes to that local copy, independent of whether the cached object implements Cloneable()? In order to speed up my XSLT I thought I would preload them (their Transformer objects) into app scope and simply

Re: Caching / Cloning

2002-09-17 Thread Siddharth
of same application to get a copy of cache. I hope, This suggestion may help you. Siddharth - Original Message - From: neal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 18, 2002 9:52 AM Subject: Caching / Cloning Is there a way to make a copy

RE: Caching / Cloning

2002-09-17 Thread neal
suggestion, or how this would work? Thanks. Neal -Original Message- From: Siddharth [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 10:30 PM To: Tomcat Users List Subject: Re: Caching / Cloning Neal, I have never worked with XSLT but I can show you the way where you can have