----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
on 7/5/2000 2:28 PM, "Anthony Quon" <[EMAIL PROTECTED]> wrote:
>
> Jon,
> Thanks, yes, the problem seems to be with the null checking. If I prevent
> the servlet from either closing the connection at the very end or remove the
> NULL checking up-front, it works fine. I will check out Jason Hunter's book
> to see why this is the case.
>
> Thanks for the response,
> Anthony
It has nothing to do with the null checking.
It has to do with the fact that your servlet is multithreaded and that
variables outside of the methods (class variables) are not going to be
synchronized.
-jon
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]