What is servlet preinitialization



What is servlet preinitialization..

Answer / 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

More Advanced Java Interview Questions

What is waiting state? In what ways a thread can enter into waiting state?

2 Answers   Wipro,


what we can't do in jdbc but can do hibernate?

3 Answers   Cap Gemini,


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

0 Answers  


Can I map more than one table in a cmp?

0 Answers  


How two threads will communicate with each other?

2 Answers  


Have you used threads in Servelet?

0 Answers   Satyam,


To identify IDL language what mapping mechanism is used?

0 Answers  


How are the elements of a cardlayout organized?

0 Answers  


Why a client should be multithreading? Explain.

0 Answers  


How to determine SGA site?

0 Answers   Wipro,


What is the purpose of the notifyall() method?

0 Answers  


Can you give me a simple example of using the requiredif validator rule?

0 Answers  


Categories