You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 38 Next »

The core configuration file for the framework is the default (struts.xml) file. The default file may include other configuration files as needed. See Struts Configuration Elements for a description of the various elements.

An Example configuration file

struts.xml
Error formatting macro: snippet: java.lang.NullPointerException

(lightbulb) For more about configuration details, see Struts Configuration Elements

The Struts 2 Document Type Definition (DTD)

struts-2.0.dtd
Error formatting macro: snippet: java.lang.NullPointerException

FAQ

Can we break up a large struts.xml file into smaller pieces?

  • No labels