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
Can we have multiple struts config files ?
What is dispatchaction?
What is declarative exception handling in struts?
What does modeldriven interceptor?
Are struts still used?
Which configuration files are used in struts?
What steps are required to for an application migration from Struts1 to Struts2?
What is purpose of execandwait interceptor?
Explain how to work with error tags?
Can you give an overview of how a struts application flows?
Are interceptors and filters different?
What is the purpose of @emailvalidator annotation?
Can a reducer dispatch an action?
What’s the utilization of resource bundle properties file in struts validation structure?
What are action classes in struts?