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
What is container struts2?
What is the purpose of form-beans tag in struct-config.xml?
What is the purpose of @doublerangefieldvalidator?
What is the significance of logic tags in Struts?
Does Struts2 action and interceptors are thread safe?
What do you mean by actionservlet?
What is struts2 namespace?
What is difference between actionform and dynaactionform?
What does action do in struts?
What is the difference between struts and spring? Explain
How long do struts last?
What’s the utilization of struts.xml configuration file?
How is forward action used for integration?
Explain the core end goal while using java struts?
How interceptor works in struts 2?