Source

webwork / docs / wikidocs / Configuration.html

Full commit
<html>
    <head>
        <title>WebWork 2 : Configuration</title>
	    <link rel="stylesheet" href="styles/site.css" type="text/css" />
        <META http-equiv="Content-Type" content="text/html; charset=UTF-8">	    
    </head>

    <body>
	    <table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#ffffff">
		    <tr>
			    <td valign="top" class="pagebody">
				    <div class="pageheader">
					    <span class="pagetitle">
                            WebWork 2 : Configuration
                                                    </span>
				    </div>
				    <div class="pagesubheading">
					    This page last changed on Jun 18, 2004 by <font color="#0050B2">plightbo</font>.
				    </div>

				    <p class="paragraph">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&#039;s required and optional configuration files.</p><ol>
<li> <a href="web.xml.html" title="web.xml">web.xml</a></li>
<li> <a href="xwork.xml.html" title="xwork.xml">xwork.xml</a></li>
<li> <a href="webwork-default.xml.html" title="webwork-default.xml">webwork-default.xml</a></li>
<li> <a href="Results.html" title="Results">Results</a><ol>
<li> <a href="Global results.html" title="Global results">Global results</a></li>
<li> <a href="Default results.html" title="Default results">Default results</a></li>
</ol></li>
<li> <a href="Interceptors.html" title="Interceptors">Interceptors</a></li>
<li> <a href="Packages.html" title="Packages">Packages</a></li>
<li> <a href="Namespaces.html" title="Namespaces">Namespaces</a></li>
<li> <a href="Reloading configuration.html" title="Reloading configuration">Reloading configuration</a></li>
<li> <a href="webwork.properties.html" title="webwork.properties">webwork.properties</a></li>
<li> <a href="velocity.properties.html" title="velocity.properties">velocity.properties</a></li>
</ol><br/>
Below are all the files that you may need to be aware of. <br/>

<table class="wikitable">
<tr>
<th>File</th><th>Optional</th><th>Location (relative to webapp)</th><th>Purpose</th>
</tr><tr>
<td><a href="web.xml.html" title="web.xml">web.xml</a></td><td>no</td><td>/WEB-INF/</td><td>Web deployment descriptor to include all necessary WebWork components</td>
</tr><tr>
<td><a href="xwork.xml.html" title="xwork.xml">xwork.xml</a></td><td>no</td><td>/WEB-INF/classes/</td><td>Main configuration, contains result/view types, action mappings, interceptors, etc</td>
</tr><tr>
<td><a href="webwork.properties.html" title="webwork.properties">webwork.properties</a></td><td>yes</td><td>/WEB-INF/classes/</td><td>WebWork properties</td>
</tr><tr>
<td><a href="webwork-default.xml.html" title="webwork-default.xml">webwork-default.xml</a></td><td>yes</td><td>/WEB-INF/lib/webwork-x.x.jar</td><td>Default configuration that should be included in xwork.xml</td>
</tr><tr>
<td><a href="velocity.properties.html" title="velocity.properties">velocity.properties</a></td><td>yes</td><td>/WEB-INF/classes/</td><td>Override the default velocity configuration</td>
</tr><tr>
<td><a href="Validation.html" title="Validation">validators.xml</a></td><td>yes</td><td>/WEB-INF/classes/</td><td>Define input validators to be used later</td>
</tr><tr>
<td>components.xml</td><td>/WEB-INF/classes/</td><td>Define IOC components</td>
</tr><tr>
<td>taglib.tld</td><td>no</td><td>/WEB-INF/lib/webwork-x.x.jar </td><td> Webwork tag library descriptor </td>
</tr>
</table>

				    
                    			    </td>
		    </tr>
	    </table>
	    <table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td height="12" background="border/border_bottom.gif"><img src="border/spacer.gif" width="1" height="1" border="0"/></td>
			</tr>
		    <tr>
			    <td align="center"><font color="grey">Document generated by Confluence on Oct 15, 2004 02:03</font></td>
		    </tr>
	    </table>
    </body>
</html>