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

Answer Posted / srinivasa

To create the servlet objects when the web application is
started.

In Case of Struts Action servlet object is created when the
application is started on proirity basis.We can specify
some integer value for this in such cases servlets will be
created on priority basis . Low value servlet will be
created fisrt...

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of @result annotation?

617


What are action errors and error and what are the consequences they impose?

555


What is the default location of result pages and how can we change it?

543


What’s the difference between struts and espresso?

494


What is the need of struts?

561






What is the use of web xml in struts2?

512


What is difference between interceptors and filters?

528


What is interceptor in Struts2?

557


Can we have multiple struts config files ?

530


How do you create message resource?

576


How to build struts application in eclipse?

522


Describe the basic steps used to create a tiles application?

547


What is interceptor struts2?

524


How exceptions are handled in struts application?

530


How tag libraries are defined in Struts?

566