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 struts-default package and what are it’s benefits?

816


What are interceptors in struts 2?

799


What is the life cycle of actionform?

775


Where can I get help with struts?

782


What are the core classes of struts framework? Explain

762


Does struts include its own unit tests?

755


What is actionservlet?

768


What is jakarta struts framework?

764


Why do we need mapdispatchtoprops?

684


How to build struts application in eclipse?

755


How struts control data flow?

790


Can a reducer dispatch an action?

751


Are struts and shocks the same?

704


What is action chaining ?

863


How can we upload files in Struts2 application?

825