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

Should synchronization primitives be used on bean methods?

0 Answers  


What is the difference between RMI and Socket?

2 Answers  


Why do threads block on i/o?

0 Answers  


Can I run seam outside of jboss as?

0 Answers  


What is Remote Interface?

1 Answers  






In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

0 Answers  


Dear freinds... I want to know how to write self mapping for a table using hibernate?

1 Answers   Cap Gemini,


What are externizable interface?

0 Answers  


Explain Life cycle of Servlet Filter.

2 Answers   InfoBrain, ITC Infotech,


What are Benefits of Connection Pooling?

2 Answers  


whats is mean by tiles in struts

0 Answers   SolutionNET,


What is the purpose of the wait(), notify(), and notifyall() methods?

0 Answers  


Categories