what is the purpose of load_on_startup entry in struts-
config.xml?

Answer Posted / praveen

specify the order in which we want to initialize various
Servlets.
Like first initialize Servlet1 then Servlet2 and so on.
This is accomplished by specifying a numeric value for the
<load-on-startup> tag.
<load-on-startup> tag specifies that the servlet should be
loaded
automatically when the web application is started.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about the process of functioning of the struts program?

806


What are the benefits of Struts framework?

753


How do struts work?

725


Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?

728


What are the steps of struts installation?

807


What kind of mvc is struts 2?

794


What is spring hibernate and struts in java?

713


If the framework doesn’t do what I want, can I request that a feature be added?

740


Which design pattern the interceptors in struts2 is based on?

736


How the exceptions are handled in struts?

780


When it’s useful to use IncludeAction?

768


What are the components of struts?

759


Explain about struts?

761


When should be opt for struts framework?

828


What are the 5 constants of action interface?

796