Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

File

Optional

Location (relative to webapp)

Purpose

web.xml

no

/WEB-INF/

Web deployment descriptor to include all necessary framework components

struts.xml

yes

/WEB-INF/classes/

Main configuration, contains result/view types, action mappings, interceptors, and so forth

struts.properties

yes

/WEB-INF/classes/

Framework properties

struts-default.xml

yes

/WEB-INF/lib/struts2-core.jar

Default configuration provided by Struts

struts-default.vm

yes

/WEB-INF/classes/

Default macros referenced by velocity.properties

struts-plugin.xml

yes

At the root of a plugin JAR

Optional configuration files for Plugins in the same format as struts.xml.

velocity.properties

yes

/WEB-INF/classes/

Override the default Velocity configuration

...