Caldarale, Charles R wrote:

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: tomcat output gets mixed up for different requests

So it seems that Tomcat does not spawn a new servlet for a new request


As per the spec - using a single instance of the servlet is correct behavior.  You 
should be using local variables, not instance or static fields, within the servlet.  
If you need to save some persistent information, the session is frequently the right 
place to put it.

- Chuck

I was able to fix the error, it was one of those stupid mistakes...

It wasn't a static variable but close to it. I had PrintWriter for the response.getWriter specified as a class-variable.
It is working flawlessly now.


 André.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to