This page last changed on Aug 04, 2004 by jcarreira.

可以通过修改WebWork的属性来适应你自己的需要. 你需要在/WEB-INF/classes目录下的webwork.properties文件中设置你所需的属性值. 下文的属性列表可以在default.properties(在webwork.jar中)中找到:

### These can be used to set the default HTTP and HTTPS  ports
### 用于设置HTTP和HTTPS缺省端口
webwork.url.http.port = 80
webwork.url.https.port = 443

### This can be used to set your locale and encoding scheme
### 用于设置你的区域和编码
webwork.locale=en_US
webwork.i18n.encoding=ISO-8859-1

### Parser to handle HTTP POST requests, encoded using the MIME-type multipart/form-data
### 解析MIME-type为multipart/form-data的POST请求.
#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

### Load custom default resource bundles
#webwork.custom.i18n.resources=testmessages,testmessages2
Document generated by Confluence on Dec 14, 2004 16:37