struts2的struts.properties配置文件详解 V}Oxz04
Thz&wH`W
struts.action.extension E*k=8$Y
The URL extension to use to determine if the request is meant for a Struts action G0<m3 Up
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 CbwQ'c$}
C~kw{g+|
struts.configuration !v$hqNt7
The org.apache.struts2.config.Configuration implementation class Z(CzU{7c
org.apache.struts2.config.Configuration接口名 V>z8*28S.
x.}iSE{
struts.configuration.files Uv.{=H:
A list of configuration files automatically loaded by Struts KZ&8aulP
struts自动加载的一个配置文件列表 0~"{z>s '
nww,y
struts.configuration.xml.reload y/
vE
Whether to reload the XML configuration or not hoPCbjkov
是否加载xml配置(true,false) 2}hEBw68
HjL+Wg
struts.continuations.package .hn"NXy
The package containing actions that use Rife continuations [9*+s
含有actions的完整连续的package名称 @_0XK)pW
(i&:=Bfn)
struts.custom.i18n.resources Lw2EA 5
Location of additional localization properties files to load dTS7l02
加载附加的国际化属性文件(不包含.properties后缀) CSIW|R@
JrS|Ib)6
struts.custom.properties 4fQ<A <2/
Location of additional configuration properties files to load lP0'Zg(
加载附加的配置文件的位置 q,kdr)-
/2WGo-
,uK
}$l
struts.devMode $M#G;W5c
Whether Struts is in development mode or not N9idk}T
是否为struts开发模式 O*T(aM3r
"){"{~
struts.dispatcher.parametersWorkaround A"d=,?yE
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $,F1E VJ
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) '\=aSZVO
`BF +)fs
struts.enable.DynamicMethodInvocation ~xkcQ{
Allows one to disable dynamic method invocation from the URL -=@d2LY
允许动态方法调用 _KLKa/3
8+^q9rLii
struts.freemarker.manager.classname RQ!kVM@
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =J<3B
H^m
org.apache.struts2.views.freemarker.FreemarkerManager接口名
c7,p5[
Qne@Vf kA
struts.i18n.encoding bRfac/:}
The encoding to use for localization messages o4\\q66K
国际化信息内码 9J$N5
lE'2\kxI?
struts.i18n.reload /*i[MB
Whether the localization messages should automatically be reloaded ?s6v>#H%
是否国际化信息自动加载 u{o3
&M&*3
struts.locale Ja"?Pb
The default locale for the Struts application yxik`vmH
默认的国际化地区信息 J<yt/V]
o7;lR?
struts.mapper.class lvY[E9I0
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class W 2&o'(P\
org.apache.struts2.dispatcher.mapper.ActionMapper接口 4hz T4!15
B/0Xqyu
struts.multipart.maxSize whxTCI V
The maximize size of a multipart request (file upload) .J"QW~g^
multipart请求信息的最大尺寸(文件上传用) Uc^e Ia@
)%dxfwd6
struts.multipart.parser j
4!$[h
The org.apache.struts2.dispatcher.multipart. x8
_f/2&
MultiPartRequest parser implementation for a multipart request (file upload) L
4V,y>
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ose(#n4 0
nm Y_ )s
nl5A{ s
struts.multipart.saveDir #oW"3L{,
The directory to use for storing uploaded files < KGq
设置存储上传文件的目录夹 -n FKP&P
X|y(B%:
struts.objectFactory vJ9I z
The com.opensymphony.xwork2.ObjectFactory implementation class ^m~&2l\N=
com.opensymphony.xwork2.ObjectFactory接口(spring) iO+,U} &
,sI<AFI
struts.objectFactory.spring.autoWire x{4{.s%+:
Whether Spring should autoWire or not WX6}@mS.
是否自动绑定Spring %;_94!(hC
0$JH5RC
struts.objectFactory.spring.useClassCache ^F,sV*
Whether Spring should use its class cache or not 2. '` mGu
是否spring应该使用自身的cache 0xVw{k}1U
=HMa<"-8
struts.objectTypeDeterminer M#nlKj<
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *,& 2?E8
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 J/LsL
k
R!f<6l8#W
struts.serve.static.browserCache txE=AOY5
If static content served by the Struts filter should set browser caching header properties or not t.y-b`v
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 :^7>kJ5?
ttOk6-
struts.serve.static G?kK:eV
Whether the Struts filter should serve static content or not =' uePM")
是否struts过滤器应该提供静态内容 7-:R{&3Lm:
l^F ?^kP
struts.tag.altSyntax (Zg'])
Whether to use the alterative syntax for the tags or not 50_[n$tqE
是否可以用替代的语法替代tags plL|Ubn
J-#V_TzJ?
struts.ui.templateDir NNt
n
The directory containing UI templates i/j53towe
UI templates的目录夹 CRBj>
0vETg'r
struts.ui.theme vjjVZ
The default UI template theme FFa =/XB"
默认的UI template主题 TZ *>MySiF
]
# VHx
struts.url.http.port @A4$k
dJ2
The HTTP port used by Struts URLs <O5WY37"q
设置http端口 sSd/\Ap
w4(L@1
struts.url.https.port rk6K0TQ8
The HTTPS port used by Struts URLs 27k(`{K
设置https端口 _j+!Fd
a`L:E'|B9
struts.url.includeParams m9vX8;.
The default includeParams method to generate Struts URLs eU\xOTl~<{
在url中产生 默认的includeParams _f'v>"K
85YUqVi9
84vd~Cf9
struts.velocity.configfile aaP_^m O
The Velocity configuration file path NV7k@7_{B
velocity配置文件路径 q3AqU?f
s1q8r!2\w
struts.velocity.contexts +D@5zq:5
List of Velocity context names \?pyax8
velocity的context列表 tI1OmhNN
LH)XD[
lD[37U!
struts.velocity.manager.classname Fvf|m7
org.apache.struts2.views.velocity.VelocityManager implementation class (`S^6-^
org.apache.struts2.views.velocity.VelocityManager接口名 ia7<AwV
m8ts!6C
struts.velocity.toolboxlocation DmpT<SI+!
The location of the Velocity toolbox H1I^Vij
velocity工具盒的位置 y~fKLIoz"
struts.xslt.nocache w9{C"K?u=
Whether or not XSLT templates should not be cached fqhL"Ah
是否XSLT模版应该被缓存 +x(#e'6p