ActionServlet

This Servlet acts as the controller in the Struts MVC framework. It is used as the main entry point for handling user requests, and is configured via the J2EE descriptor file web.xml to to handle request URLs ending in ".do".

The ActionServlet is configured via struts-config.xml. Its main purposes in the application architecture are as follows:

To delegate requests to different Actions based on the request URI.
Initialises the Validator module via a plugin definition.
Provides internationalised messages to the application.
Provides an exception handler for java.lang.Exception.

Related topics

Validator
Internationalisation
Action