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 is the purpose of @result annotation?
Will the struts tags support other markup languages such as wml ?
Do you need an alignment after replacing struts?
Explain how can we upload files in struts2 application?
What is the purpose of @key?
What is struts framework in java?
What is the use of web xml in struts2?
What is struts2 namespace?
What is the purpose of form-beans tag in struct-config.xml?
What is interceptor in Struts2?
Why actionservlet is singleton in struts?
What is the need of struts?
How you will enable front-end validation based on the xml in validation.xml?
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
What is struts? Explain