adspace


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 difference between filters and interceptors ?

1316


What are the contents on web.xml in struts application ?

1072


How is declarative handling of exceptions done in struts ?

1010


What do you know about validation plugin ?

1031


What is action chaining ?

1168