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

How you will make available any message resources definitions file to the struts framework environment?

935


What does execandwait interceptor?

985


What are different ways to create Action classes in Struts2?

1041


What does action do in struts?

945


Are the struts tags xhtml compliant ?

899


What is token used for?

887


What is the purpose of redirect result type?

983


What is the purpose of @beforeresult annotation?

974


Can we use struts and spring together?

943


What is struts and springs in java?

986


What is the purpose of @key?

995


What is struts2 framework?

895


How to get data from the velocity page in a action class?

925


What is the purpose of '@customvalidator'?

980


How the exceptions are handled in struts?

945