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

What is struts framework?

553


What are action classes in struts?

520


Is struts 1 still supported?

515


Explain how can we upload files in struts2 application?

622


What is apache struts framework?

524






What is the purpose of @result?

585


Name some useful annotations introduced in Struts2?

534


Which tag is used to declare constants in struts xml?

476


How duplicate form submission can be controlled in struts?

650


Which library is provided by struts for form elements like check boxes, text boxes etc?

512


What is the use of jsonvalidation in struts?

556


How struts 2 validation works?

582


What is ValueStack and OGNL?

573


Which components are available using actioncontext map?

726


Can you explain aware interfaces in struts2?

591