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

Difference between struts and spring?

671


How to work with error tags?

650


How does struts work?

633


What is the significance of logic tags in Struts?

676


What is the purpose of @action annotation?

653






Difference between html tags and struts specific html tags

595


What is the use of struts config xml file?

566


What is filter dispatcher in struts?

620


What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?

659


What is the configuration files used in struts?

618


How do I access token?

597


What is the actionform?

659


What is defeult result type?

719


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

613


What is the purpose of dispatcher result type?

629