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 validate() and reset() functions?
What is spring hibernate and struts in java?
What is the purpose of @doublerangefieldvalidator?
What are the two different types of validations that the validator framework supports?
How are interceptors and servlet filters different?
What do you mean by inner class and anonymous class?
What is life cycle of an interceptor?
Define struts?
How can we integrate log4j in Struts2 application?
What is the purpose of @intrangefieldvalidator annotation?
For a single Struts application, can we have multiple struts-config.xml files?
What is defeult result type?
What is the difference between validation.xml and validator-rules.xml files in struts?
what is meant by Struts Validator Framework?
what is ACID test for fresh engineers??what is the pattern??