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
What is struts.devmode?
Can you explain struts validator framework?
How do I install struts?
Do you need an alignment after replacing struts?
How to use forward action to restrict a strut application to mvc?
List some bundled validators?
Difference between struts and spring?
What is the use of namespace in action mapping in Struts2?
What is the purpose of @expressionvalidator annotation?
Do I have to credit struts on my own website?
What is the purpose of struct-config.xml in struct2?
How the flow of various requests happens in struts application?
What is difference between struts1 and struts2?
How nested beans can be used in Struts applications?
Which interceptor is responsible for i18n support?