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 action-mappings tag in struct-config.xml?

948


Which interceptor is responsible for mapping request parameters to action class Java Bean properties?

1042


Define struts?

1028


Can we have multiple struts config files in a single web app?

925


What is apache struts vulnerability?

912


What are the action classes in struts?

994


How does one create an action in struts 2?

941


How many struts config file can be created in struts?

874


What are action classes in struts?

952


Why is it called struts?

934


How action-mapping tag is used for request forwarding in struts configuration file?

943


What is the use of lookupdispatchaction?

997


What is validate() and reset() functions?

1015


What is the use of execAndWait interceptor?

1015


What is apache struts framework?

938