struts2的struts.properties配置文件详解 w[bhm$SX]B
tocZO
struts.action.extension -f+U:/'.>v
The URL extension to use to determine if the request is meant for a Struts action xMdbS4 &!
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 (H\)BS7#R
_qZ?|;o^
struts.configuration R*v~jR/
The org.apache.struts2.config.Configuration implementation class Oc|`<^m
org.apache.struts2.config.Configuration接口名 `H:5D5]
_Py/,Ks.q
struts.configuration.files <d$L}uQwg
A list of configuration files automatically loaded by Struts #fy#G}c
struts自动加载的一个配置文件列表 ?-y!FD}m&
/:YJ2AARY
struts.configuration.xml.reload ]
X9e|
Whether to reload the XML configuration or not Fjc4[ C
是否加载xml配置(true,false) Hkcr+BQ
w
A0$d
struts.continuations.package kFJ sB,2-
The package containing actions that use Rife continuations 7~2/NU?
含有actions的完整连续的package名称 Zr&~gXmVS
jP]I>Tq
struts.custom.i18n.resources Vh.9/$xQ
Location of additional localization properties files to load ^X&n-ui
加载附加的国际化属性文件(不包含.properties后缀) 7(q EHZEr
WxN@&g(
struts.custom.properties LV^V`m0#
Location of additional configuration properties files to load zSpL^:~
加载附加的配置文件的位置 Jj~c&LxrO
?\
qfuA9.
'q#$^='o
struts.devMode j"8 f,er
Whether Struts is in development mode or not @dy<=bh~
是否为struts开发模式 _* xjG \!
tKnvNOhn
struts.dispatcher.parametersWorkaround ,}("es\b
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic x"n!nT%Z
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) F|eKt/>e
A@-A_=a,
struts.enable.DynamicMethodInvocation ]/o0p
Allows one to disable dynamic method invocation from the URL MQ9Nn|4
允许动态方法调用 (Hr_gkGtM
bD&^-&
G
struts.freemarker.manager.classname Qj?qWVapA
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ^*
xhbM;
org.apache.struts2.views.freemarker.FreemarkerManager接口名 I$#B#w?!$r
YPjjSi:#
struts.i18n.encoding C&&*6E5
The encoding to use for localization messages $yZ(c#L
国际化信息内码 ;W/K7}
\Bg;^6U
struts.i18n.reload ),G?f {`!
Whether the localization messages should automatically be reloaded jkPye{j
是否国际化信息自动加载 muAI$IRR
@E(_H$|E
struts.locale ( 5^bU<
The default locale for the Struts application 6vx0F?>_
默认的国际化地区信息 +YL9gNN>P
ZQZBap"
struts.mapper.class =~OH.=9\
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class NA%(ZRSg(
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Z*Sa%yf
c
k$ > yk
struts.multipart.maxSize S(K}.C1x
The maximize size of a multipart request (file upload) B=>:w%<Ii
multipart请求信息的最大尺寸(文件上传用) #B;~i6h]
zyznFiE
struts.multipart.parser zL1*w@6
The org.apache.struts2.dispatcher.multipart. "kLu]M<
MultiPartRequest parser implementation for a multipart request (file upload) '|zkRdB*Lq
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 's.cwB: #
7XZ5CX&
yFIB/ln:
struts.multipart.saveDir ?,_$;g
The directory to use for storing uploaded files VSK!Pc.G}
设置存储上传文件的目录夹 v<*ga7'S
WBo|0(#
struts.objectFactory CXb-{|I}d
The com.opensymphony.xwork2.ObjectFactory implementation class nLA8Hy"8z
com.opensymphony.xwork2.ObjectFactory接口(spring) d"E@e21
J 8/]&Ow
struts.objectFactory.spring.autoWire #cN0ciCT'
Whether Spring should autoWire or not 7e{w)m:A
是否自动绑定Spring 5hVp2w-
,a:!"Z^f
struts.objectFactory.spring.useClassCache \S[7-:Lu^
Whether Spring should use its class cache or not &rTOJ1)V}
是否spring应该使用自身的cache U]Iypl`l
To x{Sk3L
struts.objectTypeDeterminer SJYy,F],V"
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class R]0p L
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 `N+A8
bN Ub
struts.serve.static.browserCache 8Z=d+}Gg<
If static content served by the Struts filter should set browser caching header properties or not jTo-xP{lC
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 j%2l%Mx(
P1<Y7+n
struts.serve.static (*.t~6c?5
Whether the Struts filter should serve static content or not l?F&I.{J
是否struts过滤器应该提供静态内容 :UjF<V
PT9,R^2T!
struts.tag.altSyntax C~16Jj:v
Whether to use the alterative syntax for the tags or not =%p%+F@RlW
是否可以用替代的语法替代tags 9#:b+Amzz
!xU1[,9
struts.ui.templateDir ]et4B+=i
The directory containing UI templates q*^Y8s~3I
UI templates的目录夹 .qjVw?E
s0}OsHAj
struts.ui.theme @yBg)1AL
The default UI template theme 7pB5o2CD0
默认的UI template主题 n*tT<
2EG`
struts.url.http.port iKy_DV;J
The HTTP port used by Struts URLs '$5.{o`s*1
设置http端口 0!WF,)/T7i
h$#QRH
struts.url.https.port K~j&Q{yws@
The HTTPS port used by Struts URLs
5dH}cXs
设置https端口 0KW@j>=jK
zJp}JO
struts.url.includeParams
1_D|;/aI
The default includeParams method to generate Struts URLs QZcdfJck=+
在url中产生 默认的includeParams ]9xuLJ)
'@Zau\xC
'8.r
struts.velocity.configfile >900I4]I
The Velocity configuration file path Cu5fp.OS7
velocity配置文件路径 EXlmIY4
vvJ{fi
struts.velocity.contexts s
"KPTV
List of Velocity context names ^CIO,I
velocity的context列表 2$>"4
N
v/n4Lp$W^
\a:#e%]qz9
struts.velocity.manager.classname &RRH