What is servlet preinitialization?

Answer Posted / guest

A servlet is lazily loaded in servlet container of web or
application server. This means, a servlet is not instantiated
or initialized in servlet container as long as it has not been
requested for the first time. A servlet can be preloaded and
preinitialized with the help of <load-on-startup> of web.xml
(deployment descriptor) file.The preloading of a servlet
before any user request is called servlet preinitialization.

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to determine SGA site?

1906


How would you detect a keypress in a jcombobox?

671


Do I have to use jsps with my application?

579


difference between  ejb,struts,hibernate,spring and jsp

2299


How will you pass parameters in RMI? Why do you serialize?

689






What is the purpose of the notify() method?

593


Describe, in general, how java's garbage collector works?

534


What is the difference between RMI registry and OS Agent?

628


How to implement RMI in Java?

2399


What is the form of storage space in java?

1735


Define prototype?

582


What is bean? Where can it be used?

575


Explain about thread synchronization inside a monitor?

1993


Difference between DurableSubscription and non- DurableSubscription?

1712


A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

1812