How to explain struts work flow

Answer Posted / karthick prabu.v

1) when the client send a request first it will goes to the
web.xml file.
2) there it will check the ActionServlet class(contoller).
3)From there it goes to the struts config.xml file
4)in the config.xml file it checks the form bean class and
execute class
5) then the controll goes to the model class.(Action class).
6)execute the logic in the action class.
7) after completion of the execution it send some response
to the controller.
8)then the controller goes to the config.xml file and checks
the where the controller have to go.
9)again it come back to the controller and goes to the
related jsp file.
10)there the jsp file execute and give the out put to the
browser.

Is This Answer Correct ?    23 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dispatchaction?

620


what is ACID test for fresh engineers??what is the pattern??

2353


What is actionservlet?

544


What are the benefits of Struts framework?

547


What are the steps required for setting up validator framework in struts?

548






What is the difference between struts and spring?

507


What are the conditions for actionform to work correctly?

511


How an actionform bean is created?

555


What are the aware interfaces in struts2?

541


What is strut action mapping?

498


Do I have to credit struts on my own website?

523


What is the procedure of operation of a form tag?

544


What are the reasons for an error message not being displayed while developing struts application?

539


How tag libraries are defined in Struts?

560


Why are struts tightly coupled?

574