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 are the benefits of Struts framework?

1040


Where should struts xml be placed?

986


What is use of i18n interceptor?

1043


Give the details of xml files used in validator framework?

1060


How to convert struts to spring mvc?

1057


What are the some useful annotations introduced in struts2?

1028


What are the core classes of the struts framework?

988


Give an alternative way to protect jsp’s with not much features from direct access.

1057


How to use forward action to restrict a strut application to mvc?

1092


What is container struts2?

1044


Which configuration file is used for storing jsp configuration information in struts?

1061


What is pojo in struts2?

1064


What is the purpose of struct-config.xml in struct2?

1036


What are result types in struts?

1048


Which interceptor is responsible for i18n support?

986