Adarsh Patil
Posts: 21
Nickname: adarsh
Registered: Oct, 2004
|
|
Re: preinitialization
|
Posted: Nov 6, 2004 2:48 PM
|
|
Hi Suma,
A container doesnot initialize the servlets as soon as it starts up, it initializes a servlet when it receives a request for that servlet first time. This is called lazy loading. The servlet specification defines the <load-on-startup> element, which can be specified in the deployment descriptor to make the servlet container load and initialize the servlet as soon as it starts up. The process of loading a servlet before any request comes in is called preloading or preinitializing a servlet.
complements to : http://www.allapplabs.com/interview_questions/servlet_interview_questions.htm
Cheers, Adarsh ------------------------------------ http://www.adarshpatil.com
|
|