How to explain struts work flow
Answer Posted / jayachender
When we send the request the follwing actions will be perform.
1.The Server Searches for Deployment-Descriptor(web.xml)
2.If the server Found <load-on-startup> tag the server will create the required Servelet Object.
3.After Servlet object is created the server will execute the init() method of ActionServlet.
4.As part of init method of ActionServlet finds the value of Config init parameter.
5.The init() method start reading contents from the struts-config.xml(Struts Configuration file) and store the information in jvm's Memorey
| Is This Answer Correct ? | 21 Yes | 8 No |
Post New Answer View All Answers
What are the main classes which are used in struts application?
What is the default suffix for Struts2 action URI and how can we change it?
Where can I get help with struts?
What does apache struts do?
What is the front controller in struts2?
What is struts2 in java?
Does struts include its own unit tests?
What is execute method in struts?
What is the use of execAndWait interceptor?
How tag libraries are defined in Struts?
What is the purpose of @conversion?
What is filter dispatcher in struts?
Can a reducer dispatch an action?
How does struts2 token work?
What is the purpose of @validations annotation?