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

Answer Posted / rakeshpattnaik

if <load-on-startup> is unspecified then it takes default
value as 0 during run time.
For -ve values ::
Cannot find ActionMappings or ActionFormBeans collection

the above error comes.So always:
Default-0
Unspecified-0
Accepted-+ve vales on priority basis
Not Accepted- -Ve values

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is controller in struts2?

512


What is the purpose of plug-in tag in struct-config.xml?

500


Why actionservlet is singleton in struts?

600


What configuration changes are required to use Tiles in Struts?

578


How does one create an action in struts 2?

532






What is the difference between struts and spring? Explain

491


How can we integrate log4j in Struts2 application?

568


What are the classes used as part of struts framework ?

532


What are the struts2 error message keys that can come during file uploading process?

617


What is struts in java with example?

520


What are the major differences between html tags and strut specific html tags?

527


Which configuration file is used for storing jsp configuration information in struts?

551


Are interceptors and filters different?

555


Can we handle exceptions in Struts programmatically?

526


What is the default suffix for Struts2 action URI and how can we change it?

531