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

explain the Struts flow?

Answer Posted / santosh kumar

->when ur submit the form page ,ActionServlet will take the
request and check is there any action mapping with specified
saction url , if it there AS pics the name of the form
create the object for FormBean class and call its
getter,reset ,validate methods
->After validate() AS picks the action mapping type value
and create the action class and calls the execute() of
action class
->if execute return null value, AS will terminate the execution
->else AS takes the return value and send the request to
return value

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by ognl?

1001


What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?

1008


What is the use of form bean in struts?

914


What are the important methods of actionform?

1077


What does it cost to replace struts?

966


Explain how can we upload files in struts2 application?

1056


Explain the components of struts?

968


How an actionform bean is created?

970


What are the reasons for an error message not being displayed while developing struts application?

939


How can we work with error tags?

987


What is purpose of execandwait interceptor?

1086


Which interceptor is responsible for mapping request parameters to action class Java Bean properties?

1060


How can we integrate log4j in Struts2 application?

1031


What is token used for?

922


In which method of action class the business logic is executed?

981