struts2的struts.properties配置文件详解 +Q[uq!<VJk
=C2sl;7~*
struts.action.extension UXlZI'|He
The URL extension to use to determine if the request is meant for a Struts action *I)J%#
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 uN:KivVe
HeO:=OE~>
struts.configuration kDE-GX"Y
The org.apache.struts2.config.Configuration implementation class ~\mh\a&
org.apache.struts2.config.Configuration接口名 i1|>JM[V
.G8>UXX
struts.configuration.files K
J\kR
A list of configuration files automatically loaded by Struts 6q\*{_CPB
struts自动加载的一个配置文件列表 8f/KNh7#s
z7ik/>d?
struts.configuration.xml.reload _Z Sp$>)/
Whether to reload the XML configuration or not Bl*}*S PU
是否加载xml配置(true,false) ~%8P0AP
SfnQW}RGI
struts.continuations.package ?0_<u4
The package containing actions that use Rife continuations VD~5]TQ
含有actions的完整连续的package名称 \4L ur
%W"u4
NT7
struts.custom.i18n.resources ? Bpnnwx
Location of additional localization properties files to load a$"nNm D?
加载附加的国际化属性文件(不包含.properties后缀) g5|~i{"0
]:Gy]qkO
struts.custom.properties )Cl>% 9
Location of additional configuration properties files to load %+H _V1F
加载附加的配置文件的位置 Z-U u/GjB
l cie6'<
`UTPX'Vz
struts.devMode D xV=S0P
Whether Struts is in development mode or not ${MzOi
是否为struts开发模式 x-m*p^}
b)<WC$"
struts.dispatcher.parametersWorkaround SHX`/
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .`}TND~
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @"@|O>KJ
+Yc^w5 !(
struts.enable.DynamicMethodInvocation lN#j%0MaUo
Allows one to disable dynamic method invocation from the URL {5~h
允许动态方法调用 F(yR\)!C
68XJ`/d
struts.freemarker.manager.classname
xgcxA:
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 2n,z`(=
org.apache.struts2.views.freemarker.FreemarkerManager接口名 &{V |%u}v
`Pvi+:6\Y
struts.i18n.encoding 8f9wUPr
The encoding to use for localization messages ZC N}iQu4
国际化信息内码 [(heE
%dzt'uz
struts.i18n.reload -Cs( 3[
Whether the localization messages should automatically be reloaded nzC *mPX8
是否国际化信息自动加载 uQIPnd(V
cu N9RG
struts.locale Z*m^K%qJ
The default locale for the Struts application A?H#bRAs
默认的国际化地区信息 Hu"$)V
509T?\r
struts.mapper.class Z)s
!p
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "[N2qJ}p
org.apache.struts2.dispatcher.mapper.ActionMapper接口 +})QT FV
)X0=z1$
struts.multipart.maxSize MY,~leP&
The maximize size of a multipart request (file upload) '4 *0Pw
multipart请求信息的最大尺寸(文件上传用) <= o<lRU
,c&u\W=p
struts.multipart.parser SBreA-2
The org.apache.struts2.dispatcher.multipart. FJc8g6M
MultiPartRequest parser implementation for a multipart request (file upload) 7|5kak>=
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8ttJ\m
]q1w@)]n}
= LNU%0m
struts.multipart.saveDir qWhW4$7x
The directory to use for storing uploaded files Y~vk>ZC
设置存储上传文件的目录夹 DyN[Yp|V
X"!j_*&ED
struts.objectFactory Sb[>R(0:
The com.opensymphony.xwork2.ObjectFactory implementation class k24I1DlR8
com.opensymphony.xwork2.ObjectFactory接口(spring) \J+a7N8m,
',r` )9o
struts.objectFactory.spring.autoWire LP"g(D2'n
Whether Spring should autoWire or not
UjI./"]O
是否自动绑定Spring NV*
2
kG/1
struts.objectFactory.spring.useClassCache @P7'MiP]K
Whether Spring should use its class cache or not (%X *b.n=
是否spring应该使用自身的cache 1kvX#h&V
FBXktSg
struts.objectTypeDeterminer )/jDt dI
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class pTCD1)
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 K=N&kda
dHDtY$/_
struts.serve.static.browserCache nK;d\DO
If static content served by the Struts filter should set browser caching header properties or not y||
n9
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 9i\RdJv.
R4'.QZ-x
struts.serve.static 3+Lwtb}XPF
Whether the Struts filter should serve static content or not a51(ySC}<s
是否struts过滤器应该提供静态内容 ;\7`G!q
I6^y` 2X
struts.tag.altSyntax k* C69
Whether to use the alterative syntax for the tags or not l$gJ^Wf2gY
是否可以用替代的语法替代tags 4;6"I2;zfG
=3035{\
struts.ui.templateDir Fqeqn[,
The directory containing UI templates }k VC]+
UI templates的目录夹 }dN\bb{#
j\>&]0-Iq
struts.ui.theme ".>#Qp%
The default UI template theme BQ6$T&
默认的UI template主题 u&l;\w
-dM~3'
struts.url.http.port (2;Aqx5i
The HTTP port used by Struts URLs aH"d~Y^
设置http端口 #`_W?-%^
K6->{!8]k
struts.url.https.port jwk+&S
The HTTPS port used by Struts URLs 8XH;<z<oJ
设置https端口 =8l' [
k M/:n
struts.url.includeParams 0kUhz\"R:q
The default includeParams method to generate Struts URLs wrkw,H
在url中产生 默认的includeParams P'Y(f!%
u0wu\
96\FJHtZ
struts.velocity.configfile $*{,Z<|2
The Velocity configuration file path ;l;jTb ^l
velocity配置文件路径 %g7j7$c
16Qu{K
struts.velocity.contexts bSIY|/d+
List of Velocity context names N6[Z*5efR
velocity的context列表 'gN[LERT
vu.ug$T
Aa9l-:R
struts.velocity.manager.classname | d*<4-:
org.apache.struts2.views.velocity.VelocityManager implementation class $(62j0mS>
org.apache.struts2.views.velocity.VelocityManager接口名 @{IX
do
<2(X?,N5BD
struts.velocity.toolboxlocation (hwzA
*(c
The location of the Velocity toolbox tXzuP_0
velocity工具盒的位置 <IZr..|O
struts.xslt.nocache S_sHwObFu|
Whether or not XSLT templates should not be cached
iK4\N;H
是否XSLT模版应该被缓存 $D`Kz*/.