struts2的struts.properties配置文件详解 |xrnLdng0R
D!mx &O9
struts.action.extension ,6aF~p;wI|
The URL extension to use to determine if the request is meant for a Struts action o,'Fz?[T%
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,Bl_6ZaL
7GRPPh<4
struts.configuration B1TWOl?d{
The org.apache.struts2.config.Configuration implementation class +|qw>1J(
org.apache.struts2.config.Configuration接口名 L=&}s[5
EP{/]T
struts.configuration.files W8M(@*
T
A list of configuration files automatically loaded by Struts ~YXkAS:
struts自动加载的一个配置文件列表 @_
Tq>tOr&
Tr,
zV
struts.configuration.xml.reload KgXu x-q
Whether to reload the XML configuration or not {Gw{W&<
是否加载xml配置(true,false) :A5h<=[
0F 6~S
struts.continuations.package %rO)w?
The package containing actions that use Rife continuations :(;ho.zz
含有actions的完整连续的package名称 |d=GAW
v
av~kF
struts.custom.i18n.resources KxDfPd+j[
Location of additional localization properties files to load $`<-;kI
加载附加的国际化属性文件(不包含.properties后缀) dte-2?%~j
3\K;y>NK
struts.custom.properties Dlz1"|SF
Location of additional configuration properties files to load @ X5#?
加载附加的配置文件的位置 szp.\CMz
$?uLFD
7,Y+FZ
struts.devMode yh{U!hG
Whether Struts is in development mode or not S2EV[K8#
是否为struts开发模式 x[mh^V5ld
>]kZ2gVt
struts.dispatcher.parametersWorkaround MJU*Sq
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic UTqKL*p523
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) n>xuef
(#+81 Dr
struts.enable.DynamicMethodInvocation FBa-gm<9
Allows one to disable dynamic method invocation from the URL _O&P!hI
允许动态方法调用 O$X^Ea7~
A@e!~
struts.freemarker.manager.classname wpt5'|I
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class : :928y
org.apache.struts2.views.freemarker.FreemarkerManager接口名 izLB4pk$
MHS|gR.c
struts.i18n.encoding XpPcQIM*
The encoding to use for localization messages B.~[m}
国际化信息内码 ;8w
CQ
$?On,U
struts.i18n.reload EjP)e;
Whether the localization messages should automatically be reloaded V-18~+F~"a
是否国际化信息自动加载 o1H6E1$=
%!R\-Vej
struts.locale c_Iq!MH
The default locale for the Struts application
p4P"U
默认的国际化地区信息 uM9Gj@_
df/7u}>9
struts.mapper.class :0p$r
pJP
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class **c"}S6:mC
org.apache.struts2.dispatcher.mapper.ActionMapper接口 gp+@+i>b+[
rr2^sQ;_
struts.multipart.maxSize >AWWwq -
The maximize size of a multipart request (file upload) K14v6d
multipart请求信息的最大尺寸(文件上传用) |#Q0UM|'Q
W>u{JgY
struts.multipart.parser `:d\L
H
The org.apache.struts2.dispatcher.multipart. f n8|@)J
MultiPartRequest parser implementation for a multipart request (file upload) 3bHB$n
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ob]J!.
+ijxv
obGvd6\
struts.multipart.saveDir JO~62='J
The directory to use for storing uploaded files E`|vu*l7
设置存储上传文件的目录夹 gI/(hp3ob
WsT
struts.objectFactory "om[S :ai
The com.opensymphony.xwork2.ObjectFactory implementation class 3teP6|K'g
com.opensymphony.xwork2.ObjectFactory接口(spring) fM"&=X
O"wo&5b_
struts.objectFactory.spring.autoWire ADA}_|O
Whether Spring should autoWire or not UDPn4q
是否自动绑定Spring Kp19dp}'b
Dn`
struts.objectFactory.spring.useClassCache k h6n(B\
Whether Spring should use its class cache or not 2rHQ7
是否spring应该使用自身的cache k&npC8oA
F6_en z
struts.objectTypeDeterminer (4/W)L$
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }-
wK
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 'f8'|o)
(IIZ vCek
struts.serve.static.browserCache DX ZZZ[#
If static content served by the Struts filter should set browser caching header properties or not B?4Iu)bCxI
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 i/PL!'oq
z&\N^tBv
struts.serve.static AB<%GzW0(
Whether the Struts filter should serve static content or not v`U;.W
是否struts过滤器应该提供静态内容 JW"n#sR4
arvKJmD
struts.tag.altSyntax U[z2{\
Whether to use the alterative syntax for the tags or not >u]9(o7I
是否可以用替代的语法替代tags 1?G%&X@
X
D'#,%4P,e\
struts.ui.templateDir w%(D4ldp
The directory containing UI templates 3mL(xpT.8z
UI templates的目录夹 FytGg[#]
iu2O/l#r
struts.ui.theme "`h.8=-
The default UI template theme +}eK8>2
默认的UI template主题 w*X(bua@
(px3o'ls h
struts.url.http.port #"C!-kS'=
The HTTP port used by Struts URLs Hm+VGH'H?
设置http端口 L1&` 3a?pL
V(Cxd.u
struts.url.https.port @X P_~ N
The HTTPS port used by Struts URLs RFq=`/>dG
设置https端口 ,l.+$G
-h=wLYl@0i
struts.url.includeParams U&SSc@of
The default includeParams method to generate Struts URLs @\+UTkl8
在url中产生 默认的includeParams -![{Zb@
F2Gg_u@7M
cfy9wD
struts.velocity.configfile ;u<F,o(
The Velocity configuration file path {c7@`AV]
velocity配置文件路径 uWi pjxS
#c9MVQ_
struts.velocity.contexts :*-O;Yw?S@
List of Velocity context names w^:@g~
velocity的context列表 R<^E?FI
=FMrVE
*z]P|_:&G
struts.velocity.manager.classname Z1p%6f`
org.apache.struts2.views.velocity.VelocityManager implementation class aM:tg1g
org.apache.struts2.views.velocity.VelocityManager接口名 s"~,Zzy@j
0*j\i@
struts.velocity.toolboxlocation DmZ_tuVI
The location of the Velocity toolbox !e~d,NIy
velocity工具盒的位置 cW?6Iao
struts.xslt.nocache YVk
+zt~S
Whether or not XSLT templates should not be cached !:~C/B{
是否XSLT模版应该被缓存 ^c"\%!w"O