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
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
What is actionform in struts?
What is s token?
What is the purpose of @before?
What is container struts2?
What is struts-default package and what are it’s benefits?
What is action class? What are the types of action class?
State the procedure for using forward attribute of link tag’s.
Can explain about the validations and in your project where did u used the validations?
What is life cycle of an interceptor?
How the flow of various requests happens in struts application?
Explain the necessity of empty tag?
How you will display validation fail errors on jsp page?
How you will make available any message resources definitions file to the struts framework environment?
How many struts config file can be created in struts?