What is servlet preinitialization?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is the session factory thread safe?

890


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

2411


Name the class that is used to bind the server object with RMI Registry?

1896


Explain how will the struts know which action class to call when you submit a form?

696


Which containers use a border layout as their default layout?

822


How can I avoid validating a form before data is entered?

724


the same information whether it will connect to the database or it will be used previous information?

784


What is the difference between the session.update() method and the session.lock() method?

733


what is a non-repeatable read?

2023


what are the activation groupworks?

1846


whats is mean by connectionpooling

1754


What is the difference between the session.get() method and the session.load() method?

800


What is the difference between the font and fontmetrics classes?

790


How primary key is implemented in Oracle?

2128


int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

1586