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

In struts.xml, what does the attribute "method" stands for in the "action" tag?

895


What is discontinuous strut?

878


What is the purpose of global-forwards tag in struct-config.xml?

920


What is defeult result type?

1014


What is the use of struts?

913


What is used to display the intermediate result in an interceptor?

901


What are apache struts?

858


What is the purpose of @customvalidator annotation?

923


What is struts and why it is used?

885


What is the purpose of @element annotation annotation?

1016


1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they

3133


What is the purpose of @emailvalidator?

933


List some bundled validators?

938


How can we group related actions in one group in Struts?

917


Can you explain value stack?

863