tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniil Ivanov" <>
Subject why Tomcat 4.0.4 creates new instance of servlet, when applet make first request to servlet?
Date Sun, 17 Nov 2002 13:57:42 GMT
Tomcat 4.0.4 and servlet, that was already initialized when browser made
request to it.

When browser window with applet opens, applet begin periodically query the
servlet through standard method doPost. But at the first request applet to
servlet Tmcat creates a new instance to servlet, in spite of that the
servlet was initialized before.
I do't whant to have  a two instances of servlet, because applet must get
from servlet a members of servlet class, that were already changed before by
previous request from browser (not from applet).

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message