Source

webwork / docs / wikidocs / webwork.properties.html

<html>
    <head>
        <title>WebWork 2 : webwork.properties</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 : webwork.properties
                                                    </span>
				    </div>
				    <div class="pagesubheading">
					    This page last changed on Aug 04, 2004 by <font color="#0050B2">jcarreira</font>.
				    </div>

				    <p class="paragraph">WebWork uses a number of properties that can be changed to fit your needs.  To change them, specify your values in webwork.properties in /WEB-INF/classes.  The list of properties can be found in default.properties (inside webwork.jar):</p><div class="code"><div class="codeContent">
<pre>### These can be used to set the <span class="java&#45;keyword">default</span> HTTP and HTTPS  ports&#10;webwork.url.http.port = 80&#10;webwork.url.https.port = 443&#10;&#10;### This can be used to set your locale and encoding scheme&#10;webwork.locale=en&#95;US&#10;webwork.i18n.encoding=ISO&#45;8859&#45;1&#10;&#10;### Parser to handle HTTP POST requests, encoded using the MIME&#45;type multipart/form&#45;data&#10;#webwork.multipart.parser=cos&#10;webwork.multipart.parser=pell&#10;&#10;# uses javax.servlet.context.tempdir by <span class="java&#45;keyword">default</span>&#10;webwork.multipart.saveDir=&#10;webwork.multipart.maxSize=2097152&#10;&#10;### Load custom property files (does not override webwork.properties&#33;)&#10;webwork.custom.properties=application,com/webwork/extension/custom&#10;&#10;# extension <span class="java&#45;keyword">for</span> actions.  This uses by the webwork:form tag&#10;webwork.action.extension=action&#10;&#10;### Standard UI theme&#10;# Change <span class="java&#45;keyword">this</span> to reflect which path should be used <span class="java&#45;keyword">for</span> JSP control tag templates by <span class="java&#45;keyword">default</span>&#10;webwork.ui.theme=xhtml&#10;webwork.ui.templateDir=template&#10;&#10;### Configuration reloading&#10;# This will cause the configuration to reload xwork.xml when it is changed&#10;webwork.configuration.xml.reload=<span class="java&#45;keyword">false</span>&#10;&#10;### Location of velocity.properties file.  defaults to velocity.properties&#10;webwork.velocity.configfile = velocity.properties&#10;&#10;### Comma separated list of VelocityContext classnames to chain to the WebWorkVelocityContext&#10;webwork.velocity.contexts =&#10;&#10;### Override the <span class="java&#45;keyword">default</span> VelocityManager with a custom implementation&#10;webwork.velocity.manager.classname=path.and.classname&#10;&#10;### Load custom <span class="java&#45;keyword">default</span> resource bundles&#10;#webwork.custom.i18n.resources=testmessages,testmessages2</pre>
</div></div>

				    
                    			    </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:04</font></td>
		    </tr>
	    </table>
    </body>
</html>