adspace


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

Answer Posted / priyanka bhattacharyya


If the struts configuration objects were to be created on
the first call from the user it will adversely affect
performance by delaying response for the first user.

By specifying load-on-startup = 1 we tell the servlet
container to call the init() method immediately on start up
of the servlet container.

Is This Answer Correct ?    12 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between filters and interceptors ?

1316


What is action chaining ?

1168


What are the contents on web.xml in struts application ?

1072


What do you know about validation plugin ?

1031


How is declarative handling of exceptions done in struts ?

1010