struts2的struts.properties配置文件详解 %8P6l D
k#p6QAhS
struts.action.extension IZd~Am3f
The URL extension to use to determine if the request is meant for a Struts action sLK$H|%>m
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *WWDwY@!u
\vW'\}
struts.configuration {L M Q
The org.apache.struts2.config.Configuration implementation class )"E1/$*k
org.apache.struts2.config.Configuration接口名 %GMCyT
C
MGDg}
struts.configuration.files ;H?tcb*
A list of configuration files automatically loaded by Struts :8?l=B9("g
struts自动加载的一个配置文件列表 /6y;fx
f\Q_]%^W
struts.configuration.xml.reload )|Ka'\xr
Whether to reload the XML configuration or not I3}I7oc_
是否加载xml配置(true,false) N[yS heT
Qv8 =CnuOT
struts.continuations.package W{ZJ^QAq/
The package containing actions that use Rife continuations C2DAsSw
含有actions的完整连续的package名称 GAh\6ul
yv$hIU2X
struts.custom.i18n.resources $5Rx>$~+d
Location of additional localization properties files to load B?
XK;*])
加载附加的国际化属性文件(不包含.properties后缀) )31xl6@
C7&L9k~jf
struts.custom.properties ;iUO1t)^
Location of additional configuration properties files to load Go[anf
加载附加的配置文件的位置 ~D/1U)kt
b~TTz`HZ
A[:(#iR5-E
struts.devMode ~cfvL*~5
Whether Struts is in development mode or not \GGyz{i
是否为struts开发模式 e&Z ?I2J
A3.pz6iT>
struts.dispatcher.parametersWorkaround 1h{7dLA
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5/HkhTyj
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (/i|3 P
/In=u6D O
struts.enable.DynamicMethodInvocation DYgz;Y/%l
Allows one to disable dynamic method invocation from the URL t^~itlE{
允许动态方法调用 r[2*K 9
sAF="uB
struts.freemarker.manager.classname T?7++mcA
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class t\n'Kuk`
org.apache.struts2.views.freemarker.FreemarkerManager接口名 2>Qy*
}CrWmJu0
struts.i18n.encoding i=V2
/W}
The encoding to use for localization messages jk%H+<FU`
国际化信息内码 k<rJm
P{
6O*lZNN
struts.i18n.reload 3u,B<
Whether the localization messages should automatically be reloaded M L7 vP
是否国际化信息自动加载 +\>op,_9I
Q>L.
struts.locale TA~ZN^xI
The default locale for the Struts application k#8E9/t@
默认的国际化地区信息 GB)< 5I
Rq|]KAN
struts.mapper.class y%<CkgZS
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class NA#,q 8
org.apache.struts2.dispatcher.mapper.ActionMapper接口 TT&%[A+
:fnK`RnaQ
struts.multipart.maxSize 6 8Vxy
The maximize size of a multipart request (file upload) *mW 2vJ/B
multipart请求信息的最大尺寸(文件上传用) vxrqUjK7
Mh}vr%0;)
struts.multipart.parser Qzv&
The org.apache.struts2.dispatcher.multipart. zbvV:9N
MultiPartRequest parser implementation for a multipart request (file upload) In;+wFu;M
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ZCNO_g
Na+h+wD.D
!y$+RA7\
struts.multipart.saveDir "2PT]!
The directory to use for storing uploaded files !;Pp)SRzKG
设置存储上传文件的目录夹 JX#0<U|L
.(yJ+NU
struts.objectFactory bfK4ps}m*
The com.opensymphony.xwork2.ObjectFactory implementation class .k|\xR
com.opensymphony.xwork2.ObjectFactory接口(spring) va0}?fy.O%
VWqZ`X
struts.objectFactory.spring.autoWire J58S8:c
Whether Spring should autoWire or not ^RYq !l$
是否自动绑定Spring | S'mF6Y
qtFHA+bO
struts.objectFactory.spring.useClassCache ?R4%z2rcW
Whether Spring should use its class cache or not 6<f(Zv? I
是否spring应该使用自身的cache @\a~5CLN
D4~]:@v~n
struts.objectTypeDeterminer nL[G@1nR
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {~XnmBs
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 F]s:`4
!mUO/6Q hq
struts.serve.static.browserCache A!R'/m'VG
If static content served by the Struts filter should set browser caching header properties or not a`LkP%
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 :Vw{ lB
Ms-)S7tMz
struts.serve.static f|~X}R
Whether the Struts filter should serve static content or not (]zi;
是否struts过滤器应该提供静态内容 -oB=7+g
@0 [^SU?
struts.tag.altSyntax Dd:^ {
Whether to use the alterative syntax for the tags or not rCb#E}
是否可以用替代的语法替代tags (D{J|
(ki= s+W-
struts.ui.templateDir 0!tuUn
The directory containing UI templates rU1Ri
UI templates的目录夹 /NxuNi;5
"|V}[ 2
struts.ui.theme Ep3I*bQ
Y
The default UI template theme aS~~*UHW
默认的UI template主题 n98sY+$-z
~Bi%8G
struts.url.http.port 2HF`}H)H
The HTTP port used by Struts URLs 8i)9ho<
设置http端口 z|\n^ZK=
#er% q:
struts.url.https.port @3bVjQ`4f
The HTTPS port used by Struts URLs l\|sHn/
设置https端口 Hlpt zez
]0W64cuT
struts.url.includeParams e&!8UYP
The default includeParams method to generate Struts URLs J|<C;[du>
在url中产生 默认的includeParams q4,/RZhzh
%Hhk
6tR,
"{zqXM}:C
struts.velocity.configfile 0?O_]SD
The Velocity configuration file path 2IGU{&s
velocity配置文件路径 s d = bw
m)Wq*&,o
struts.velocity.contexts }c>vk
List of Velocity context names >P//]nn
velocity的context列表 xC}' "``s
@#;*e] 1a
\C4wWh-A
struts.velocity.manager.classname pWP1$;8
org.apache.struts2.views.velocity.VelocityManager implementation class . i^@v<+
org.apache.struts2.views.velocity.VelocityManager接口名 >7~,w1t
ngI+afo
struts.velocity.toolboxlocation 1qBE|PwBp
The location of the Velocity toolbox 'pB?
velocity工具盒的位置 JVr8O`>T
struts.xslt.nocache w^,Xa
Whether or not XSLT templates should not be cached WZh_z^rwn
是否XSLT模版应该被缓存 y,w_x,m