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

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

870


What is an interceptor stack?

986


Can you explain the directory structure for a struts folder in brief ?

913


What is action class? What are the types of action class?

916


What is actioncontext?

899


Are struts still used?

899


How can we display validation errors on jsp page?

968


How to use dispatchaction?

983


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

996


What is struts and springs in java?

967


How to explain Software Bank Loan descriptions

2403


What does the term struts mean?

937


How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?

2918


What is the use of struts config xml file?

803


Describe the basic steps used to create a tiles application?

1024