2 03:22
> > >>To: [EMAIL PROTECTED]
> > >>Subject: Re: servlet implementing SingleThreadModel
> > >>
> > >>That's is the idea, block the servlet so when call with another
> > >>browser instance force to execute a new thread
> >
t should behave like 3.2.1
> >on linux
> >
> >>-Original Message-
> >>From: Patricio Vera S. [SMTP:[EMAIL PROTECTED]]
> >>Sent: 10 December 2002 03:22
> >>To: [EMAIL PROTECTED]
> >>Subject: Re: servlet implementing SingleThr
ms to be incorrect - it should behave like 3.2.1 on
linux
-Original Message-
From: Patricio Vera S. [SMTP:[EMAIL PROTECTED]]
Sent: 10 December 2002 03:22
To: [EMAIL PROTECTED]
Subject: Re: servlet implementing SingleThreadModel
That's is the idea, block the servlet so
IL PROTECTED]>
Sent: Tuesday, December 10, 2002 8:47 AM
Subject: Re: servlet implementing SingleThreadModel
> The servlet is blocked with one thread inside it. When you make the call
> with another browser window it starts NEW SECOND thread. This thread is
NOT
> LET INTO the se
- it should behave like 3.2.1 on
linux
> -Original Message-
> From: Patricio Vera S. [SMTP:[EMAIL PROTECTED]]
> Sent: 10 December 2002 03:22
> To: [EMAIL PROTECTED]
> Subject: Re: servlet implementing SingleThreadModel
>
> That's is the idea, block the
t; <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 3:10 AM
Subject: Re: servlet implementing SingleThreadModel
> if (sOpcion.equals("SS")) {
> > > while ( true )
> > > ;
> > > }
> What does this cod
if (sOpcion.equals("SS")) {
> > while ( true )
> > ;
> > }
What does this code do? it will loop eternally.
-Original Message-
From: Adrian Janssen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002 12:27 PM
To: [EMAIL PROTECTED]
Subje
SingleThreadModel means that only one thread is allowed to run in your
servlet at a time. So what is happening is with your first call to the
servlet a thread starts to execute in the servlet - but it never leaves the
servlet, as per yopur code. It thereby blocks the second call which will
start a