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

Why was reload removed from struts (since 1.1)?

540


How to use dispatchaction?

572


Explain about struts relation to html tags?

548


Where can I get help with struts?

562


What is the apache struts vulnerability?

517






What is the difference between shocks and struts?

498


Who makes the struts?

543


For a single Struts application, can we have multiple struts-config.xml files?

583


What is struts2 framework?

512


what is ACID test for fresh engineers??what is the pattern??

2365


What configuration changes are required to use Tiles in Struts?

567


What is the purpose of @conversionerrorfieldvalidator annotation?

615


What is the use of reset method of ActionForm class?

567


How can forward action be used to restrict a strut application to mvc?

517


What are construction struts?

507