What is servlet preinitialization?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
what are RemoteObjects?
Difference between new operator and class.forname().newinstance()?
what is domain,give me some brief information about that?
How will you pass parameters in RMI? Why do you serialize?
What is the difference between the font and fontmetrics classes?
Is the ternary operator written x : y ? Z or x ? Y : z ?
AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?
What are the design considerations while making a choice between using interface and abstract class?
Why is actionform a base class rather than an interface?
what is DGC?
What is the use of Semaphore?
whats is mean by object and class?