On Tue, 2004-03-16 at 10:28, Victor Ng wrote:
> Am I correct in thinking that Webware shares servlet instances
> incoming requests?
A servlet instance will (by default) be used by multiple threads throughout
its lifetime, although it will not be used my multiple threads concurrently.
So it is possible to set up thread-specific variables in a servlet, as long
as you clean them out in servlet.sleep()
> If that's the case - is there a way to kick webware into the
> of 'SingleThreadModel' where I have a different instance of the
> for each request thread?
Not exactly, but if you need to you can set CacheServletInstances to 0 in
Application.config so that you get a brand new servlet for every single
request. If you do a lot of caching within your servlets this will hurt
your performance, but it may well be an acceptable solution.