struts2的struts.properties配置文件详解 u~N'UD1x
1yc$b+TH
struts.action.extension 3Z}m5f`t
The URL extension to use to determine if the request is meant for a Struts action U:aaa
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [|YuT:Cp
(I1^nrDP.
struts.configuration h)r=+Q\'(S
The org.apache.struts2.config.Configuration implementation class QT"o"B
org.apache.struts2.config.Configuration接口名 .36]>8
|gGD3H
struts.configuration.files Q'^$;X~-<
A list of configuration files automatically loaded by Struts $D*Yhv!/
struts自动加载的一个配置文件列表 [XA:pj;rg'
7zNfq.Ni~
struts.configuration.xml.reload r8_MIGM'
Whether to reload the XML configuration or not l>7?B2^<E
是否加载xml配置(true,false) P$/Y9o
ZZeF1y[q
struts.continuations.package f_. 0 uM
The package containing actions that use Rife continuations r,GgMk
含有actions的完整连续的package名称 [&p/7
HIlTt
struts.custom.i18n.resources 1HRcEzA
Location of additional localization properties files to load C8 $KVZ
加载附加的国际化属性文件(不包含.properties后缀) }%,LV]rGEZ
P[ ,
struts.custom.properties j'SGZnsy*
Location of additional configuration properties files to load 4"+v:t)z6{
加载附加的配置文件的位置 D<^K7tJui
EuD$^#
NQd0$q
struts.devMode \Dx)P[Ur
Whether Struts is in development mode or not v@:m8Y(t
是否为struts开发模式 J>0RN/38o
OK:YnSk "
struts.dispatcher.parametersWorkaround t1o_x}z4.
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]rO/IuB
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) VQ2B|v
o~'UWU'#
struts.enable.DynamicMethodInvocation 1L_(n
Allows one to disable dynamic method invocation from the URL h7}P5z0F
允许动态方法调用 X/S%0AwZ
}~ga86:n0
struts.freemarker.manager.classname n=h!V$X
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class jXyK[q&O&
org.apache.struts2.views.freemarker.FreemarkerManager接口名 kl5Y{![/&f
S^SF!k=
struts.i18n.encoding TzV~I\a|
The encoding to use for localization messages iB{l:
国际化信息内码 Q2t>E(S
s#(<zBZ9p#
struts.i18n.reload 69``j{Z+
Whether the localization messages should automatically be reloaded Gwfi
是否国际化信息自动加载 'R n\CMTH
&c81q2
struts.locale idZ]d6
The default locale for the Struts application %wmbFj}
默认的国际化地区信息 o5w =
\r\wqz7
struts.mapper.class d((,R@N'
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %Q5
|RLD
org.apache.struts2.dispatcher.mapper.ActionMapper接口 n_t.l<V
SKSI\]Cc
struts.multipart.maxSize 4AN(4"$N
The maximize size of a multipart request (file upload) ek0,@Vg9
multipart请求信息的最大尺寸(文件上传用) IU rGJ#}O
jbu+>
struts.multipart.parser 2,'%G\QT
The org.apache.struts2.dispatcher.multipart. ju/#V}N
MultiPartRequest parser implementation for a multipart request (file upload) "l-b(8n
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) T:w %RF[v9
]nx5E_j2
DcNwtts
struts.multipart.saveDir +2^Mz&I@b
The directory to use for storing uploaded files vb]H$@0
设置存储上传文件的目录夹 2PVQSwW:
esHcE{GNOS
struts.objectFactory TZE;$:1vx>
The com.opensymphony.xwork2.ObjectFactory implementation class +(o]E3
com.opensymphony.xwork2.ObjectFactory接口(spring) T=T1?@2C
.v#Tj|w^
struts.objectFactory.spring.autoWire E"t79dD
Whether Spring should autoWire or not [gE2;J0*
是否自动绑定Spring d>`s+B9K0
Jgzg[6
struts.objectFactory.spring.useClassCache h1Q rFPQnu
Whether Spring should use its class cache or not 7j{63d`2
是否spring应该使用自身的cache gib;> nuBK
ne'Y {n(8%
struts.objectTypeDeterminer Jnq}SUev
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 2~W8tv0^b2
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |F?/L>
?lQ-HO Aw
struts.serve.static.browserCache h
Ap(1h#m
If static content served by the Struts filter should set browser caching header properties or not )gKX+'
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 A!aki}aT~
Vg8c}>7
struts.serve.static kntn9G
Whether the Struts filter should serve static content or not _{0IX
是否struts过滤器应该提供静态内容 %9`\7h7K
"5$2b>_UE
struts.tag.altSyntax [!>DQE
Whether to use the alterative syntax for the tags or not v\Xyz
)
是否可以用替代的语法替代tags @"BkLF
OC_i,
struts.ui.templateDir r>7Dg~)V
The directory containing UI templates "P8cgj C
UI templates的目录夹 ]dQ
-jL10~/
struts.ui.theme [X'u={
The default UI template theme {{e+t8J??
默认的UI template主题 \PgMMc4'
eih~ SBSH
struts.url.http.port d<afO?"
The HTTP port used by Struts URLs ynG@/S6)K
设置http端口 Mp`i@pm+
j<_)Y(x>
struts.url.https.port ?wbf)fbq
The HTTPS port used by Struts URLs pwr]lV$w
设置https端口 5s=L5]]r_j
s%S; 9T
struts.url.includeParams 'jd fUB
The default includeParams method to generate Struts URLs C;oT0(
在url中产生 默认的includeParams 'n4
iW
GF^?#Jh
>`D$Jz,
struts.velocity.configfile 5TVA1
The Velocity configuration file path jmh$6 N%
F
velocity配置文件路径 Jnf@u
8z'_dfP=5
struts.velocity.contexts ttA0*
>'
List of Velocity context names v[=TPfX0
velocity的context列表 ^WmP,Xf#
#H/suQZN"g
w]Z:Y`
struts.velocity.manager.classname IRB BLXv7\
org.apache.struts2.views.velocity.VelocityManager implementation class s
N|7
org.apache.struts2.views.velocity.VelocityManager接口名 zFeo8S
/WJ+e
struts.velocity.toolboxlocation R7~#7qKQB
The location of the Velocity toolbox Y8%*S%yO
velocity工具盒的位置 vHxLn/
struts.xslt.nocache m<| *
Whether or not XSLT templates should not be cached y?yWM8
是否XSLT模版应该被缓存 @DA.$zn&