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

What are the classes used in struts?

834


What is used to display the intermediate result in an interceptor?

742


What are the loop holes of struts?

790


What is difference between struts1 and struts2?

694


What are the different kinds of actions in struts?

815


What is dispatchaction?

849


how to connect from struts to database through hibernet and where u can modify the class

2324


What is a custom tag?

729


What do struts do?

737


How do struts work?

707


Lists the bundled validators in struts?

770


Where can I get a copy of struts?

734


What are the benefits of the struts system?

795


What does execandwait interceptor?

788


Can you explain struts.properties in struts2?

742