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 / bhoorgu rakesh

1.Browser sends the request to uor Container ,container Communicate with web.xml for wich url matches that container forward url to actionServlet
2.Action servlet search wich sub control invoke by using struts-config.xml
3.Action servlet assign form data to ActionForm to create form object
4.ActionServlet gives ActionClasss wich execute()
5.action class connect to model execute BusinessLogic
6.Model class connect util class to establish connections
7.model communicate with the DataBase
8.DataBase gives to model if any logic is their ,then execute that logi
9.moddel communicate with the ActionClass
10.ActionClass communicate with the Memory
11.ActionClass send the logical jsp name to ActionServlet
ActionServlet takes that logical jspname search in the struts-config.xml to call exactly jsp
12.ActionServlet call extacly jspname
13.View communicate with the Memory
14.view page sends the response to Browser

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?

869


Define struts?

995


How action-mapping tag is used for request forwarding in struts configuration file?

905


Will the struts tags support other markup languages such as wml ?

921


What is the use of resourcebundle.properties file in Struts Validation framework?

987


What is the purpose of @results?

946


What is action servlet in struts?

899


Explain the components of struts?

906


What is struts2 namespace?

864


What are the 5 constants of action interface?

960


What is the use of execAndWait interceptor?

985


What is the purpose of @key annotation annotation?

1029


What does it cost to replace struts?

910


What is strut action mapping?

926


What is spring hibernate and struts in java?

853