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

life cycle of struts?

Answer Posted / kartheeswari

There are many steps,

1. After getting the request from the client, the
ActionServlet invokes the goGet() or doPost() method, in
which there is a invokation of process() method.This method
desides the module.

2. Action servlet dispatches the request to RequestProcesor
class which does some core works of ActionServlet.Then
invokes the appropriate Action class.

3. Action class does main business logic and data accessing
(communicating with Moedl) thru execute() method and which
returns the ActionForward object.

4. In b/w the form field validations happens in form bean.

5. Depends upon the value of ActionForward object the view
is decided to display.(output)


4. Form bean is invoked for form field validation,

Is This Answer Correct ?    27 Yes 36 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of @stringlengthfieldvalidator annotation?

1101


What are the differences between http direct and http indirect?

973


Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?

935


What is the difference between forwardaction and includeaction?

1178


What is actioncontext?

949


How can we write our own interceptor and map it for action?

1054


List some bundled validators?

992


Which model components are supported by Struts?

1026


Are struts thread safe?

968


What is jakarta struts framework?

976


Why actionservlet is singleton in struts?

1008


How is a lookup dispatch action created?

997


What are Struts2 core components?

1007


Which servlet does the struts framework use?

979


What is controller in struts2?

1141