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...

what is the purpose of action servlet and action?

Answer Posted / cokekrish

The class org.apache.struts.action.ActionServlet is called
ActionServlet.This class plays the role of controller. All
the requests to the server goes thorugh the controller. It
is responsible for handling all the requests.

Action is part of Model. The purupose of Actionclass is to
translate the HttpServletRequest to the business logic. To
use Action we need to subclass and overwrite the execute()
method. all database and business processing are done here.

Is This Answer Correct ?    17 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the pros of struts 2?

965


What is the purpose of @action annotation?

1004


What is the purpose of @key?

1034


Which file is used by controller to get mapping information for request routing?

1046


What is the purpose of @stringlengthfieldvalidator annotation?

1089


What is the purpose of struct-config.xml in struct2?

966


What is the procedure of operation of a form tag?

948


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

1112


What is actionmapping?

1060


Does struts include its own unit tests?

1005


How do you create message resource?

993


Can you give an overview of how a struts application flows?

943


What is jakarta struts framework?

966


How the flow of various requests happens in struts application?

990


How do I access token?

960