1.when actionservelet execute.
2.when web.xml executes

Answer Posted / srikanth

at container startup, container reads the web.xml using sax
perser

in web.xml,we are configuring ActionServlet with load on
start up tag ,then ActionServlet will loaded,
<servlet-name>as</servlet-name>
<servlet-
class>org.apache.struts.action.ActionServlet</servlet-class>
<load-on-startup>1</load-on-startup>

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is spring hibernate and struts in java?

693


What does execandwait interceptor?

773


What are the core classes of the struts framework?

704


What is http forward?

729


What is actionform in struts?

671


Which components are available using actioncontext map?

927


Whats the difference between the default namespace and the root namespace?

730


What is the purpose of dispatcher result type?

743


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

746


How to upload struts file?

803


Explain the life cycle of a request in struct2 application?

692


What are the 5 constants of action interface?

770


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

810


How the exceptions are handled in struts?

749


What is the forward action utilized for?

767