All servlets have only one instance in memory. This is the way jserv works.
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Purav
Sent: Tuesday, August 22, 2000 4:46 AM
To: [EMAIL PROTECTED]
Subject: Instance of Servlet
Hi,
I have a webpage which has a left navigation menu
What i have done is made a Servet called LeftFrame and Called it In other
Servlets so that i dont have to rewrite the code
This is the code
LeftFrame lf=new LeftFrame();
lf.doGet();
Now my question is
Since i am creating a new instance here . I am confused whether it will use
the LeftFrame already loaded in Memory or everytime it will create a new
instance
How different will this be from a normal servlet Behaviour or will it be the
same
I hope you got my question
Regards
Purav
___________________________________________________________________________
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