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 the purpose of constant tag in struts.xml?
At the point, you should go for struts framework?
Why are frameworks used?
What types of validations are available in xml based validation in struts2?
What does apache struts do?
What are the applications of struts?
Explain how to work with error tags?
What is the struts in java?
What is the purpose of @validations annotation?
Explain the difference between dispatchaction and lookupdispatchaction in struts?
What is the purpose of form-beans tag in struct-config.xml?
What are the two different types of validations that the validator framework supports?
What is the purpose of struct-config.xml in struct2?
Briefly tell the two kinds of form beans.
What is role of action class?