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
Explain about struts?
What does modeldriven interceptor?
What is an interceptor stack?
What are struts in java?
How to override the default error message that can come during file uploading process?
What is the design role played by struts?
Explain the components of struts?
What is struts actionmapping?
What is jakarta struts framework?
Give an example of validates method used to avoid errors.
Can you explain aware interfaces in struts2?
What is controller in struts ?
Why was reload removed from struts (since 1.1)?
Is struts 1 still supported?
Explain integrate log4j in struts2 application?