public class ActionServlet
extends javax.servlet.http.HttpServlet
- ActionServlet provides the “controller” in the Model-View-Controller (MVC) design pattern for web applications that is commonly known as “Model 2″.
- The class org.apache.struts.action.ActionServlet is the called the ActionServlet.
- In the the Jakarta Struts Framework this class plays the role of controller.
- All the requests to the server goes through the controller.
- Controller is responsible for handling all the requests.
Advertisement
Filed under: Struts
[...] 61. What is a Action Servlet [...]
Action servlet is main controller in web Application.For every web application there is only one Action Servlet which is configured in web.xml file.