struts2的struts.properties配置文件详解 {'+{ASpO!
$S<B\\
%
struts.action.extension "AjC2P],
The URL extension to use to determine if the request is meant for a Struts action h@O\j&#
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ",aNYJR>*!
`]l`t"x
struts.configuration B<BS^waU
The org.apache.struts2.config.Configuration implementation class 0/DO"pnL@
org.apache.struts2.config.Configuration接口名 EgPL+qL
~Sb)i f
struts.configuration.files g#74c'+
A list of configuration files automatically loaded by Struts [7PC\
struts自动加载的一个配置文件列表 fWA#n
>F7HKwg}Z
struts.configuration.xml.reload 6;Z`9PGp
Whether to reload the XML configuration or not C;:=r:bth
是否加载xml配置(true,false) (=u!E+N
~
e?af
struts.continuations.package QlB9m2XB
The package containing actions that use Rife continuations \36 G``e
含有actions的完整连续的package名称 nU{Qi;0
]}'bRq*]
struts.custom.i18n.resources 4"eFR'g
Location of additional localization properties files to load 6e \?%,H
加载附加的国际化属性文件(不包含.properties后缀) 1qAE)8ie
<ivG(a*=]
struts.custom.properties %-fXa2
Location of additional configuration properties files to load 36co'a4,
加载附加的配置文件的位置 ^C~_}/cZ
Xa>'DO2
'vtJl
struts.devMode ygja{W.
Whether Struts is in development mode or not V0A> +
是否为struts开发模式
d<xi/
;k@]"&t
struts.dispatcher.parametersWorkaround HP*{1Q@5
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *A48shfO
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) o<lmU8xB=
RrBG=V
struts.enable.DynamicMethodInvocation 5!'1;GLs
Allows one to disable dynamic method invocation from the URL
"[]oWPOj
允许动态方法调用
1hi
93.\.&L\
struts.freemarker.manager.classname MkGQ
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class '")'h
org.apache.struts2.views.freemarker.FreemarkerManager接口名 `"ks0@^U
6FUcg40Y
struts.i18n.encoding p8j4Tc5tQ>
The encoding to use for localization messages M]Vi]s
国际化信息内码 TT(R<hL
PJm@fK(j
struts.i18n.reload a,4GE'
Whether the localization messages should automatically be reloaded _(m455HZ
是否国际化信息自动加载 a3M I+
W Pr:d
struts.locale 2Jiy`(P
The default locale for the Struts application r<(UN@T}
默认的国际化地区信息 H1?C:R
#'f5owk>,
struts.mapper.class @^ta)Ev
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $A 5O>
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Kp7)my
o@PvA1
struts.multipart.maxSize !!ZGNZ_
The maximize size of a multipart request (file upload) O\cc=7
multipart请求信息的最大尺寸(文件上传用) `2+TN
32 j){[PL3
struts.multipart.parser U:7w8$_
The org.apache.struts2.dispatcher.multipart. F> Ika=z,
MultiPartRequest parser implementation for a multipart request (file upload) 8VU(+%X
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =os!^{p7>
JDa_;bqL
)O*h79t^Q
struts.multipart.saveDir y[Dgyt
The directory to use for storing uploaded files ;{wzw8!
设置存储上传文件的目录夹 h5l_/vd
ZR=i*y
struts.objectFactory jT0iJ?d,!
The com.opensymphony.xwork2.ObjectFactory implementation class %/\sn<6C}
com.opensymphony.xwork2.ObjectFactory接口(spring) G2n.NW#d4
5FB3w48
struts.objectFactory.spring.autoWire yMkR)HY
Whether Spring should autoWire or not \>"Zn7
是否自动绑定Spring X xwcvE
b(U5n"cdA
struts.objectFactory.spring.useClassCache #sF#<nHZ
Whether Spring should use its class cache or not hEo$Jz`
是否spring应该使用自身的cache QYDI-<.(
p; , V
struts.objectTypeDeterminer )AieO-4*
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $aT '~|?
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Z?[R;V1j
u&={hJ&7
struts.serve.static.browserCache
mPPB"uQ
If static content served by the Struts filter should set browser caching header properties or not PmsZ=FY
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1xkk5\3]
;mD!8<~z.
struts.serve.static KU/QEeqbrp
Whether the Struts filter should serve static content or not P^Og(F8;
是否struts过滤器应该提供静态内容 B/Q>i'e
8N j}
struts.tag.altSyntax _(=g[=Mer
Whether to use the alterative syntax for the tags or not H 9BqE+
是否可以用替代的语法替代tags t vW0 W
\jZmu
struts.ui.templateDir p[|V7K'Z
The directory containing UI templates BUi,+NdIk
UI templates的目录夹 s^)(.e_
%>zG;4
struts.ui.theme &l`_D?{<#
The default UI template theme N1y,~Z
默认的UI template主题 I
WT|dA >
Oel%lY}m3
struts.url.http.port _a$5"
The HTTP port used by Struts URLs pox;NdX7
设置http端口 Wo9=cYC)
wD6QN
struts.url.https.port uJ1oo| sn
The HTTPS port used by Struts URLs u@Ni *)p`
设置https端口 1:DA{ejS
c*[aIqj
struts.url.includeParams ESIeZhXVH
The default includeParams method to generate Struts URLs sy(bL_%
在url中产生 默认的includeParams `\ nKPj
:SMf
(E 5
1z,P"?Q
struts.velocity.configfile 3h o'\Ysu/
The Velocity configuration file path +Swl$ab
velocity配置文件路径 F2(^OFh
9}K
K]m6u}
struts.velocity.contexts h3\(660>$
List of Velocity context names &'i.W}Ib!
velocity的context列表 3WGOftLzt
5Em.sz;:8
gm:Y@6W
struts.velocity.manager.classname u
XZ ;K.
org.apache.struts2.views.velocity.VelocityManager implementation class 8 f~M6
org.apache.struts2.views.velocity.VelocityManager接口名 ':\bn:;
$K\;sn; |:
struts.velocity.toolboxlocation \Yv44*I`
The location of the Velocity toolbox md9JvbB
velocity工具盒的位置 Yu[MNX;G
struts.xslt.nocache *ZRk)
Whether or not XSLT templates should not be cached K`|V1L.m
是否XSLT模版应该被缓存 \\oa[nvL~