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

If the framework doesn’t do what I want, can I request that a feature be added?

957


What are the bundled validators?

1020


What validate() and reset() method does ?

1104


How is a lookup dispatch action created?

1002


Name some useful annotations introduced in Struts2?

979


What are the Core classes of Struts Framework?

1018


Does apache tomcat use struts?

925


What should be the name of xml file used for validation in struts?

938


At the point, you should go for struts framework?

934


What is the purpose of @conversion annotation annotation?

1277


What is the purpose of @expressionvalidator annotation?

1064


What is struts2 in java?

1047


What is the procedure of operation of a form tag?

966


What are the life cycle methods of interceptor?

975


Explain about the tag?

1112