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

Which javutil classes and interfaces support event handling?

778


what is an isolation level?

2421


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

796


Define the remote object implementation?

2175


Can we sent objects using Sockets?

840


What are transaction attributes?

812


What is the difference between RMI registry and OS Agent?

857


When a thread blocks on i/o, what state does it enter?

785


Can you control when passivation occurs?

792


Is the session factory thread safe?

890


Can I map more than one table in a cmp?

785


Name three subclasses of the component class?

821


What is the difference between long.class and long.type?

750


what are getters and setters in Java with examples?

1483


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

879