Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the purpose of @key annotation annotation?

1077


What is actionservlet?

1009


Explain about the tag?

1108


Who wrote struts?

960


How duplicate form submission can be controlled in struts?

1120


What is the flow of requests in struts based applications?

994


What is apache struts vulnerability?

929


What is interceptor? And life cycle methods of interceptor?

1038


What is the actionform?

1025


What is the purpose of @validations annotation?

1031


What are the custom tags?

905


Give an alternative way to protect jsp’s with not much features from direct access.

1005


What are different Struts2 tags? How can we use them?

948


What is Custom Type Converter in Struts2?

1100


What are the action classes in struts?

1015