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


Please Help Members By Posting Answers For Below Questions

What is a custom tag?

541


What is the use of execAndWait interceptor?

554


What is the difference between empty default namespace and root namespace?

554


how to debug struts project in netbean ?

1919


Explain the difference between plain-validator and field-validator in struts?

522






What does the term struts mean?

553


How can duplicate form submission be handled in struts 2?

537


How we can install struts?

554


What are the sections into which a strut configuration file can be divided?

550


What is the purpose of '@customvalidator'?

580


How can we handle exceptions thrown by application in Struts2?

535


How to display validation errors on jsp page?

568


What is the difference between filters and interceptors ?

495


Which interceptor is responsible for i18n support?

518


What is the purpose of @requiredstringvalidator?

560