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

How exceptions are handled in struts application?

1212


What is actioninvocation?

996


In how many ways duplicate form submission can occurs?

1043


what is meant by Struts Validator Framework?

1056


How do you convert struts to springs?

1093


Explain design patterns which is used in struts?

1030


how to get the last 10 elements using logic:iterate in struts with hiernate from database.

4563


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

1110


What is value stack?

1099


What is difference between lookupdispatchaction and dispatchaction?

1169


What is the purpose of @result?

1068


Can we have more than one struts-config.xml file for a single struts application?

979


What is the difference between validation.xml and validator-rules.xml files in struts validation framework?

1066


What is package name in struts xml?

1052


What is a custom tag?

978