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
What is the purpose of '@customvalidator'?
What are the Core classes of Struts Framework?
How can we write our own interceptor and map it for action?
Explain about struts relation to html tags?
What is the purpose of @customvalidator annotation?
What’s the utilization of resource bundle properties file in struts validation structure?
How is token generated?
How can duplicate form submission be handled in struts 2?
Do you need an alignment after replacing struts?
What is discontinuous strut?
What is struts 2 framework in java?
What are the ways in which duplicate form submission can occur?
What is the default location of result pages and how can we change it?
How exceptions are handled in struts application?
What are the steps used to setup dispatch action?