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

How you will enable front-end validation based on the xml in validation.xml?

794


What do you mean by a custom tag?

742


Can we have more than one struts-config.xml file for a single struts application?

722


What is difference between spring and struts?

714


What is the design role played by struts?

752


Describe the basic steps used to create a tiles application?

825


What is the purpose of @key annotation annotation?

842


What is http redirect?

797


What is the purpose of @doublerangefieldvalidator?

853


What are Struts2 core components?

778


How can duplicate form submission be handled in struts 2?

749


how to develop the submit and search operations in single jsp using struts?

2793


Which library is provided by struts for form elements like check boxes, text boxes etc?

715


What is action class? What are the types of action class?

740


What is Struts2?

829