struts2的struts.properties配置文件详解 *Y m?gCig
3yZmW$E.
struts.action.extension G21o@38e
The URL extension to use to determine if the request is meant for a Struts action yp.K-
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 H$(bSw$
zN4OrG0
struts.configuration EiW|+@1
The org.apache.struts2.config.Configuration implementation class JQ&t"`\k
org.apache.struts2.config.Configuration接口名 2d !'9mA
i<m(neX[H
struts.configuration.files
Pd*[i7zhC
A list of configuration files automatically loaded by Struts I0)`tQ+
struts自动加载的一个配置文件列表 w
)R5P[b
JbMTULA
struts.configuration.xml.reload $7S"4rou
Whether to reload the XML configuration or not 1sQIfX#2f
是否加载xml配置(true,false) nVb@sI{{k
0mY Y:?v
struts.continuations.package 5</$dcG
The package containing actions that use Rife continuations Wy}I"q[~So
含有actions的完整连续的package名称 |^pev2g
|"3<\$[
struts.custom.i18n.resources <>cS@V5j
Location of additional localization properties files to load }htjT/Nm
加载附加的国际化属性文件(不包含.properties后缀) kmI0V[Y
ggr
struts.custom.properties ~C.*Vc?|
Location of additional configuration properties files to load }]?Si6_ZZ
加载附加的配置文件的位置 mPV<a&U
H",B[
YK
tli.g
struts.devMode ~4S$+*'8
Whether Struts is in development mode or not Lsmcj{1d
是否为struts开发模式 J3K=z
U@lc1#
struts.dispatcher.parametersWorkaround yBIlwN`kB
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Y?T{>"_W
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `BPTcL<W
%`vzQt`>
struts.enable.DynamicMethodInvocation w2)Ro:G
Allows one to disable dynamic method invocation from the URL ou|emAV
允许动态方法调用 DX>a0-Xj
W?
iA P
struts.freemarker.manager.classname Qw5nfg3T
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class lo1Ui`V
org.apache.struts2.views.freemarker.FreemarkerManager接口名 OG,P"sv
sGvbL-S-f:
struts.i18n.encoding \U~4b_aN
The encoding to use for localization messages S:\i
M:
国际化信息内码 )xGAe#E~j
[M_{~1xX
struts.i18n.reload h6
\P&Z
Whether the localization messages should automatically be reloaded <#63tN9
是否国际化信息自动加载 THA9OXP
bf3!|Um
struts.locale &J[a.:..
The default locale for the Struts application S)rZE*~2
默认的国际化地区信息 o_b[ *
));#oQol9
struts.mapper.class =lXj%V^8N
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T)C@6/
org.apache.struts2.dispatcher.mapper.ActionMapper接口 BxY t*b%
h$>F}n
j
struts.multipart.maxSize !,J#
r
The maximize size of a multipart request (file upload) 73WSW/^F
multipart请求信息的最大尺寸(文件上传用) H#-3
I-7LT?r
struts.multipart.parser ]6&NIz`:,
The org.apache.struts2.dispatcher.multipart. \>L,X_DL
MultiPartRequest parser implementation for a multipart request (file upload) 5/48w-fnZ
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) q>q:ZV
0bNvmZ$
bm588UQ
struts.multipart.saveDir +Qs]8*^?;
The directory to use for storing uploaded files >%JPgr/
8
设置存储上传文件的目录夹 Otn,UoeeB
?I.9?cQXZ
struts.objectFactory )n/%P4l
The com.opensymphony.xwork2.ObjectFactory implementation class QaX.Av
com.opensymphony.xwork2.ObjectFactory接口(spring) lG*Rw-?a
5:Qz
struts.objectFactory.spring.autoWire od;-D~
Whether Spring should autoWire or not ZTC>Ufu2!
是否自动绑定Spring _Fb}zPU!
JFq
wC=-
struts.objectFactory.spring.useClassCache Zw]`z*,yRA
Whether Spring should use its class cache or not vG&>-Z
是否spring应该使用自身的cache ,N/@=As9$
E' 5*w6
struts.objectTypeDeterminer x"W~m.y$h
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class -F[8ZiZ
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 VFT@Ic#]
;#B(L=/
struts.serve.static.browserCache BEZ~<E&0H
If static content served by the Struts filter should set browser caching header properties or not A#uU]S
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]{-.?W*$
`i{d"H0E
struts.serve.static " T(hcI
Whether the Struts filter should serve static content or not T&U}}iWN
是否struts过滤器应该提供静态内容 eK8H5YE
e~h>b.~
struts.tag.altSyntax owVvbC2<b(
Whether to use the alterative syntax for the tags or not H$6RDMU
是否可以用替代的语法替代tags wNONh`b
,'NasL8?We
struts.ui.templateDir .^YxhUH,G
The directory containing UI templates p_r` "
UI templates的目录夹 $QX$r N
ROO*/OOd
struts.ui.theme ?7{U=1gb$
The default UI template theme 5Z=4%P*I
默认的UI template主题 f^%3zWp|-
PSrx!
struts.url.http.port &\zYbGU
The HTTP port used by Struts URLs F<4rn
设置http端口 ;w{<1NH2+.
`CK~x=
struts.url.https.port uf(ayDE
The HTTPS port used by Struts URLs :XKYfc_y
设置https端口 [hJ1]RW8
6fwNlC/9
struts.url.includeParams 01bCP
The default includeParams method to generate Struts URLs $Dg-;I
在url中产生 默认的includeParams l![M,8
~NGM6+9
rOIb9:
struts.velocity.configfile
l\U
Q2i
The Velocity configuration file path HKN|pO3v
velocity配置文件路径 #h!+b
^[ae
)}
struts.velocity.contexts G,8mFH
List of Velocity context names QE<Z@/V*a
velocity的context列表 OqGp|`
(qcFGM22U
$C16}^
struts.velocity.manager.classname OT#@\/>
org.apache.struts2.views.velocity.VelocityManager implementation class :4AQhn^;"
org.apache.struts2.views.velocity.VelocityManager接口名 Fwm$0=BXL
z*3b2nV
struts.velocity.toolboxlocation o'Bd. B
The location of the Velocity toolbox 6:1`lsP
velocity工具盒的位置 tldT(E6
struts.xslt.nocache [i.@q}c~E
Whether or not XSLT templates should not be cached vrn4yHoZ
是否XSLT模版应该被缓存 t]c<HDCK