Monday, October 24, 2011

Action Servlet

It is the front controller of struts application. It has the generic flow control of any struts application. It is the built in controller class of struts framework.

ActionServlet is a simple HttpServlet. Struts developer should register the ActionServlet ,Pre-initialize, map every client request  to ActionServlet.

ActionServlet knows about the flow control information from struts-config.xml, during its initializtion phase.When the application is deployed and before any client request comes servlet container instantiates ActionServlet class and calls its inti().

In the init() of ActionServlet 'Digester' API is used to parse the struts-config.xml and create a set of Java configuration objects based on the content of the struts-config.xml file .


No comments:

Post a Comment