What is servlet preinitialization?

Answers were Sorted based on User's Feedback



What is servlet preinitialization?..

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

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

What is servlet preinitialization?..

Answer / sreekanth madamanchi

Servlet can loaded in servlet container of web or
application server at the time of first request sent to
that servlet.
If we want to preinitialized the servlet by using <load-on-
startup> tag(Aritten in web.xml). If we use that tag,
servlet is intialized at the time of server start.

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

What is metaspace?

0 Answers  


What is jboss?

0 Answers  


How is serialization used generally ?

3 Answers  


Which javutil classes and interfaces support event handling?

0 Answers  


Can constructors be synchronized in java?

0 Answers  






What is the difference between a stub and a skeleton?

9 Answers   ABC, College School Exams Tests, Geoservices, Polaris, Qualcomm, Rajiv Gandhi College of Engineering and Technology RGCET, UTIITSL, Wipro,


Explain what is orm?

0 Answers  


What is an abstract method?

0 Answers  


What is the difference between the font and fontmetrics classes?

0 Answers  


Describe responsibilities of Activator?

0 Answers  


Why a client should be multithreading? Explain.

0 Answers  


what is handle?

0 Answers  


Categories