...
Two key configuration files utilized by the framework are web.xml
and action.xml
. The configuration elements in these two files will reference any other required or optional configuration files.
Below are all The table lists the files that you may need to be aware of. Some of this can use to configure the framework for your application. Some configuration files can be reloaded dynamically, making development much easier. Dynamic reloading makes interactive development possible. See Reloading configuration for more information.
File | Optional | Location (relative to webapp) | Purpose |
---|---|---|---|
no | /WEB-INF/ | Web deployment descriptor to include all necessary framework components | |
no | /WEB-INF/classes/ | Main configuration, contains result/view types, action mappings, interceptors, and so forth | |
yes | /WEB-INF/classes/ | Framework properties | |
yes | /WEB-INF/lib/struts-action-x.x.jar | Default configuration that should be included in action.xml | |
yes | /WEB-INF/classes/ | Override the default velocity configuration |
...