You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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):

### These can be used to set the default HTTP and HTTPS  ports
webwork.url.http.port = 80
webwork.url.https.port = 443


### This can be used to set your locale
webwork.locale=en_US

### Parser to handle HTTP POST requests, encoded using the MIME-type multipart/form-data
#webwork.multipart.parser=cos
webwork.multipart.parser=pell

# uses javax.servlet.context.tempdir by default
webwork.multipart.saveDir=
webwork.multipart.maxSize=2097152

### Load custom property files (does not override webwork.properties!)
webwork.custom.properties=application,com/webwork/extension/custom

# extension for actions.  This uses by the webwork:form tag
webwork.action.extension=action

### Standard UI theme
# Change this to reflect which path should be used for JSP control tag templates by default
webwork.ui.theme=xhtml
webwork.ui.templateDir=template

### Configuration reloading
# This will cause the configuration to reload xwork.xml when it is changed
webwork.configuration.xml.reload=false

### Location of velocity.properties file.  defaults to velocity.properties
webwork.velocity.configfile = velocity.properties

### Comma separated list of VelocityContext classnames to chain to the WebWorkVelocityContext
webwork.velocity.contexts =

### Override the default VelocityManager with a custom implementation
webwork.velocity.manager.classname=path.and.classname
  • No labels