Like many other Web frameworks, WebWork requires a number of configuration files to determine how it should work.
File |
Location (relative to webapp) |
Purpose |
---|---|---|
/WEB-INF/ |
Web deployment descriptor to include all necessary WebWork components |
|
/WEb-INF/classes/ |
Main configuration, contains result/view types, action mappings, interceptors, etc |
|
/WEB-INF/lib/webwork-x.x.jar |
Default configuration that should be included in xwork.xml |
|
/WEB-INF/classes/ |
WebWork properties |
|
/WEB-INF/classes/ |
Override the default velocity configuration |
|
/WEB-INF/classes/ |
Define input validators to be used later |
|
/WEB-INF/classes/ |
Define IOC components |
|
taglib.tld |
/WEB-INF/lib/webwork-x.x.jar |
Webwork tag library descriptor |