struts2的struts.properties配置文件详解 *olV Y/'O
X v;} !z
struts.action.extension w$I<WS{J:Z
The URL extension to use to determine if the request is meant for a Struts action E>|[@Z
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2qV.`d
0>hV?A
struts.configuration $1<V'b[E
The org.apache.struts2.config.Configuration implementation class d*3;6ZLy
org.apache.struts2.config.Configuration接口名 oc.H}Eb%Z
<=WSX{_D
struts.configuration.files 7A0D[?^xe
A list of configuration files automatically loaded by Struts m(Ghe2T:
struts自动加载的一个配置文件列表 #B7_5y^
,i KEIxA!
struts.configuration.xml.reload dXr=&@1
Whether to reload the XML configuration or not
gC^4K9g
是否加载xml配置(true,false) M$&aNt;
=xwA'D9]
struts.continuations.package ^M?O
The package containing actions that use Rife continuations / J 3
含有actions的完整连续的package名称 s}Y_og_c
7hAFK
struts.custom.i18n.resources 2<&lrsh
Location of additional localization properties files to load q{D_p[q
加载附加的国际化属性文件(不包含.properties后缀) t(3<w)r2
/G)Y~1ASA%
struts.custom.properties Hkq""'Mx+w
Location of additional configuration properties files to load |eS5~0<`
加载附加的配置文件的位置 v:otR%yt
N7%iz+
cp@(y$
struts.devMode ,G2]3
3Z
Whether Struts is in development mode or not D)C^'/8q
是否为struts开发模式 z'cVq}vl
EC[2rROn\
struts.dispatcher.parametersWorkaround R5O{;/w
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Y1e>P
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) so[i"ZM)
pfd||Z
struts.enable.DynamicMethodInvocation P%#WeQ+
Allows one to disable dynamic method invocation from the URL Yphru"\$
允许动态方法调用 1rs`|iX5
nNb Oq[
struts.freemarker.manager.classname RmXC
^VQ
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class "#7~}ZB
org.apache.struts2.views.freemarker.FreemarkerManager接口名 z"4UObVs
~!o\uTVr
struts.i18n.encoding ^kg[n908Nw
The encoding to use for localization messages qs\O(K8
国际化信息内码 K_\fO|<k
3SbtN3
struts.i18n.reload *}BaO*A
Whether the localization messages should automatically be reloaded _TF\y@hF*D
是否国际化信息自动加载 th&?
S $wx>715
struts.locale 3yNILj
The default locale for the Struts application bWc3a
默认的国际化地区信息 }e}J6[wP
wc#+Yh6
struts.mapper.class G2#={g{
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4;G:.k!K
org.apache.struts2.dispatcher.mapper.ActionMapper接口 wNsAVUjLe
nC Mv&{~
struts.multipart.maxSize
i <KWFF#
The maximize size of a multipart request (file upload) 9uk}r; %9
multipart请求信息的最大尺寸(文件上传用) FD?!bI4
jJ^p
?
struts.multipart.parser VCOz?Y*
The org.apache.struts2.dispatcher.multipart. y*ae 5=6(
MultiPartRequest parser implementation for a multipart request (file upload) LKtug>Me
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~jK'n4
u,<#z0R|;$
weMC9T)B
struts.multipart.saveDir KA )9&6
The directory to use for storing uploaded files -Y]ue*k{
设置存储上传文件的目录夹 j$%KKl8j
j=U
[V&T
struts.objectFactory /jJi`'{U
The com.opensymphony.xwork2.ObjectFactory implementation class p4m9@\gn
com.opensymphony.xwork2.ObjectFactory接口(spring) anwMG0
.+1.??8:+
struts.objectFactory.spring.autoWire sflH{!;p
Whether Spring should autoWire or not 0fgt2gA33
是否自动绑定Spring [%U(l<
21Z}Zj
struts.objectFactory.spring.useClassCache HWe?vz$4"
Whether Spring should use its class cache or not !acm@"Ea
是否spring应该使用自身的cache BR1oE3in
l{U-$}
struts.objectTypeDeterminer an+`>}]F
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class (n'Mf
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |Sg
FHuA
`<I+(8]Uz
struts.serve.static.browserCache o&2(xI2
If static content served by the Struts filter should set browser caching header properties or not V=!tZ[4z$h
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 vby[#S|
U
00}jH
struts.serve.static QdaYP
Whether the Struts filter should serve static content or not 5mNd5IM
是否struts过滤器应该提供静态内容 <0,c{e
E. @n Rj#
struts.tag.altSyntax ;B[*f?y-
Whether to use the alterative syntax for the tags or not YVy+1q[
是否可以用替代的语法替代tags C3|(XChqC
kh3PEq
struts.ui.templateDir _tE`W96J
The directory containing UI templates PprCz"
UI templates的目录夹 5&5
x[S8
n[# !Q`D
struts.ui.theme D[)
Z$+D4f
The default UI template theme P]*,955*)
默认的UI template主题 gC-3ghmgS
<u\j4<p
struts.url.http.port _~ m@ SI
The HTTP port used by Struts URLs CR$\$-
设置http端口 \$o5$/oU(
(ly4[G1y
struts.url.https.port t!MGSB~
The HTTPS port used by Struts URLs 7hPiPv
设置https端口 ;0lHi4 c0
+an.z3?w
struts.url.includeParams BM+v,hGY
The default includeParams method to generate Struts URLs
'UGkL;
在url中产生 默认的includeParams _hgu:
sqkk4w1#C
uveby:dh
struts.velocity.configfile U_ j\UQC
The Velocity configuration file path Hk'D@(hS
velocity配置文件路径 p<#WueR[
5 rpX"(
struts.velocity.contexts feOX]g#
List of Velocity context names k&-SB -
velocity的context列表 [R$iX
eh=.Q<N
^8p=g-U\
struts.velocity.manager.classname >BU"C+a8g
org.apache.struts2.views.velocity.VelocityManager implementation class ?kfLOJQ:I
org.apache.struts2.views.velocity.VelocityManager接口名 .t\#>Fe
zS]8ma
struts.velocity.toolboxlocation 6?an._ C
The location of the Velocity toolbox E! '|FJ
velocity工具盒的位置 :77dl/d%
struts.xslt.nocache WEgJ_dB
Whether or not XSLT templates should not be cached 1n+C'P"
是否XSLT模版应该被缓存 Y.9s-g