struts2的struts.properties配置文件详解 lO=+V 6
XfY~q~f8
struts.action.extension EC9D.afy&
The URL extension to use to determine if the request is meant for a Struts action u\LG_/UJV1
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 :sO^b*e /
;VM',40
struts.configuration }#0MJ6L
The org.apache.struts2.config.Configuration implementation class 4HXqRFUD
org.apache.struts2.config.Configuration接口名 |]=. ^
YdsY2
struts.configuration.files LF o{,%B
A list of configuration files automatically loaded by Struts 'lmZ{a6
struts自动加载的一个配置文件列表 { a2Y7\C/
UrAg*v!Qy
struts.configuration.xml.reload }{FKs!(4
Whether to reload the XML configuration or not : (IPrQ
是否加载xml配置(true,false) 0u0<)gdX
K&1o!<|
struts.continuations.package w\(LG_n|
The package containing actions that use Rife continuations RSL%<
含有actions的完整连续的package名称 W?+U%bIZ9
VjZ_L_U}
struts.custom.i18n.resources 4a'O#;ho
Location of additional localization properties files to load e<_yr>9g"
加载附加的国际化属性文件(不包含.properties后缀) bpe8
`b(#
PT2b^PP
struts.custom.properties [>`[1;a X
Location of additional configuration properties files to load lo }[o0X
加载附加的配置文件的位置 'Na \9b(
5Gj?'Wov9
}h+_kRQ
struts.devMode !8 3x,*O
Whether Struts is in development mode or not ]>utLi5dX
是否为struts开发模式 ]U :1NC"
Y~RZf /`
struts.dispatcher.parametersWorkaround $D,m o2I
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9&'I?D&8
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6~ g:"}
DNgQ.lV
struts.enable.DynamicMethodInvocation m wuFXu/
Allows one to disable dynamic method invocation from the URL >M` swEj
允许动态方法调用 ] o!#]]
+mBJvrI
struts.freemarker.manager.classname 0m5Q;|mH
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (wJtEoB9^
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Z_%}pe39B
r#{r]q_E*
struts.i18n.encoding Q*TxjE7K
The encoding to use for localization messages #vO3*-hs
国际化信息内码 #Id.MLHxA_
1SBc:!2
struts.i18n.reload qa ![oMKc
Whether the localization messages should automatically be reloaded )k&pp^q\
是否国际化信息自动加载 ujcS>XN,1
`92 D]^g
struts.locale c$f|a$$b
The default locale for the Struts application ixJUq o
默认的国际化地区信息 lY}mrb
^H+j;K{5,
struts.mapper.class @LY 5]og
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~A0E4UJgq
org.apache.struts2.dispatcher.mapper.ActionMapper接口 UT[9ERS
;(w=}s%]+
struts.multipart.maxSize `w Sg/
The maximize size of a multipart request (file upload) Q, E!Ew3
multipart请求信息的最大尺寸(文件上传用) `
n{rzenPX
zIbl[[M&
struts.multipart.parser /,v:!*
The org.apache.struts2.dispatcher.multipart. :,F^{
MultiPartRequest parser implementation for a multipart request (file upload) Vvx(7p-GQ
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $"{V],:T
|
ADX}
XA])<dZ
struts.multipart.saveDir +DKrX
The directory to use for storing uploaded files |Y<ca
设置存储上传文件的目录夹 ^F*)Jq
F~d
!Ub$>
struts.objectFactory Zn3iLAPBX
The com.opensymphony.xwork2.ObjectFactory implementation class QnxkD)f*0
com.opensymphony.xwork2.ObjectFactory接口(spring) gb:Cc,F,%
K/[v>(<
struts.objectFactory.spring.autoWire 4~a0
Whether Spring should autoWire or not Pyi PhOJe
是否自动绑定Spring \3q{E",\>@
m@JU).NKCS
struts.objectFactory.spring.useClassCache Pi?*rr5WZ
Whether Spring should use its class cache or not KGUpXMd^Z
是否spring应该使用自身的cache v >3ctP{
rOY^w9!
struts.objectTypeDeterminer <YL\E v/[
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class kyJv,!};
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 wrG*1+r
7kn=j6I
struts.serve.static.browserCache {CH\TmSz
If static content served by the Struts filter should set browser caching header properties or not kt1f2cj
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #py7emu
>/n5=RWh
struts.serve.static V`69%35*@
Whether the Struts filter should serve static content or not se_zCS4Y
是否struts过滤器应该提供静态内容 ^F?H)[0
_0F6mg n
struts.tag.altSyntax IJ,,aCj4g
Whether to use the alterative syntax for the tags or not MbnV5 b:X
是否可以用替代的语法替代tags zi>f436-
~s^&*KaA
struts.ui.templateDir 1,PFz
The directory containing UI templates fJv0 B*
UI templates的目录夹 {yyg=AMz
C>68$wd>
struts.ui.theme Op3 IL/
The default UI template theme |ry;'[*
默认的UI template主题 U7crbj;c)d
any\}
struts.url.http.port B_cn[?M
The HTTP port used by Struts URLs W&06~dI1!
设置http端口 _;01/V"q6
Q,\lS
struts.url.https.port KvilGh10
The HTTPS port used by Struts URLs 4)j<(5
设置https端口 ]^
O<WD
ZuS+p0H"
struts.url.includeParams 2L<TqC{,-
The default includeParams method to generate Struts URLs ]VJcV.7`
在url中产生 默认的includeParams 4d]
6%S>~L66
^ioTd
struts.velocity.configfile uFdSD
The Velocity configuration file path \((>i7C
velocity配置文件路径 ^J%
w[FE
#UND'c(5
struts.velocity.contexts <2cq 0*$
List of Velocity context names l}Xmm^@)
velocity的context列表 [JAd1%$3
h]EXD
N[pk@M\vX
struts.velocity.manager.classname tW=0AtZl]
org.apache.struts2.views.velocity.VelocityManager implementation class McsqMI6
org.apache.struts2.views.velocity.VelocityManager接口名 * n!0
X<9DE!/)
struts.velocity.toolboxlocation VDnAQ[T@d
The location of the Velocity toolbox E #ys-t 42
velocity工具盒的位置 Z<,gSut'Y
struts.xslt.nocache B8s|VI
Whether or not XSLT templates should not be cached Olxb`x
是否XSLT模版应该被缓存 =m/2)R{