This page last changed on Jun 18, 2004 by plightbo.

WebWork has two main configuration files you need to be aware of: web.xml and xwork.xml. Here you will find out all the information you need for both WebWork's required and optional configuration files.

  1. web.xml
  2. xwork.xml
  3. webwork-default.xml
  4. Results
    1. Global results
    2. Default results
  5. Interceptors
  6. Packages
  7. Namespaces
  8. Reloading configuration
  9. webwork.properties
  10. velocity.properties

Below are all the files that you may need to be aware of.
FileOptionalLocation (relative to webapp)Purpose
web.xmlno/WEB-INF/Web deployment descriptor to include all necessary WebWork components
xwork.xmlno/WEB-INF/classes/Main configuration, contains result/view types, action mappings, interceptors, etc
webwork.propertiesyes/WEB-INF/classes/WebWork properties
webwork-default.xmlyes/WEB-INF/lib/webwork-x.x.jarDefault configuration that should be included in xwork.xml
velocity.propertiesyes/WEB-INF/classes/Override the default velocity configuration
validators.xmlyes/WEB-INF/classes/Define input validators to be used later
components.xml/WEB-INF/classes/Define IOC components
taglib.tldno/WEB-INF/lib/webwork-x.x.jar Webwork tag library descriptor
Document generated by Confluence on Dec 14, 2004 16:36