Struts Controller Components
- The controller component of the Struts MVC is carried out jointly by an
ActionServlet
and a RequestProcessor
- The ActionServlet class is not abstract and can be used directly
by applications (the banking application does)
- Both ActionServlet and RequestProcessor can be subclassed
by applications if necessary
- The ActionServlet must deployed in your web.xml file just
as for any other servlet. Here are the servlet and
servlet-mappings elements for the banking application
- Here is a diagram showing the role of the action servlet and request
processor: