tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wang, Jianming" <>
Subject RE: Connection/Session question
Date Fri, 09 Feb 2001 18:57:23 GMT
Hi, Randy.  Thank you for your help.  

However, I am still a little bit confused.  For HTTP/1.1 implementation, the
connection from client to web server should be persistent.  So how can the
connection to the client be closed after the client get the first page which
containing the applet.  Do you mean, after each reqest-response pair
communication, the connection is closed?  Every request-response pair
communication uses different connection from other pair communication, is
that right?  If so, the applet will use different connection for each
request-response communication.  Is that right?
Thank you.

Jianming Wang

-----Original Message-----
From: Randy Layman []
Sent: Thursday, February 08, 2001 3:13 PM
Subject: RE: Connection/Session question

	Not really.  The client will download the content of the JSP page
(which contains the applet).  Assuming that you are using Tomcat in
standalone, the connection to the client will be closed.  Then the applet
will start and the make its connection.

	So you will have two connections, although they will be at different

	Unless you set the cookie for the session or form your URL to
include the sessionid your applet will not join an already existing session.
Instead  a new one will be formed.


-----Original Message-----
From: Wang, Jianming []
Sent: Thursday, February 08, 2001 10:59 AM
To: ''
Subject: Connection/Session question


I have a question:

-   If I have a page containing a applet and some other HTML content, and
the applet uses a URLConnection to connect to the web server.  In this case,
how many connections/sessions I have?   2 connections?  one from the page
itself and one from the applet?

Could any guru please help?  Thanks in advance.

Jianming Wang

To unsubscribe, e-mail:
For additional commands, email:

To unsubscribe, e-mail:
For additional commands, email:

View raw message