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 difference between lookupdispatchaction and dispatchaction?

1164


What is the purpose of @key annotation annotation?

1126


Explain design patterns which is used in struts?

1025


What is the purpose of @results annotation?

1374


What is the life cycle of actionform?

1079


What is struts validator framework?

1037


How struts2 supports internationalization?

1178


What is interceptor? And life cycle methods of interceptor?

1098


What are the sections into which a strut configuration file can be divided?

1108


What is the use of execAndWait interceptor?

1074


Give an example of validates method used to avoid errors.

1031


What are the struts2 configuration properties that control file uploading process?

1185


What is controller in struts ?

1029


What is defeult result type?

1120


What is action servlet in struts?

1015