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

tell me struts flow ?

Answer Posted / a.v.satyanarayana

Struts follows mvc pattern.

Model ; which is represented as bussiness components.

View: at view level we have JSP's

Controler: Actionservlet given by the frame work.

This frame work mainly depends upon two xml files.

1) is web.xml where we are moniteriong the controlerpart.

2) struts.config.xml where action classes are congured.

when a request is submitted, this request is handelled by
the controller.And the actionservlet internally checks into
the struts config.xml and identifies the coresponding
action class.

Instantiate that action class and execute the bussiness
logic in that action class and forwards the request to the
required JSP.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we have multiple struts config files ?

959


What is dispatchaction?

1094


What is declarative exception handling in struts?

999


What does modeldriven interceptor?

1071


Are struts still used?

931


Which configuration files are used in struts?

962


What steps are required to for an application migration from Struts1 to Struts2?

1026


What is purpose of execandwait interceptor?

1092


Explain how to work with error tags?

1008


Can you give an overview of how a struts application flows?

952


Are interceptors and filters different?

1040


What is the purpose of @emailvalidator annotation?

1016


Can a reducer dispatch an action?

947


What’s the utilization of resource bundle properties file in struts validation structure?

1089


What are action classes in struts?

964