what is the purpose of load_on_startup entry in struts-
config.xml?

Answer Posted / praveen

specify the order in which we want to initialize various
Servlets.
Like first initialize Servlet1 then Servlet2 and so on.
This is accomplished by specifying a numeric value for the
<load-on-startup> tag.
<load-on-startup> tag specifies that the servlet should be
loaded
automatically when the web application is started.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the loop holes of struts?

649


What is the purpose of execute method of action class?

645


What is actionform in struts?

559


How many servlet controllers are used in a Struts Application?

649


What is the front controller in struts2?

596






What are the core classes of struts framework? Explain

625


How can you create your custom interceptor in struts 2?

623


Explain about logic match tag?

666


Why do we use struts?

690


What is the purpose of struct-config.xml in struct2?

646


What do you mean by action errors and what are the results they force?

676


in struts how to use hibernate with struts>

1913


What are struts in java?

580


What is the use of interceptor?

606


How struts2 supports internationalization?

738