Hi,

i am not sure whether i understood your message right.
It contains so many strange '<p> , <br>' elements  :-)

The server creates only ONE instance per servlet class
(unless Your servlet does not implement the 'SingleThreadModel'
flag interface).

A new thread is created for each client request.

Is is server specific how long the instance will be kept alive.
Consequently between the n-th and n+1-th request the instance
may have shut. In this case the n+1-th request will
create a new instance.

For details see: Jason Hunter, Java Servlet Programming.

Hope that helps
Wolfgang Stein



-----Urspr�ngliche Nachricht-----
Von: Gopalankutty, Ravi Kumar (CTS) [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 9. Februar 2000 10:55
An: [EMAIL PROTECTED]
Betreff: Servlet Life Cycle
Wichtigkeit: Hoch

___________________________________________________________________________
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