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

Answer Posted / priyanka bhattacharyya


If the struts configuration objects were to be created on
the first call from the user it will adversely affect
performance by delaying response for the first user.

By specifying load-on-startup = 1 we tell the servlet
container to call the init() method immediately on start up
of the servlet container.

Is This Answer Correct ?    12 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain value stack?

714


How the exceptions are handled in struts?

747


Explain the necessity of empty tag?

787


How can we group related actions in one group in Struts?

751


What is the difference between struts and spring?

697


What do you mean by action errors and what are the results they force?

821


What is the use of struts config xml file?

663


What is the purpose of struts.xml in struct2?

861


What is the purpose of @urlvalidator annotation?

746


What is the purpose of dispatcher result type?

739


What is apache struts cve 2017 5638?

732


What configuration files are used in struts?

729


How to explain Software Bank Loan descriptions

2134


What is difference between interceptors and filters?

747


What are Struts2 core components?

762