if you define "request" as http requests to the servlet, then no, the
instance variables are only "instantiated" once when the servlet is first
loaded.

sc


-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of James
Skehan
Sent: Wednesday, April 12, 2000 9:51 AM
To: [EMAIL PROTECTED]
Subject: instance variables


Hi,

A quick question...if I create an instance variable in a servlet, i.e a
boolean variable outside of the service() and init() methods, as more
requests for this particular servlet are requested, are more instances of
this variable created?

James

___________________________________________________________________________
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