struts2的struts.properties配置文件详解 CD_f[u
1Q SIZoK7
struts.action.extension R3n&o%$*
The URL extension to use to determine if the request is meant for a Struts action Y:,R7EO{!
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 }i&dZTBGW
dSVu_*y
struts.configuration k~f+L O
The org.apache.struts2.config.Configuration implementation class +{%(_<
org.apache.struts2.config.Configuration接口名 \bic.0-
Wp}9%Mq~Jy
struts.configuration.files \`&pk-uW
A list of configuration files automatically loaded by Struts P(epG?Qg
struts自动加载的一个配置文件列表 _}@n_E
Wk?|BR]O
struts.configuration.xml.reload Vb^s 'k
Whether to reload the XML configuration or not 4i/q^;`
是否加载xml配置(true,false) 0>=)
#2jn4>
struts.continuations.package *\KMkx
The package containing actions that use Rife continuations <IyLLQ+v
含有actions的完整连续的package名称 w3qf7{b
_[i=TqVmf
struts.custom.i18n.resources !rg0U<bO!
Location of additional localization properties files to load @>2rz
加载附加的国际化属性文件(不包含.properties后缀) V6MT> T
93IOG{OAY
struts.custom.properties 4AOS}@~W
Location of additional configuration properties files to load U;{,lS2l
加载附加的配置文件的位置 MQ(/l_=zQ
_(`X .D
mN{ajf)@
struts.devMode B"m:<@ "
Whether Struts is in development mode or not Kxc$wN<
是否为struts开发模式 O2]r]9sh*
=6<w'>
struts.dispatcher.parametersWorkaround ;b?+:L
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1qj%a%R
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >zg8xA1zL
3B".Gsm)X
struts.enable.DynamicMethodInvocation (4ci=*3=
Allows one to disable dynamic method invocation from the URL J(0 =~Z[
允许动态方法调用 a^c,=X3
N~5WA3xd
struts.freemarker.manager.classname HwW[M[qA
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class G^rh*cb K
org.apache.struts2.views.freemarker.FreemarkerManager接口名 # )mkD4
b?] S&)"9
struts.i18n.encoding x_y>j)
The encoding to use for localization messages l8xd73D)8
国际化信息内码 +<\cd9
RA/ =w&
struts.i18n.reload @@/'b'
Whether the localization messages should automatically be reloaded J)8pqa
是否国际化信息自动加载 Ag#5.,B-
KPjqw{gR_R
struts.locale wGzXp5
dl
The default locale for the Struts application e0N=2i?I#z
默认的国际化地区信息 #4_O;]{'
nUud?F^_
struts.mapper.class jaO#><f
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _c9
WWp?
org.apache.struts2.dispatcher.mapper.ActionMapper接口 \e:FmG
Wqs.oh
struts.multipart.maxSize [> &+*c
The maximize size of a multipart request (file upload) ?X_0Iy}1
multipart请求信息的最大尺寸(文件上传用) )_b@~fC
'5xuT _
struts.multipart.parser VIz{}_~'s
The org.apache.struts2.dispatcher.multipart. y>7VxX0xi
MultiPartRequest parser implementation for a multipart request (file upload) <Xs@ \
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) F*4Qa
F0BOhlK
p#;dLM/EA
struts.multipart.saveDir eW"x%|/Q7
The directory to use for storing uploaded files D;^ZWz0
设置存储上传文件的目录夹 vQBY1-S
dVVvG]
struts.objectFactory Ife,h
s
The com.opensymphony.xwork2.ObjectFactory implementation class XuFm4DEJ
com.opensymphony.xwork2.ObjectFactory接口(spring) c(Uj'uLc
U)`3[fo
struts.objectFactory.spring.autoWire +A'q#~yILa
Whether Spring should autoWire or not Jl}!CE@-
是否自动绑定Spring |,a%z-l
y13CR2t6
struts.objectFactory.spring.useClassCache D)*_{
Whether Spring should use its class cache or not qN1e{T8u
是否spring应该使用自身的cache \9>g;qPg}
#>E3' 5b
struts.objectTypeDeterminer J"D&q
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class nXM9Px!
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 b#Fk>j
M=\d_O#;Z
struts.serve.static.browserCache PK-}Ldj
If static content served by the Struts filter should set browser caching header properties or not )-Mn"1ia
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 do=x9k@Q
kol,Qs
struts.serve.static 'TK$ndy;7}
Whether the Struts filter should serve static content or not KM_)7?`
是否struts过滤器应该提供静态内容 [al(>Wr9
C NzSBm
struts.tag.altSyntax } Jdh^t .
Whether to use the alterative syntax for the tags or not yRq8;@YGY
是否可以用替代的语法替代tags f0cYvL]
}P&1s,S8J#
struts.ui.templateDir ]s*[Lib
The directory containing UI templates Bt*&L[&57
UI templates的目录夹 uFrJ:l+
w>z8c3Dq}
struts.ui.theme x;ERRK
The default UI template theme ^B<PD]
默认的UI template主题 =0C l
q*F~~J!P
struts.url.http.port Io,/ +#|
The HTTP port used by Struts URLs kH>vD =q>
设置http端口 K)9j
je
H#kAm!H
struts.url.https.port 8"?Vcw&
The HTTPS port used by Struts URLs SgCqxFii
设置https端口 q(ZB.
/^z/]!JG:V
struts.url.includeParams LM"W)S
The default includeParams method to generate Struts URLs )T.pjl
在url中产生 默认的includeParams VeNNsg>&
fXF=F,!t
B
c,"12
struts.velocity.configfile fw1;i
The Velocity configuration file path v|4STR
velocity配置文件路径 nxn[ ~~
i_[
HcgT-
struts.velocity.contexts 5bF9IH
List of Velocity context names ] 689 Q%D
velocity的context列表 H7z>S G0
AQnJxIL:
L;.VEz!
struts.velocity.manager.classname Zzw}sZ?8
org.apache.struts2.views.velocity.VelocityManager implementation class XI%RneuDr:
org.apache.struts2.views.velocity.VelocityManager接口名 36kc4=
QoW(tM
struts.velocity.toolboxlocation {~j /XB
The location of the Velocity toolbox aWHd}%
velocity工具盒的位置 2p$n*|T&c
struts.xslt.nocache p~Yy"Ec;p
Whether or not XSLT templates should not be cached v{mv*`~nA\
是否XSLT模版应该被缓存 EFa{O`_@U