struts2的struts.properties配置文件详解 HB}iT1.`
k|
>zauK
struts.action.extension Dwah_ p8
The URL extension to use to determine if the request is meant for a Struts action YA8ZB&]En/
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Qmj%otSg
#23($CSE
struts.configuration + Ui%}^ZZ
The org.apache.struts2.config.Configuration implementation class Mbtk:GuY
org.apache.struts2.config.Configuration接口名 gyv @_}Y3
RM!VAFH
struts.configuration.files - QQU>_
A list of configuration files automatically loaded by Struts }\EHZ
struts自动加载的一个配置文件列表 %){) /~e&
Gg5>~"pb
struts.configuration.xml.reload .[vYT.LE
Whether to reload the XML configuration or not EB5^eNdL
是否加载xml配置(true,false) x<) T,c5Y
ODPWFdRar
struts.continuations.package G5$YXNV
The package containing actions that use Rife continuations 5g
phza
含有actions的完整连续的package名称 >NBwtF>
2| ERif;)
struts.custom.i18n.resources -p20UP 1I
Location of additional localization properties files to load Gq.fQ_oOb
加载附加的国际化属性文件(不包含.properties后缀) C33=<r[;N<
xx[l#+:c
struts.custom.properties bm(.(0MI
Location of additional configuration properties files to load }[ByN).
加载附加的配置文件的位置 p+:MZP -%(
o@r~KFIe
h.aXW]]}(P
struts.devMode r59BBW)M
Whether Struts is in development mode or not U5H5QW +
是否为struts开发模式 qmbhx9V
r} a,
struts.dispatcher.parametersWorkaround +J:wAmY4
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _z&H O
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) TiSV`V q
??g
=
`yH
struts.enable.DynamicMethodInvocation -VZ?
c
Allows one to disable dynamic method invocation from the URL HJOoCf
允许动态方法调用 3xpygx9
X"v)9p
struts.freemarker.manager.classname Vpf7~2[q%
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class E
<h9o>h
org.apache.struts2.views.freemarker.FreemarkerManager接口名 IlMst16q5
Qy|6A@
struts.i18n.encoding &=v5M9GR]
The encoding to use for localization messages 8"J6(KS
国际化信息内码 :74G5U8%
O3(H_(P
struts.i18n.reload R nk&:c
Whether the localization messages should automatically be reloaded M[Mx
g
是否国际化信息自动加载 WizVw&Iv
ZgL ]ex
struts.locale w(R+p/RF
The default locale for the Struts application ag"Nf-o/Y
默认的国际化地区信息 S(hT3MAW
O|0} m
struts.mapper.class Xa&0j&AH
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class m~vEandm
org.apache.struts2.dispatcher.mapper.ActionMapper接口 78FK{Cr
Cg%}=
struts.multipart.maxSize n,%/cUl
The maximize size of a multipart request (file upload) jg=}l1M"
multipart请求信息的最大尺寸(文件上传用) UJrN+RtL
LKu
,H
struts.multipart.parser #:}mi;{
The org.apache.struts2.dispatcher.multipart. (Z at|R.F
MultiPartRequest parser implementation for a multipart request (file upload) hE}y/A[
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9I*`~il>{
`'/1Ij+
>twog}%
struts.multipart.saveDir 5t[7taLX\
The directory to use for storing uploaded files ^
&VN=Y6z
设置存储上传文件的目录夹 0tP{K
H@ .1cO
struts.objectFactory <|4L+?_(&
The com.opensymphony.xwork2.ObjectFactory implementation class #^bn~
com.opensymphony.xwork2.ObjectFactory接口(spring) ZTK)N
Oftjm
X_
struts.objectFactory.spring.autoWire 8DZ
OPA
Whether Spring should autoWire or not 8jfEvwY
是否自动绑定Spring "AHuq%j
7>yb8/J
struts.objectFactory.spring.useClassCache ?
-`8w
_3
Whether Spring should use its class cache or not y_f^ dIK*=
是否spring应该使用自身的cache m7m)BX%O
p"=8{LrO
struts.objectTypeDeterminer .oxeo0@~
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9l:vVp7Uk
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 TDHS/"MbA7
$ D(q
struts.serve.static.browserCache 4F?O5&329i
If static content served by the Struts filter should set browser caching header properties or not >7nOR
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 >Ms_bfSK
@7OE:& #V
struts.serve.static $O^U"
Whether the Struts filter should serve static content or not 6ragRS/'x
是否struts过滤器应该提供静态内容 G0pqiU6
A=pyaU`aE
struts.tag.altSyntax n_46;lD
Whether to use the alterative syntax for the tags or not 6B`,^8Lp
是否可以用替代的语法替代tags ;&]oV`Ib
MnD^jcx
struts.ui.templateDir U&SgB[QHO
The directory containing UI templates )VFS&|#\
UI templates的目录夹 u_X(c'aE;
td\'BV
struts.ui.theme gl!F)RdH
The default UI template theme &cB+la\_
默认的UI template主题 x_.}C%
T6Ks]6m_
struts.url.http.port CeW}zkcT
The HTTP port used by Struts URLs l08JL
设置http端口 BMovl4*5
nO .:f
struts.url.https.port K.: :P84m;
The HTTPS port used by Struts URLs 3B[u2o>
设置https端口 r>x>aJ
be:=-B7!
struts.url.includeParams i$S*5+
The default includeParams method to generate Struts URLs Kma-W{vGD
在url中产生 默认的includeParams ;@G5s+<l
h&m4"HBL_
uPBtR
struts.velocity.configfile
=U+_;;F=
The Velocity configuration file path k2ZMDU
velocity配置文件路径 {
^
@c96&
^F`\B'8MF
struts.velocity.contexts O(YvE
List of Velocity context names s!\Gi5b
velocity的context列表 R)BH:wg"
vON1\$bu`
cK~VNzsz
struts.velocity.manager.classname 3pI)
org.apache.struts2.views.velocity.VelocityManager implementation class yh"48@L'D
org.apache.struts2.views.velocity.VelocityManager接口名 pJPP6Be<
UWg+7RL
struts.velocity.toolboxlocation l. 0|>gj`0
The location of the Velocity toolbox C+X-Cp
velocity工具盒的位置 6eHw\$/
struts.xslt.nocache z)XIA)i6
Whether or not XSLT templates should not be cached I=}pT50~9
是否XSLT模版应该被缓存
1\ab3n