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

What restrictions are placed on the location of a package statement within a source code file?

618


What if the static modifier is removed from the signature of the main method?

709


Which container method is used to cause a container to be laid out and redisplayed?

668


Explain about thread synchronization inside a monitor?

2004


What is a policy?

1776






What is a class loader? What are the different class loaders used by jvm?

587


Explain what is orm?

681


Which class is the immediate superclass of the menucomponent class?

631


Why do I get a duplicate name error when loading a jar file?

546


cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..

1737


What class is the top of the awt event hierarchy?

581


Define prototype?

585


How is a java object message delivered to a non-java client?

575


what is Activation Instantinator?

1913


What is in-memory replication?

560