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

How many struts config file can be created in struts?

498


What is role of actionservlet?

567


Which design pattern the interceptors in struts2 is based on?

494


What is the purpose of action-mappings tag in struct-config.xml?

592


Which class is the Front Controller in Struts2?

544






What is the purpose of @after?

585


What is interceptor struts2?

534


What is the use of token interceptor in Struts2?

619


How we can configured action mapping in struts?

581


What are the Core classes of Struts Framework?

587


Describe the two types of formbeans.

577


What are Struts2 core components?

566


What are the major differences between html tags and strut specific html tags?

517


What is ValueStack and OGNL?

573


What is the flow of requests in struts based applications?

566