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 the purpose of @typeconversion annotation annotation?
What is the purpose of @urlvalidator annotation?
Which design pattern is implemented by Struts2 interceptors?
What is struts2 namespace?
Define struts?
Which configuration file is used for storing jsp configuration information in struts?
How you will make available any message resources definitions file to the struts framework environment?
Give an alternative way to protect jsp’s with not much features from direct access.
What is struts and why it is used?
What is difference between struts1 and struts2?
In how many ways duplicate form submission can occurs?
What are the struts2 error message keys that can come during file uploading process?
What is Struts2?
How struts2 supports internationalization?
Explain about logic match tag?