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

Reply via email to