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 / farheen

1.When the user performs an action on the Web application,
the Web browser sends a request for some resource to the
Web server.

2.The request is received by the servlet filter dispatcher,
which looks at the request and determines the appropriate
Action to be invoked to serve it.

3.The set of interceptors configured for applying some
common functionality to the request -- validation,
workflow, or file upload, for instance -- are automatically
applied to the request before the Action is executed.

4.A new instance of the Action class is created and then
the action method is executed for storing or retrieving
information to or from a database.

5.The output -- be it HTML, images, PDF, or in some other
format -- is rendered by the result.

6.Then the request traverses through the interceptors in
the reverse order. The returning request allows for the
performance of additional processing or clean-up
operations.

7.Finally, the container sends the output to the browser

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of '@customvalidator'?

964


How to convert struts to spring mvc?

937


What is the forward action utilized for?

1014


What is the purpose of @conversion annotation annotation?

1189


Why are springs better than struts?

1049


Can explain about the validations and in your project where did u used the validations?

7477


What is the use of form bean in struts?

870


What is action class?

945


What is the purpose of global-forwards tag in struct-config.xml?

919


Can you explain value stack?

861


What are best practices to follow while developing Struts2 application?

965


Explain about struts dispatch action?

925


What are the pros of struts 2?

922


Why use struts framework in java?

1026


What are the core classes of struts?

977