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 the differences between http direct and http indirect?

463


What is the purpose of struts.xml in struct2?

669


What are the core classes of the struts framework?

508


What are different ways to create Action classes in Struts2?

585


What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?

574






What is the purpose of '@customvalidator'?

578


What is the purpose of @results?

576


What are the main classes which are used in struts application?

493


What does apache struts do?

495


What is structs 2 validation framework?

558


What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?

559


Can you explain struts.properties in struts2?

521


What are pull and push mvc architecture and which architecture does struts2 follow?

502


What is the life cycle of actionform?

542


how to connect from struts to database through hibernet and where u can modify the class

2113