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
When do I need “struts.jar” on my classpath?
What is the purpose of plug-in tag in struct-config.xml?
What does params interceptor?
What is the purpose of struts.properties in struct2?
Can explain about the validations and in your project where did u used the validations?
Whats the difference between the default namespace and the root namespace?
How to build struts application in eclipse?
How you will display validation fail errors on jsp page?
What is role of actionservlet?
Provide some important Struts2 constants that you have used?
Which configuration files are used in struts?
What is the difference between requestaware and servletrequestaware interface?
Why do we need mapdispatchtoprops?
What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?
What configuration changes are required to use resource files in Struts?