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

How to explain struts work flow

Answer Posted / mairaj

1) The request received by hte ActionServlet which is the
default Controller in Struts...



2)ActionServlet then call RequestProcesser.preProcess
method to find the formbean populate the value to it
validate the values..



3)Once the validating has finished the ActionServlet's
RequestProcesser.preProcess() method call Action class's
execute method where the original business processing
begins....



4)The action class process the method and reurns the result
to ActionServlet.....



5)In returning the Action class provides the key to the
corresponding ActionServlet to determine the reult acqiured
fromprocessing will be diplayed...



6)The ActionServlet then display results to client using
the key provided by the action class..



Hope You understand well..!!

Is This Answer Correct ?    16 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of @expressionvalidator annotation?

1058


What is DynaActionForm?

1042


What are the bundled validators?

1015


What’s the difference between struts and espresso?

999


How to explain Software Bank Loan descriptions

2479


What is token used for?

928


How is declarative handling of exceptions done in struts ?

931


What is defeult result type?

1068


Explain about token feature in struts?

979


What is request processor and how does it relates to action mapping?

1051


How to upload struts file?

1018


What does apache struts do?

918


Why was reload removed from struts (since 1.1)?

982


In struts.xml, what does the attribute "method" stands for in the "action" tag?

951


What is the purpose of @emailvalidator annotation?

1018