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 execute method of action class?
Can we have multiple struts config files in a single web app?
What is struts actionmapping?
What is struts and springs in java?
Lists the bundled validators in struts?
Which configuration files are used in struts?
What are the loop holes of struts?
How can we integrate log4j in Struts2 application?
What is the purpose of @results annotation?
What is the purpose of @doublerangefieldvalidator annotation?
What is a custom tag?
What are interceptors in struts 2?
For a single Struts application, can we have multiple struts-config.xml files?
What kind of mvc is struts 2?
How nested beans can be used in Struts applications?