struts2的struts.properties配置文件详解 ?3*l{[@J
U'8bdsF_
struts.action.extension /<HRwG\w
The URL extension to use to determine if the request is meant for a Struts action J/\V%~
1F
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 JQ,1D`?.a
[ JpKSTg[
struts.configuration `&KwtvkdI
The org.apache.struts2.config.Configuration implementation class vY%d
org.apache.struts2.config.Configuration接口名 9{-EJ)
vWRju*Z&
struts.configuration.files K%"5ImM
A list of configuration files automatically loaded by Struts k *Q<3@S
struts自动加载的一个配置文件列表 YQ39A_e
g
zN!ZyI$nqP
struts.configuration.xml.reload Q,p}:e
Whether to reload the XML configuration or not Db)?i?o}t
是否加载xml配置(true,false) Kz>3
ic$I
gUxP>hB
struts.continuations.package ? i( %
The package containing actions that use Rife continuations ]Bm/eRy"
含有actions的完整连续的package名称 :X.b}^ Z(
+VCGlr
struts.custom.i18n.resources )#.<]&P }
Location of additional localization properties files to load jgbLN/_{
加载附加的国际化属性文件(不包含.properties后缀) G>wqt@%r9
twP,cyR
struts.custom.properties lz"OC<D}(
Location of additional configuration properties files to load BlXB7q,
加载附加的配置文件的位置 }RmU%IYc
kD*2~Z ?;
Ys@}3\Mc
struts.devMode an|x$e7|?
Whether Struts is in development mode or not p8Q,@ql.
是否为struts开发模式 %;e/7`>Ma
)^4\,u\@
struts.dispatcher.parametersWorkaround T(e!_VY|m
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3T"j)R_=l
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) > `n,S
m\$\ 09
struts.enable.DynamicMethodInvocation &m|wH4\
Allows one to disable dynamic method invocation from the URL v1%uxthW
允许动态方法调用 g{8,Wx,,
1jN-4&
struts.freemarker.manager.classname hg+X(0
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :@ %4
org.apache.struts2.views.freemarker.FreemarkerManager接口名 y>72{
W0epAGrB
struts.i18n.encoding Ys,{8Y,7
The encoding to use for localization messages 3jlh}t>$l
国际化信息内码 gA:5M
?RK]FP"A
struts.i18n.reload HRiL.DS
Whether the localization messages should automatically be reloaded <FWF<r3F
是否国际化信息自动加载 PNaay:a|
BO~PT,QrF
struts.locale EX?MA6U
The default locale for the Struts application ^1Zeb$Nw'
默认的国际化地区信息
/o[?D
wQwQXNG
struts.mapper.class 6`v7c!7
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \RvvHty-V
org.apache.struts2.dispatcher.mapper.ActionMapper接口 jFA{+Yr1
7N:Y?Hi\
struts.multipart.maxSize CAcS~ "
The maximize size of a multipart request (file upload) "\}@gV#r$A
multipart请求信息的最大尺寸(文件上传用) xER\ZpA:,
rb1`UG"h$
struts.multipart.parser >TQH|}|6(y
The org.apache.struts2.dispatcher.multipart. +m8!U=Zi
MultiPartRequest parser implementation for a multipart request (file upload) &_~+(
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) PI`jExL
q{t*34R
NX|v=
struts.multipart.saveDir [k6nW:C
The directory to use for storing uploaded files [ {
bV4
设置存储上传文件的目录夹 ADpmvW f?
=$nB/K,8AX
struts.objectFactory .G+Pe'4a
The com.opensymphony.xwork2.ObjectFactory implementation class M@?xa/E64
com.opensymphony.xwork2.ObjectFactory接口(spring) p;W.lcO`0
DdVF,
struts.objectFactory.spring.autoWire kAu+zX>S+
Whether Spring should autoWire or not pek%08VSEU
是否自动绑定Spring [1F*bI
'ow.=1N-
struts.objectFactory.spring.useClassCache =li |
Whether Spring should use its class cache or not 'g$(QvGF9
是否spring应该使用自身的cache 4\6N~P86
iVd.f
A
struts.objectTypeDeterminer sVJ!FC
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *e-A6Sh
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 emdoA:w+
IRn2|
struts.serve.static.browserCache m< 3Ao^I+
If static content served by the Struts filter should set browser caching header properties or not d1U\ft:gV
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 yQ^($#Yk
9nH?l{As
struts.serve.static Nkp)Ax&
Whether the Struts filter should serve static content or not E;1Jh(58)b
是否struts过滤器应该提供静态内容 I_xXDr
2n `S5(V
struts.tag.altSyntax =k/IaFg 6w
Whether to use the alterative syntax for the tags or not b^p"|L
是否可以用替代的语法替代tags cZT({uYGL
M-;4
struts.ui.templateDir IdXZoY
The directory containing UI templates CMn{LQcC
UI templates的目录夹 7{I h_.#
1[jb)j1
struts.ui.theme (y M^
The default UI template theme BM(]QUxRd
默认的UI template主题 7c~u=U"
+reor@h
struts.url.http.port
~i21%$
The HTTP port used by Struts URLs v@wb"jdFi$
设置http端口 [+OnV&
D<V~f B
struts.url.https.port =e8bNg
The HTTPS port used by Struts URLs
2'5 ]~
设置https端口 vq!_^F<
7f~Sf
struts.url.includeParams _L@2_#h!
The default includeParams method to generate Struts URLs ,2j.<g&
在url中产生 默认的includeParams 5vw{b?
^|TG$`M(w
xCYE
B}o9r
struts.velocity.configfile Gkp<o
The Velocity configuration file path dlG=Vq&Y
velocity配置文件路径 jS]><rm
=IUUeFv +r
struts.velocity.contexts _>v<(7
List of Velocity context names fgBM_c&9T
velocity的context列表 1&P<
cKn`/\.H
`\m*+Bk[5
struts.velocity.manager.classname :OW;?{ ~j
org.apache.struts2.views.velocity.VelocityManager implementation class 7{xh8#m
org.apache.struts2.views.velocity.VelocityManager接口名 k<cgO[m
H_0/f8GwnG
struts.velocity.toolboxlocation *FmTy|
The location of the Velocity toolbox 8X I?
velocity工具盒的位置 P(;?kg}0
struts.xslt.nocache VwEb7v,^0\
Whether or not XSLT templates should not be cached -CRraEXf8
是否XSLT模版应该被缓存 x ul]m*Z