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 are the conditions for actionform to work correctly?
What configuration changes are required to use Tiles in Struts?
What are the benefits of Interceptors in Struts2?
Can explain about the validations and in your project where did u used the validations?
What are the steps required for setting up validator framework in struts?
How can we display validation errors on jsp page?
Why do we need struts?
What is the purpose of @requiredstringvalidator?
State an example of struts configuration file as an action parameter for action servlet.
How do I install struts?
Which file is used by controller to get mapping information for request routing?
What is the purpose of execute method of action class?
Where can I get a copy of struts?
What is actioncontext?
What is the need of struts?