struts2的struts.properties配置文件详解 E:'TZ4Z
=8:m:Y&|`G
struts.action.extension jYE<d&Cq
The URL extension to use to determine if the request is meant for a Struts action {/d<Jm:
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 pm`BMy<5PU
*Y'nDv6_P
struts.configuration ^'9:n\SKQ
The org.apache.struts2.config.Configuration implementation class !ZlBM{C
org.apache.struts2.config.Configuration接口名 4JV/Ci5
r$7fw}'I
struts.configuration.files HQqnJ;ns<
A list of configuration files automatically loaded by Struts LE$_qX`L
struts自动加载的一个配置文件列表 Y7{|iw(#
J=v"
HeVm
struts.configuration.xml.reload H?A&P4nZ
Whether to reload the XML configuration or not QCjC|T9
是否加载xml配置(true,false) 5~)m6]-6
R{={7.As+
struts.continuations.package 8NU <lV`
The package containing actions that use Rife continuations [l"|x75-
含有actions的完整连续的package名称 2|]pD
)\oLUuL`;
struts.custom.i18n.resources www#.D%'U
Location of additional localization properties files to load ^U1@
hq*u
加载附加的国际化属性文件(不包含.properties后缀) 3jH-!M5
3,;;C(
struts.custom.properties od\-o:bS
Location of additional configuration properties files to load a;@G
加载附加的配置文件的位置 7tbM~+<0
]rk8Jsg
y*ux7KO
struts.devMode B'sgCU
Whether Struts is in development mode or not R)}ab{A
是否为struts开发模式 b/^i
oZVq}}R
struts.dispatcher.parametersWorkaround _OR@S%$
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic l@:|OGD;8
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (|Zah1k&]
!Miw.UmPm
struts.enable.DynamicMethodInvocation Qy< ~{6V
Allows one to disable dynamic method invocation from the URL ICq
允许动态方法调用 vq(ElXTO
/XEt2,sI9
struts.freemarker.manager.classname qRk<1.
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Zw4z`x1f
org.apache.struts2.views.freemarker.FreemarkerManager接口名 /O@TqH
R1A|g=kF
struts.i18n.encoding z''ITX)oG
The encoding to use for localization messages m[l[yUw#
国际化信息内码 8nKZ
E+'P|~>oX
struts.i18n.reload F`C$F!GE
Whether the localization messages should automatically be reloaded Y7q=]
是否国际化信息自动加载 B}OM:0
_6O\*|'6
struts.locale `Ckx~'1M:
The default locale for the Struts application e$
pXnMx7
默认的国际化地区信息 W.67};',
A!xx#+M
struts.mapper.class '#Yqs/V
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class O:G5n 5J
org.apache.struts2.dispatcher.mapper.ActionMapper接口 p0r:U<&
kx3?'=0;5
struts.multipart.maxSize ]|6)'L&]*s
The maximize size of a multipart request (file upload) yv),>4_6
multipart请求信息的最大尺寸(文件上传用) 2^3N[pM;
xJ=@xfr$
struts.multipart.parser XXwe/>J
The org.apache.struts2.dispatcher.multipart. mT:Z!sS
MultiPartRequest parser implementation for a multipart request (file upload) "~:AsZ"7
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <4{Jm8zJ
uC2-T5n'
108cf~2&
struts.multipart.saveDir Qf=+%-$Y
The directory to use for storing uploaded files on0MhW
设置存储上传文件的目录夹 ^*-6PV#Z
6!& DH#M
struts.objectFactory r:xbs0
7
The com.opensymphony.xwork2.ObjectFactory implementation class cJ^:b4j
com.opensymphony.xwork2.ObjectFactory接口(spring) JJE3\
* |dz.Tr
struts.objectFactory.spring.autoWire BNj@~uC{
Whether Spring should autoWire or not z+~klv3
是否自动绑定Spring =PQMd
8(jUCD
struts.objectFactory.spring.useClassCache \7\7i-Vo
Whether Spring should use its class cache or not 8?
U!PW
是否spring应该使用自身的cache 4Y.o RB
q2SlK8`QJ
struts.objectTypeDeterminer bx XNv^
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class BSyl!>G6n8
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 45
\W%8
igGg[I1?
struts.serve.static.browserCache %k+G-oT5
If static content served by the Struts filter should set browser caching header properties or not W08rGY
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 RkMs!M
z\F#td{ r
struts.serve.static $F#eD0|
Whether the Struts filter should serve static content or not Lo{g0~?x*
是否struts过滤器应该提供静态内容 ORdS|y;:
a7~%( L@r
struts.tag.altSyntax e]!`Cl-f80
Whether to use the alterative syntax for the tags or not 9P7^*f:E
是否可以用替代的语法替代tags &[Zg;r
;"R1>tw3)
struts.ui.templateDir 3<"!h1x5
The directory containing UI templates 1+Z@4;fk
UI templates的目录夹 cOa){&u
le*'GgU#
struts.ui.theme vB<2f*U
The default UI template theme GxynLXWo>
默认的UI template主题 V1]QuQ{&s
Sy0-tK4
struts.url.http.port `|2p1Ei
The HTTP port used by Struts URLs zKllwIfi
设置http端口 nmN3Z_
(\zxiK
struts.url.https.port ^T< HD
The HTTPS port used by Struts URLs UgP
设置https端口 j=U^+jAn
6eB2mcV
struts.url.includeParams S}}L&
_
The default includeParams method to generate Struts URLs j8cXv
在url中产生 默认的includeParams l'Kx#y$
x)0''}E~
x o{y9VS
struts.velocity.configfile s~tZN
The Velocity configuration file path s9\N{ar#
velocity配置文件路径 ahmxbv3f=5
t`!@E#VK
struts.velocity.contexts oQ{
X2\
List of Velocity context names q L-Ni
velocity的context列表 tmgZNg
/hv2=A
.[Nr2w:>
struts.velocity.manager.classname O,_k.EH
org.apache.struts2.views.velocity.VelocityManager implementation class oa"_5kn,
org.apache.struts2.views.velocity.VelocityManager接口名 \&,{N_G#L.
12TX_ 0
struts.velocity.toolboxlocation }b/Xui9Q
The location of the Velocity toolbox t4H*&U
velocity工具盒的位置 Co^^rd@
struts.xslt.nocache C9VtRq
Whether or not XSLT templates should not be cached AcQmY?
是否XSLT模版应该被缓存 p?H2W-