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 are construction struts?

721


What is the purpose of @key annotation annotation?

855


What do you know about validation plugin ?

732


Name some useful annotations introduced in Struts2?

744


What are the benefits of Interceptors in Struts2?

922


What are the different kinds of actions in struts?

830


When it’s useful to use IncludeAction?

768


How you will display validation fail errors on jsp page?

744


Who wrote struts?

755


What's mvc pattern ?

793


Is Struts Framework part of J2EE?

807


What is the purpose of @key?

801


what is meant by Struts Validator Framework?

803


What is the purpose of @conversion annotation annotation?

941


how does request processor relates to action mapping?

725