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

Answer Posted / jagadish

The load-on-startup element indicates that this
servlet should be loaded (instantiated and have
its init() called) on the startup of the web
application. The optional contents of these
element must be an integer indicating the order in
which the servlet should be loaded. If the value
is a negative integer, or the element is not
present, the container is free to load the servlet
whenever it chooses. If the value is a positive
integer or 0, the container must load and
initialize the servlet as the application is
deployed. The container must guarantee that
servlets marked with lower integers are loaded
before servlets marked with higher integers. The
container may choose the order of loading of
servlets with the same load-on-start-up value.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

At the point, you should go for struts framework?

538


How to work with error tags?

553


What is the purpose of @element?

576


Difference between struts and spring? Or why use spring, if you are already using struts?

526


What are the classes used as part of struts framework ?

513






What do you mean by tiles in struts?

530


What are action errors and error?

571


What is purpose of execandwait interceptor?

573


What are the reasons for an error message not being displayed while developing struts application?

543


What's mvc pattern ?

580


What is the purpose of @key annotation annotation?

586


How to upload struts file?

595


while working struts in intellij 7.0error unable to initialize tld location cache: zip file is closed is displayed anybdy can answer me immdialy .ungert

2043


What is the purpose of @conversionerrorfieldvalidator annotation?

610


Explain about struts?

542