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

Are struts thread safe?

560


What are the differences between http direct and http indirect?

472


What is the purpose of @results annotation?

720


What is the use of forwardaction?

550


When do I need “struts.jar” on my classpath?

543






Provide some important Struts2 constants that you have used?

565


Why use struts framework in java?

554


What is the purpose of execute method of action class?

568


Describe validate() and reset() methods.

608


What applications use apache struts?

499


How does struts work?

550


while working struts in intellij 7.0error unable to initialize tld location cache: zip file is closed is displayed anybdy can answer me immdialy .ungert

2056


How interceptor works in struts 2?

596


What is actionservlet?

564


What is the purpose of @expressionvalidator annotation?

594