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 does validation interceptor?

531


What is the use of jsonvalidation?

573


What are the two types of validations supported by validator framework?

549


How is the mvc design pattern used in struts framework?

496


How is forward action used for integration?

547






In which order struts framework searches for a message bundle?

544


Can you explain custom tag?

557


Difference between struts and spring? Or why use spring, if you are already using struts?

514


Which model components are supported by Struts?

552


What are the various struts tag libraries?

527


what is meant by Struts Validator Framework?

545


Explain the complete struts validator framework.

563


what is ACID test for fresh engineers??what is the pattern??

2343


What do you mean by inner class and anonymous class?

575


how to connect from struts to database through hibernet and where u can modify the class

2099