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

Answer Posted / b.mallikarjun reddy

When ever server is starting, It is possible to tell the
container when to load the servlet on the startup. You can
load any number of servlets on startup. load-on-startup>
subelement indicates the order in which servlet should be
loaded. However positive values are loaded first. If the
value is Negative or unspecified value then the container
load the servlet at the runtime during the startup.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain aware interfaces in struts2?

793


What is the purpose of global-forwards tag in struct-config.xml?

780


What is the actionform?

768


What is defeult result type?

848


What are the conditions for actionform to work correctly?

742


What's the purpose of execute method of action class?

707


Explain the difference between dispatchaction and lookupdispatchaction in struts?

6019


Are interceptors thread safe?

766


What is the use of token interceptor in Struts2?

866


What is struts and why it is used?

708


How can we write our own interceptor and map it for action?

803


Which library is provided by struts for form elements like check boxes, text boxes etc?

710


What are inner class and anonymous class?

742


What is the design role played by struts?

746


What is struts validator framework?

736