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

Answer Posted / sulaiman harith

When we need to get the servelt object initialized before
the request is sent by the user.Usually servlet object will
get initialized soonafter the client send a request.Servlet
init() will get called once, to get the servlet object.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the sections into which a strut configuration file can be divided?

544


Explain the life cycle of a request in struct2 application?

486


Can explain about the validations and in your project where did u used the validations?

6380


What is the purpose of @result?

571


What is the purpose of struts.properties in struct2?

518






Which tag is used to declare constants in struts xml?

459


What is front controller in struts?

557


What is the purpose of @results annotation?

708


How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?

2525


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

573


How can we group related actions in one group in Struts?

555


What do struts do?

512


Do we need to pay the struts if being used in commercial purpose?

541


What is the difference between filters and interceptors ?

491


List the important attribute and elements of action mapping under struts.

520