Good spot ! That is probably exactly what the problem
is. Both instances of the Netscape browser have the
same session ID. For this reason, when you are testing
concurrency issues, it might help to have IE, Netscape
and Opera.
//Nicholas
--- Radha Ramesh <[EMAIL PROTECTED]> wrote:
> Different browsers of Netscape on the same
> machine are considered to be
> the same client process, that may be the reason for
> ur problem.
>
> --Radha.
>
> Jean-Marc Pierson wrote:
> >
> > Ganesh Oak wrote:
> >
> > > Could you be more specific about your code? In
> particular, are you using
> > > sessions, how are you generating output? By two
> different web clients, do
> > > you mean two browsers on same machine or two
> different machines?
> > >
> >
> > some specifications :
> > - I do not use session
> > - I generate output with :
> > public void doPost ( HttpServletRequest
> request,
> > HttpServletResponse
> response)
> > throws ServletException, IOException
> > {
> > response.setContentType("text/html");
> > PrintWriter out = response.getWriter();
> > // here comes a long computation
> > out.println("Result = ");
> > ....
> > }
> > - I tried it with two windows of the same Netscape
> Navigator on the same
> > machine.
> >
> > Thanks for your help,
> > Jean-Marc.
> >
> > >
> > > ----Original Message Follows----
> > > From: Jean-Marc Pierson
> <[EMAIL PROTECTED]>
> > > To: [EMAIL PROTECTED]
> > > Subject: Pb with multithreading
> > > Date: Thu, 06 Jan 2000 13:37:09 +0100
> > >
> > > Hi there,
> > >
> > > I have this problem while trying to use a
> Servlet from two different web
> > > clients :
> > > (the first one is a long computation, the second
> is a fast one)
> > > - the second Netscape page sent by the servlet
> is partly correct.
> > > - the first one is corrupted (some information
> at the end of the
> > > response is not present)
> > > - the second response comes after the first one
> : surprising because the
> > > second
> > > one could be served very quickly.
> > >
> > > I think that something I did not understand
> happens here, but I do not
> > > catch it.
> > > The servlet I create is just an extend of a
> httpServlet.
> > >
> > > I use jswdk1.0.1, and Netscape 4.7, java 1.2.
> > >
> > > Thanks for your help,
> > > Jean-Marc.
> > >
> > >
>
______________________________________________________
> > > Get Your Private, Free Email at
> http://www.hotmail.com
> > >
> > >
>
___________________________________________________________________________
> > > To unsubscribe, send email to
> [EMAIL PROTECTED] and include in the body
> > > of the message "signoff SERVLET-INTEREST".
> > >
> > > Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
> > > Resources:
>
http://java.sun.com/products/servlet/external-resources.html
> > > LISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
> >
> >
>
___________________________________________________________________________
> > To unsubscribe, send email to
> [EMAIL PROTECTED] and include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
> > Resources:
>
http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help:
http://www.lsoft.com/manuals/user/user.html>
begin:vcard
> n:Ramesh;Radha
> tel;work:412.666.6510
> x-mozilla-html:FALSE
> url:http://www.compunetix.com
> org:Compunetix Inc;Communications Systems Division
> adr:;;2420 Mosside Blvd;Monroeville;PA ;15146;
> version:2.1
> email;internet:[EMAIL PROTECTED]
> title:Software Engineer
> x-mozilla-cpt:;-10496
> fn:Radha Ramesh
> end:vcard
>
=====
"And what causes me to run?
'Cause you're a...
Big Black Furry Creature From Mars"
--
Nicholas Whitehead
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html