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 many servlet controllers are used in a Struts Application?

515


Why are frameworks used?

536


What is the purpose of @typeconversion annotation annotation?

561


What is the life cycle of actionform?

552


What steps are required to for an application migration from Struts1 to Struts2?

609






How do struts work?

524


What are action classes in struts?

520


How exceptions are handled in struts application?

537


What is the use of Struts.xml configuration file?

518


What's mvc pattern ?

588


What is switchaction?

658


What is the purpose of @beforeresult?

607


What is the difference between session scope and request scope when saving formbean ?

556


Can we have multiple struts config files ?

541


What is struts-default package and what are it’s benefits?

579