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 actionservlet?
What is spring and struts in java?
How do you create message resource?
What is the use of jsonvalidation in struts?
Does Struts2 action and interceptors are thread safe?
What is the purpose of @result annotation?
What’s the difference between struts and turbine?
What is the purpose of @emailvalidator annotation?
What validate() and reset() method does ?
What are the loop holes of struts?
What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?
What is apache struts cve 2017 5638?
How is the mvc design pattern used in struts framework?
How can we work with error tags?
How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?