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 default suffix for struts2 action uri ?
What are the struts2 error message keys that can come during file uploading process?
What is the purpose of @conversion?
What is package name in struts xml?
Give an example of validates method used to avoid errors.
Provide some important Struts2 constants that you have used?
What is the purpose of @results?
Which interceptor is responsible for mapping request parameters to action class Java Bean properties?
Which design pattern is implemented by Struts2 interceptors?
What is the difference between struts and spring?
How many servlet controllers are used in a Struts Application?
Name some of the features of struts2?
What is xml based validation in struts2?
How to upload struts file?
What is actionservlet?