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 is heepStored?
Which are the different segments of memory?
What event results from the clicking of a button?
Are there books about seam?
What is servlet preinitialization?
Where does the session Object stores? If 100 users are connecting to the server. How does it recognize which session belongs to which user?
5 Answers HCL, Mobillo Venture,
I wantr to know, How many number of users logged in to website? can any one answer
how convert java file to jar files?
Can I use multiple html form elements with the same name?
how the action can be map from jsp page to bean class in mvc1
What are the implicit objects?
What are synchronized methods and synchronized statements?