Home > Articles > Programming > Java

  • Print
  • + Share This
From the author of

Summary

In this article the main elements of the Struts configuration file were presented—namely:

  • data-sources—You saw how to configure a single data source and how to make Struts to recognize additional data sources, as needed.

  • form-beans—Because 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-forwards—You have learned how to set general addresses to forward to from Struts actions.

  • action-mappings—The 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.

  • + Share This
  • 🔖 Save To Your Account