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

Answer Posted / b.mallikarjun reddy

When ever server is starting, It is possible to tell the
container when to load the servlet on the startup. You can
load any number of servlets on startup. load-on-startup>
subelement indicates the order in which servlet should be
loaded. However positive values are loaded first. If the
value is Negative or unspecified value then the container
load the servlet at the runtime during the startup.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What inbuilt themes are provided by struts2?

687


Which file is used by controller to get mapping information for request routing?

642


What configuration changes are required to use resource files in Struts?

662


What is interceptor in Struts2?

648


What is difference between struts1 and struts2?

581






How to work with error tags?

650


What is value stack?

715


What does action do in struts?

620


What is the purpose of @beforeresult annotation?

664


What’s the difference between struts and turbine?

650


Who wrote struts?

634


What is request processor and how does it relates to action mapping?

671


How to use forward action to restrict a strut application to mvc?

679


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

646


How can we display all validation errors to user on jsp page?

754