Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

What is pre initialization of a servlet?
Servlets are loaded and initialized at the first request come to the server and stay loaded until server shuts down. However there is another way you can initialized your servlet before any request come for that servlet by saying <load-on-startup>1</load-on-startup> in the deployment descriptor. You can specify <load-on-startup>1</load-on-startup> in between the <servlet></servlet> tag.
Posted By: Name:Rajesh Kr URL: What is pre initialization of a servlet?