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 thread deadlock? How to resolve thread deadlock?

3 Answers  


When is the best time to validate input?

0 Answers  


How can a dead thread be restarted?

1 Answers   IBM, Wipro,


whats is mean by jndi

1 Answers   SolutionNET,


Explain the methods of Naming class, rebind( ) and lookup()?

1 Answers  






the use of try and ffinally keyword

1 Answers  


How to do registration form using struts and hibernate?

1 Answers  


What is scalable, portability in the view of J2EE?

0 Answers  


Why JDBC has introduced

4 Answers  


What is the purpose of the wait() method?

0 Answers  


What is codebase in applet?

2 Answers  


How database connectivity in XML is achieved?

0 Answers  


Categories