61. What is a Action Servlet

public class ActionServlet

extends javax.servlet.http.HttpServlet

  1. ActionServlet provides the “controller” in the Model-View-Controller (MVC) design pattern for web applications that is commonly known as “Model 2”.
  2. The class org.apache.struts.action.ActionServlet is the called the ActionServlet.
  3. In the the Jakarta Struts Framework this class plays the role of controller.
  4. All the requests to the server goes through the controller.
  5. Controller is responsible for handling all the requests.
Advertisements

2 Responses

  1. […] 61. What is a Action Servlet […]

  2. 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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: