Wrong. It is expected that many threads may be executing the service() method
of a servlet at the same time.
One way to get around this is by making your serlvet implement
SingleThreadModel. (ick!)
-Tim
Keith Hankin wrote:
> I am having a problem where one Servlet instance seems to being used by two different
threads at the same time. It is my understanding that Servlet instances will not be used by
two threads at the same time, so that the service() method would thus only be called by one
thread, then it can be called again if the Servlet instance is reused by way of pooling.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
|