What is servlet preinitialization

Answer Posted / surajkumar.java

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 ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What value does read() return when it has reached the end of a file?

743


What is bean? Where can it be used?

795


How primary key is implemented in Oracle?

2138


whats is statement and procedure

1801


What is a sessionfactory? Is it a thread-safe object?

926


Do I have to use jsps with my application?

752


What is the relationship between local interfaces and container-managed relationships?

813


How to pass parameters in RMI?

1957


Difference between swing and awt?

826


What is the difference between the string and stringbuffer classes?

770


Can I run seam with jdk 1.4 and earlier?

739


Are enterprise beans allowed to use thread.sleep()?

881


What is a policy?

2005


Which textcomponent method is used to set a textcomponent to the read-only state?

859


Explain the difference between object state and behavior?

763