struts2的struts.properties配置文件详解 B5Va%?Wg?H
X}apxSd"
struts.action.extension IYNMU\s
The URL extension to use to determine if the request is meant for a Struts action uFe'$vI
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 `I>], J/
!b%,'f y)
struts.configuration 8Nvr93T,
The org.apache.struts2.config.Configuration implementation class P,1exgq9
org.apache.struts2.config.Configuration接口名 ~yN(-I1P
DyI2Ye
struts.configuration.files i$#,XFFp~
A list of configuration files automatically loaded by Struts 3@X|Gs'_S
struts自动加载的一个配置文件列表 k
E_ky)
70<K.T<b
struts.configuration.xml.reload 2nx8iA
Whether to reload the XML configuration or not 'aPCb`^;w
是否加载xml配置(true,false) =[(%n94
7Jc<.Z"/Gd
struts.continuations.package ~}%&p&
p
The package containing actions that use Rife continuations kt<@H11
含有actions的完整连续的package名称 Ij$)RSPtH
IuWX*b`v
struts.custom.i18n.resources <"ae4
Location of additional localization properties files to load sVD([`Nmc
加载附加的国际化属性文件(不包含.properties后缀) [5LMt*Y
2e\Kw+(>{
struts.custom.properties 0sabh`iQ^
Location of additional configuration properties files to load SW-0h4
加载附加的配置文件的位置 2_Jb9:/X
/^QFqM;
HtS#_y%(
struts.devMode DsG !S*
Whether Struts is in development mode or not /]l f>\x1
是否为struts开发模式 T@>63
dff#{
struts.dispatcher.parametersWorkaround k^yy$^=<
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic R_~F6O^EO
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) X?_v+'G
Vg) ^|
struts.enable.DynamicMethodInvocation {!tOI
Allows one to disable dynamic method invocation from the URL ]d~MEa9Y|
允许动态方法调用 `v<f}
^zkd{ov
struts.freemarker.manager.classname PKATw>zg<
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class R=QM;
org.apache.struts2.views.freemarker.FreemarkerManager接口名 &,Uc>L%m
vkh;qPD
struts.i18n.encoding f3\w99\o
The encoding to use for localization messages {bxhH)a'
国际化信息内码 dfXV1B5
J~:kuf21
struts.i18n.reload (''$'5~
Whether the localization messages should automatically be reloaded F}\[eFf[
是否国际化信息自动加载 a#>t+.dd
CcbWW4 )
struts.locale PwRNBb}6
The default locale for the Struts application b<48#Qy~l
默认的国际化地区信息 Rf&^th}TH
"F04c|oR<X
struts.mapper.class C} |O#"t^\
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class pZW}^kg=
org.apache.struts2.dispatcher.mapper.ActionMapper接口 o(vZ*^\
9?v)
struts.multipart.maxSize [UUM^!1
The maximize size of a multipart request (file upload) NN?Bi=&9
multipart请求信息的最大尺寸(文件上传用) InTKdr^ P
AJdlqbd'+
struts.multipart.parser )GQD*b
The org.apache.struts2.dispatcher.multipart. ke mr@_
MultiPartRequest parser implementation for a multipart request (file upload) N}e(.
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) qM+!f2t
u9da]*\7y
Zm?G'06
struts.multipart.saveDir jCdZ}M($
The directory to use for storing uploaded files \["1N-q b
设置存储上传文件的目录夹 gqKC 4'G0
rGP?
E3
struts.objectFactory h=mI{w*
The com.opensymphony.xwork2.ObjectFactory implementation class ]&; G\9$y
com.opensymphony.xwork2.ObjectFactory接口(spring) C: TuC5Sr
E$oA+n~
struts.objectFactory.spring.autoWire BUboP?#%)
Whether Spring should autoWire or not S<)RVm,!e
是否自动绑定Spring H>Iet}/c
j8F~j?%!
struts.objectFactory.spring.useClassCache RJ7/I/yD|
Whether Spring should use its class cache or not X_EC:GU
是否spring应该使用自身的cache gGceK^#
(>kBmK1Aj
struts.objectTypeDeterminer *+zy\AhkP
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class zS>:7eG
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 8*Nt&`@
B_6v'=7]
struts.serve.static.browserCache Ve')LY<
If static content served by the Struts filter should set browser caching header properties or not ,T1XX2?:
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1f bFNxo8M
rVIb'sa
struts.serve.static 4jue_jsle
Whether the Struts filter should serve static content or not ^me}k{x
是否struts过滤器应该提供静态内容 Xk7$?8r4&
n=Z[w5
struts.tag.altSyntax kcZ;SYosj
Whether to use the alterative syntax for the tags or not y("0Xve
是否可以用替代的语法替代tags OD2ai]!v+
bx%hizb
struts.ui.templateDir n!EH>'T
The directory containing UI templates *<h
UI templates的目录夹 j#.-MfB
K:Xrfn{s
struts.ui.theme C.TCDl
The default UI template theme hU)f(L
默认的UI template主题 ;V}FbWz^v6
Cg%I)nz
struts.url.http.port t+TbCe
The HTTP port used by Struts URLs U*Q5ff7M6"
设置http端口 ![MDmt5Ub^
0m|
Gp
struts.url.https.port qytGs@p_
The HTTPS port used by Struts URLs 7{/:,
设置https端口 3YNkT"~T
/dP8F
struts.url.includeParams PXQ9P<m
The default includeParams method to generate Struts URLs ez<wEtS
在url中产生 默认的includeParams Exo`Z`m`U
dvdBRrf
Zp(P)Obs#
struts.velocity.configfile SJuf`
The Velocity configuration file path ,IvnNnl2
velocity配置文件路径 (Vv[
`?|]: 7'<
struts.velocity.contexts p<nBS"/
List of Velocity context names &CP@]
pi9L
velocity的context列表 a0j.\g
7 V1k$S(
7VZ JGRnn
struts.velocity.manager.classname ^~IcQ!j/5
org.apache.struts2.views.velocity.VelocityManager implementation class _!g
NF=
org.apache.struts2.views.velocity.VelocityManager接口名 HyYQQ
*UxB`iA
struts.velocity.toolboxlocation )mO;l/,0
The location of the Velocity toolbox - 5Wt9
velocity工具盒的位置 5J#gJFA
struts.xslt.nocache h
swMy
Whether or not XSLT templates should not be cached I;4CvoT
是否XSLT模版应该被缓存 $YQ&\[pDA