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


Please Help Members By Posting Answers For Below Questions

What is the purpose of form-be tag in struct-config.xml?

568


What is the purpose of @keyproperty annotation annotation?

578


What is dispatch action class?

613


how to develop the submit and search operations in single jsp using struts?

2558


How can you create your custom interceptor in struts 2?

537






What is container struts2?

529


What is the differences between struts1 and struts2?

532


What is the use of resourcebundle.properties file in Struts Validation framework?

578


What is front controller in struts2?

552


What kind of mvc is struts 2?

559


Which interceptor is responsible for i18n support?

522


What are the features of struts 2?

545


What is controller in struts2?

502


Explain the complete struts validator framework.

579


What are the features of struts?

577