Summary
In this article the main elements of the Struts configuration file were presentednamely:
data-sourcesYou saw how to configure a single data source and how to make Struts to recognize additional data sources, as needed.
form-beansBecause Struts application state is mainly represented by ActionForm beans, this element constitutes one of the most important sections of the configuration file, describing and the classes naming the developer-defined ActionForm subclasses to be used in Strut's actions.
global-forwardsYou have learned how to set general addresses to forward to from Struts actions.
action-mappingsThe set of action elements describing a request-to-action mapping will allow you to define the application's processes. This is the key section of the whole configuration file.