who will run the execute method in struts?
Answer Posted / vikram naidu
protected ActionForward
processActionPerform(request,response,action,form,mapping)
throws IOException, ServletException {
try {
return (action.execute(mapping, form, request,
response));
} catch (Exception e) {
return (processException(request, response, e,
form, mapping));
}
}
this is the logic used in RequestProcessor class to call the
execute() method through ActionServlet. B'coz ActionServlet
is the front controller class and in this class only we are
calling RequestProcessor class. So ActionSerlvet is calling
execute() method through RequestProcessor class.
Thankyou.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
In struts.xml, what does the attribute "method" stands for in the "action" tag?
What is discontinuous strut?
What is the purpose of global-forwards tag in struct-config.xml?
What is defeult result type?
What is the use of struts?
What is used to display the intermediate result in an interceptor?
What are apache struts?
What is the purpose of @customvalidator annotation?
What is struts and why it is used?
What is the purpose of @element annotation annotation?
1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they
What is the purpose of @emailvalidator?
List some bundled validators?
How can we group related actions in one group in Struts?
Can you explain value stack?