Versions Compared

Key

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

...

The table lists the files that you can use to configure the framework for your application. Some configuration files can be reloaded dynamically. Dynamic reloading makes interactive development possible. See Reloading configuration for more.

File

Optional

Location (relative to webapp)

Purpose

web.xml

no

/WEB-INF/

Web deployment descriptor to include all necessary framework components

struts.xml

no

/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/struts-action-x.x.jar

Default configuration that should be included in struts.xml

velocity.properties

yes

/WEB-INF/classes/

Override the default Velocity configuration

struts-default.vm

yes

/WEB-INF/classes/

Default macros referenced by velocity.properties

...