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
What is purpose of execandwait interceptor?
Where should struts xml be placed?
Which configuration files are used in struts?
What is difference between lookupdispatchaction and dispatchaction?
What is the use of execAndWait interceptor?
What is strut web xml?
What are the main classes which are used in struts application?
What does params interceptor?
Can you explain custom tag?
Why we use struts over servlets?
What is difference between actionform and dynaactionform?
1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they
What is xml based validation in struts2?
Which library is provided by struts for form elements like check boxes, text boxes etc?
Explain integrate log4j in struts2 application?