Answer Posted / 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 View All Answers
What are the different types of exception?
Why use POJO when I can use hashmap
Difference between loadclass and class.forname?
How messaging services are done, before release of JMS?
What value does readline() return when it has reached the end of a file?
How to implement RMI in Java?
Should synchronization primitives be used on bean methods?
How would you detect a keypress in a jcombobox?
What is a class loader? What are the different class loaders used by jvm?
Brief description about local interfaces?
Can I import same package/class twice? Will the jvm load the package twice at runtime?
If your ui seems to freeze periodically, what might be a likely reason?
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
Do we need to override service() method
What is the purpose of the finally clause of a try-catch-finally statement?