struts2的struts.properties配置文件详解 ai/VbV'|
E*rnk4Y
struts.action.extension pC9Ed9uRK
The URL extension to use to determine if the request is meant for a Struts action WPbWG$Li
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 nFE0y3GD8
L_$M9G|5n
struts.configuration aBL+i-
The org.apache.struts2.config.Configuration implementation class bqBgq
org.apache.struts2.config.Configuration接口名 ;-Bi~XD
9D
2B8t"a
struts.configuration.files %\xwu(|kN
A list of configuration files automatically loaded by Struts yj]\%3o<Z7
struts自动加载的一个配置文件列表 c o}o$}
4.@gV/U(|
struts.configuration.xml.reload NUiNn 7C
Whether to reload the XML configuration or not N[G<&f9
是否加载xml配置(true,false) 8p3pw=p
8!e1T,:b
struts.continuations.package =l&A9 >\
The package containing actions that use Rife continuations tF> ?]
含有actions的完整连续的package名称 Rxe
sK
6.fahg?E
struts.custom.i18n.resources S(;3gQ77
Location of additional localization properties files to load `9%Q2Al
加载附加的国际化属性文件(不包含.properties后缀) Q{9#Am^6w
z;x1p)(xt
struts.custom.properties !M]_CPh]
Location of additional configuration properties files to load Q<]~>cd^
加载附加的配置文件的位置 DkO>?n:-C
<&&xt
?I.
CfFNk "0{
struts.devMode _SS6@`X
Whether Struts is in development mode or not "D V.%7*^
是否为struts开发模式 ?kvc`7>
?cQ
struts.dispatcher.parametersWorkaround \]AsL&
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic T""y)%
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) E&G_7->
kzs}U'U
struts.enable.DynamicMethodInvocation m<ZwbD
Allows one to disable dynamic method invocation from the URL -:txmMT
允许动态方法调用 nU Oy-c
eit>4xMu
struts.freemarker.manager.classname ebF},Q(48
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class k]*DuVCOX
org.apache.struts2.views.freemarker.FreemarkerManager接口名 $~,]F
qwka77nNT
struts.i18n.encoding H^s@qh)L
The encoding to use for localization messages >j]*=&,7
国际化信息内码 |qra.\
IyE9G:fY
struts.i18n.reload E|2klA^+*
Whether the localization messages should automatically be reloaded l\l\T<wa,
是否国际化信息自动加载 *GsrG*OM*D
&HKrmFgX{
struts.locale xe)< )y
The default locale for the Struts application wzAp`Zs2Dm
默认的国际化地区信息 |q$br-0+
7. y
L>
struts.mapper.class MmOGt!}9A
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class HaeF`gI^Ee
org.apache.struts2.dispatcher.mapper.ActionMapper接口 >c~~i-=
MI[=,0`D
struts.multipart.maxSize %v++AcE
The maximize size of a multipart request (file upload) xBGSj[1`i
multipart请求信息的最大尺寸(文件上传用) fT.5@RR7^
9.5hQZ
struts.multipart.parser Hl&]r'bK
The org.apache.struts2.dispatcher.multipart. >iP>v`J
MultiPartRequest parser implementation for a multipart request (file upload) i>bFQ1Rdx
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) e=nEx Y
X~RET[L2
tR#uDE\wR
struts.multipart.saveDir i3k ',8
The directory to use for storing uploaded files k07 JMS?
设置存储上传文件的目录夹 bA#E8dlC_
* wN+Ak q
struts.objectFactory UP:+1Sp9
The com.opensymphony.xwork2.ObjectFactory implementation class $UlA_l29
com.opensymphony.xwork2.ObjectFactory接口(spring) x@bZ((w
WU1I>i
struts.objectFactory.spring.autoWire 2S^xqvh
Whether Spring should autoWire or not fU~>A-P
是否自动绑定Spring {pU Ou8`Z
n?@o:c5,r
struts.objectFactory.spring.useClassCache 1N<)lZl)
Whether Spring should use its class cache or not d87pQ3e:&
是否spring应该使用自身的cache ^r=#HQGt
/IVw}:G
struts.objectTypeDeterminer fw^mjD
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class FK!9to>
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 g#=^U`y
R{.wAH(
struts.serve.static.browserCache Ki-CJy
If static content served by the Struts filter should set browser caching header properties or not 57+^T}/>
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?,|_<'$4T
6X5m1+ Oi^
struts.serve.static r2QC$V:0
Whether the Struts filter should serve static content or not <u44YvLBm
是否struts过滤器应该提供静态内容 C78d29
?|^1-5l3
struts.tag.altSyntax ;D]TPBE
Whether to use the alterative syntax for the tags or not yoV"?W>!
是否可以用替代的语法替代tags GMOv$Tn-_L
T$%u=$E%F
struts.ui.templateDir FQi"OZHq
The directory containing UI templates RCNqHYR
UI templates的目录夹 V&KH{j/P
*cTN5S>
struts.ui.theme n2-R[W^
The default UI template theme =}7wpTc,
默认的UI template主题 fE)+9!
s4SR6hBO
struts.url.http.port ]8YHA}P
The HTTP port used by Struts URLs ?Z!itB~
设置http端口
~PuPY:"
wSIt"g,%
struts.url.https.port oB3>0Pm*a.
The HTTPS port used by Struts URLs R|!4Y`
设置https端口 Cgw# c%
zy@
#R ;
struts.url.includeParams Q8Usyc'3
The default includeParams method to generate Struts URLs 6@o_MtI
在url中产生 默认的includeParams KUH&_yCRB
"_'9KBd!
lKIHBi
struts.velocity.configfile Kr]!BI?z
The Velocity configuration file path >!? f6
{\|
velocity配置文件路径 40%p
lNPj
5
+(YcV("
struts.velocity.contexts RWTv,pLK
List of Velocity context names pSq\3Hp]Q
velocity的context列表 aDza"Ln
:g<dwuVO
Y<#7E;aL
struts.velocity.manager.classname $BH0W{S
org.apache.struts2.views.velocity.VelocityManager implementation class 4B]8Mp~\aL
org.apache.struts2.views.velocity.VelocityManager接口名 LZ&CGV"Z-
aKCCFHq t!
struts.velocity.toolboxlocation WlZ[9,:p1
The location of the Velocity toolbox Q1eiU Y6
velocity工具盒的位置 |7%$+g
struts.xslt.nocache Y!&dj95y
Whether or not XSLT templates should not be cached >47,Hq:2
是否XSLT模版应该被缓存 <#|3z8N2