Answer Posted / sandeep m
The servlet which we want to be loaded automatically on
application deployment or during container startup we need
to configure <load-on-startup>int</load-on-startup> tag for
the servlet. above tag will be in <servlet> tag body.
<load-on-startup> is optional tag. If provided Servlets
will be loaded on application or container startup in the
order of the int value of tag.
If <load-on-startup> tag is not provided servlets are
loaded when first request is received after container
startup or first request after application deployment.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com
How to get the current httpsession object?
What is servlet configuration?
What is meant by Servlet? What are the parameters of service method?
How many servlet objects are created?
What is the major difference between servlet and applet?
What is the main purpose of java servlets?
What are the differences between the servletconfig interface and the servletcontext interface?
How do you get the ip address of the client in servlet?
What exactly are the functions of servlet?
How can the session in servlet be destroyed?
Explain jsessionid and when is it created?
What is the difference between using getSession(true) and getSession(false) methods?
Explain servlet events?
What is servlet and its advantages?