struts2的struts.properties配置文件详解 MJO-q $)c
\?-<4Bc@
struts.action.extension Hzz %3}E
The URL extension to use to determine if the request is meant for a Struts action yx[/|nZDC4
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 '<)n8{3Q5w
eC4[AX6e
struts.configuration 8kIksy
The org.apache.struts2.config.Configuration implementation class 2@],ZLa
org.apache.struts2.config.Configuration接口名 rZ$O?K
Of#u
struts.configuration.files ~,Ix0h+H+M
A list of configuration files automatically loaded by Struts 4F:\-O
struts自动加载的一个配置文件列表 K@]4g49A/j
eM6<%?b
struts.configuration.xml.reload Dml;#'IF3
Whether to reload the XML configuration or not };zFJ6I8
是否加载xml配置(true,false) _;y9$"A
Gb6 'n$g
struts.continuations.package _N cR)2
The package containing actions that use Rife continuations u&vf+6=9Dd
含有actions的完整连续的package名称 khxnlry
+\]\[6
struts.custom.i18n.resources t{9GVLZ
Location of additional localization properties files to load \V63qg[
加载附加的国际化属性文件(不包含.properties后缀) g:@#@1rB6
oZgjQM$YP
struts.custom.properties _jVN&\A]mC
Location of additional configuration properties files to load ^{`exCwMx
加载附加的配置文件的位置 q.bSIV|
="H`V V_
:3Ox~o
struts.devMode |HQW0
Whether Struts is in development mode or not M|h3Wt~7
是否为struts开发模式 ;$|nrwhy
TIDO@NwF
struts.dispatcher.parametersWorkaround Wn2NMXK
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic
<kqo^
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) hn@08t G
cV6D<,)
struts.enable.DynamicMethodInvocation .`eN8Dl1
Allows one to disable dynamic method invocation from the URL K\r8g=U
允许动态方法调用 + &Eqk
(w3YvG.
struts.freemarker.manager.classname 2/^3WY1U
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ES7s1O$#
org.apache.struts2.views.freemarker.FreemarkerManager接口名 C,r;VyW6BI
*i%d,w0+
struts.i18n.encoding ~36!?&eA8
The encoding to use for localization messages d7upz]K9g
国际化信息内码 Ui W>J
g!|kp?
struts.i18n.reload =dKtV.L
Whether the localization messages should automatically be reloaded _B<X`L
=
是否国际化信息自动加载 #;yZ
#;e:A8IQ
struts.locale N4!O.POP
The default locale for the Struts application x 9fip-
默认的国际化地区信息 6H$FhJF
-Q*gW2KmV
struts.mapper.class O^
yG?b
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a1lh-2xX
org.apache.struts2.dispatcher.mapper.ActionMapper接口 q0vQa
,f>k%_U}
struts.multipart.maxSize Y:[u1~a
The maximize size of a multipart request (file upload) u*`GiZAO
multipart请求信息的最大尺寸(文件上传用) 8lrpve
#X1ND
struts.multipart.parser U5de@Y
The org.apache.struts2.dispatcher.multipart. DvvK^+-~
MultiPartRequest parser implementation for a multipart request (file upload) gM:".Ee
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (\x]YMLH
f
;n3&e0eC
Fx.=#bVX7
struts.multipart.saveDir %h!B^{0
The directory to use for storing uploaded files 4tBYR9|
设置存储上传文件的目录夹 Q![@c
8d'0N
struts.objectFactory W'TZ%K) I
The com.opensymphony.xwork2.ObjectFactory implementation class f-Z/tfC
com.opensymphony.xwork2.ObjectFactory接口(spring) {`@G+JV~Jw
|CyE5i0
struts.objectFactory.spring.autoWire 5$k:t
Whether Spring should autoWire or not /\n-P'}
是否自动绑定Spring j\M?~=*w
iH@UTE ;
struts.objectFactory.spring.useClassCache L!xi
Whether Spring should use its class cache or not '`Hr}
是否spring应该使用自身的cache
x.$FNt(9
<LiPEo.R
struts.objectTypeDeterminer +M/%+l
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class f@!.mDm]
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 i/Zd8+.n$
P*j|.63
struts.serve.static.browserCache 6'f;-2
If static content served by the Struts filter should set browser caching header properties or not #H~64/
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 M\BRcz
0g8NHkM:2a
struts.serve.static y:uE3Apm
Whether the Struts filter should serve static content or not M_DwUS1?
是否struts过滤器应该提供静态内容 +NUG
abVmkdP_s
struts.tag.altSyntax eHUOU>&P]
Whether to use the alterative syntax for the tags or not (tW`=]z-<
是否可以用替代的语法替代tags BI@[\aRLQ
RViAwTvY
struts.ui.templateDir 8}:nGK|kx
The directory containing UI templates h<QY5=SF
UI templates的目录夹 V0mn4sfs
]`WJOx4
struts.ui.theme 1'8YkhQ2a
The default UI template theme Nh+ H 9
默认的UI template主题 pA4xbr 2
%W S+(0*1
struts.url.http.port JBZ@'8eqi]
The HTTP port used by Struts URLs [:*)XeRK
设置http端口 _+MJ%'>S
ns4,@C$
struts.url.https.port I>$&-i
The HTTPS port used by Struts URLs OY({.uV dX
设置https端口 hDGF7
>H,*H;6
struts.url.includeParams owv[M6lbD
The default includeParams method to generate Struts URLs ^-'fW7[m
在url中产生 默认的includeParams wMN]~|z>
&K,i
f
R4d=S4i
struts.velocity.configfile U6s[`H3I{
The Velocity configuration file path I]q% 2ie
velocity配置文件路径 dj%!I:Q>u
W2!+z{:m
struts.velocity.contexts A3*!"3nU
List of Velocity context names X@FN|Rdh
velocity的context列表 qqU 64E
hi[pVk~B)
V=3b&TkE
struts.velocity.manager.classname Flb&B1
org.apache.struts2.views.velocity.VelocityManager implementation class xgtR6E^k
org.apache.struts2.views.velocity.VelocityManager接口名 yB6?`3A:
-UT}/:a
struts.velocity.toolboxlocation O#r%>;3*
The location of the Velocity toolbox &)<)^.@3G^
velocity工具盒的位置 sDV Q#}a
struts.xslt.nocache V(*(F7+
Whether or not XSLT templates should not be cached cB&:z)i4
是否XSLT模版应该被缓存 7 X4LJf