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
How does interceptor work in struts2?
What is the purpose of struct-config.xml in struct2?
How you will display validation fail errors on jsp page?
How does struts2 token work?
Mark the differences between html tags and strut specific html tags.
What are action errors and error?
What is the difference between filters and interceptors ?
What is the use of struts config xml file?
Why aren’t the struts tags maintained as part of the jakarta taglibs project ?
Which interceptor is responsible for mapping request parameters to action class Java Bean properties?
What is the differences between struts1 and struts2?
How are interceptors and servlet filters different?
What are the some useful annotations introduced in struts2?
What does i18n interceptor?
What is includeaction?