struts-default.xml

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

A base configuration file named struts-default.xml is included in the struts2.jar file. This file may be included at the top of your is automatically included into struts.xml file to include provide the standard configuration settings without having to copy them. Here's an example:

...

Tip

To exclude the struts-default.xml or to provide your own version, see the struts.configuration.files setting in struts.properties.

The contents of struts-default.xml are here:

...