struts2的struts.properties配置文件详解 3B;B#0g50
vbh\uv&
struts.action.extension <tFq6|
The URL extension to use to determine if the request is meant for a Struts action qzV:N8+,`
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n {^D_S
9I.="b=J)
struts.configuration L+d_+:w
The org.apache.struts2.config.Configuration implementation class fq\E$'o$
org.apache.struts2.config.Configuration接口名 =Ermh7,
Riu0;U( \
struts.configuration.files @XB/9!
A list of configuration files automatically loaded by Struts et)A$'Q
struts自动加载的一个配置文件列表 3O$Q>.0 w/
LD#]"k
struts.configuration.xml.reload r=s2wjk
Whether to reload the XML configuration or not }0qgvw
是否加载xml配置(true,false) X@jml$;$
8+
Hho@=
struts.continuations.package "EHwv2Hm>
The package containing actions that use Rife continuations / 1E6U6
含有actions的完整连续的package名称 oGXT,38*
dt;R
struts.custom.i18n.resources |P~TZ
Location of additional localization properties files to load
;-U:t4
加载附加的国际化属性文件(不包含.properties后缀) #@lLx?U
8"RX~Igf
struts.custom.properties }!5"EL(L80
Location of additional configuration properties files to load ~eE2!/%9
加载附加的配置文件的位置 -:>Mi5/ s
_fa2ntuS=f
@k ~Xem%<
struts.devMode '}]w=2Lf
Whether Struts is in development mode or not Bo)w#X
是否为struts开发模式 ANi}q9SC
OG/R6k.
struts.dispatcher.parametersWorkaround 'tp+g3V
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic I}$Y[Jve
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 29
')Y|$,
+-K-CXt
struts.enable.DynamicMethodInvocation ZVk_qA%
Allows one to disable dynamic method invocation from the URL [y64%|m
允许动态方法调用 ,7z.%g3+z
?neXs-'-p
struts.freemarker.manager.classname mp>,TOi~s7
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -05#/-Z=
org.apache.struts2.views.freemarker.FreemarkerManager接口名 0x[v)k9"0
h@@2vs2
struts.i18n.encoding :anUr<
The encoding to use for localization messages iO>2#p8$NR
国际化信息内码 vRYfB{~
DXsp 2
struts.i18n.reload gb(a`
Whether the localization messages should automatically be reloaded Ihw^g<X
是否国际化信息自动加载 %9uLxC;
$wub)^
struts.locale fiES6VL
The default locale for the Struts application &X
}GJLC3
默认的国际化地区信息 G;>b}\Ng
h/mmV:v
struts.mapper.class bb}|"m.
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class oGu-:X=`9
org.apache.struts2.dispatcher.mapper.ActionMapper接口 :Bz*vH
)t0Y-),vA
struts.multipart.maxSize ~jQ|X?tR
The maximize size of a multipart request (file upload) +.!
F]0ju
multipart请求信息的最大尺寸(文件上传用) T/X[q7O~~4
Q~MV0<{
struts.multipart.parser 1 }%vZE2
The org.apache.struts2.dispatcher.multipart. Mxc0=I'a
MultiPartRequest parser implementation for a multipart request (file upload) :&S6AP
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ]p:s5Q
-hZlFAZi
XJ^dX]4
struts.multipart.saveDir S|CN)8Jsi
The directory to use for storing uploaded files om@GH0o+
设置存储上传文件的目录夹 ]DHB'NOh,
3WHj|ENW
struts.objectFactory ^_0zO$z,
The com.opensymphony.xwork2.ObjectFactory implementation class Oe:+%p
com.opensymphony.xwork2.ObjectFactory接口(spring) H$bu*o-Z
=]X_wA;%
struts.objectFactory.spring.autoWire e*{'A
Whether Spring should autoWire or not *~YU0o
是否自动绑定Spring nd_+g2x'
X0wvOs:
struts.objectFactory.spring.useClassCache }TI"j{(QJ
Whether Spring should use its class cache or not b*i_'k}*<g
是否spring应该使用自身的cache U$-Gc[=|
mwU|Hh)N]
struts.objectTypeDeterminer + :4
F@R
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W@Et
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Ac{"$P`
BC.~wNz6
struts.serve.static.browserCache ebsZ
If static content served by the Struts filter should set browser caching header properties or not L?:.8k`d
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }22h)){n#Y
j]Y`L?!Q
struts.serve.static m3[R
Whether the Struts filter should serve static content or not "V|&s/9
是否struts过滤器应该提供静态内容 jiw5>RNt
}^3CG9%
struts.tag.altSyntax PggjuPPh
Whether to use the alterative syntax for the tags or not ~nLE?>x|Z
是否可以用替代的语法替代tags K{DsGf,
Y]MB/\gj
struts.ui.templateDir p8gm=
The directory containing UI templates &gGh%:`B
UI templates的目录夹 ]c/k%]o~
Q1hHK'3w
struts.ui.theme d!>.$|b
The default UI template theme l5;
SY
默认的UI template主题 [{@0/5i
hJ|zX
struts.url.http.port ^/c v8M=
The HTTP port used by Struts URLs VDy2!0
设置http端口 ' 5tk0A
^W8kt
struts.url.https.port kz=Ql|@
The HTTPS port used by Struts URLs |-+ IF,j
设置https端口 cl,\N\
#M/^n0E
struts.url.includeParams ?F=^&
v8
The default includeParams method to generate Struts URLs )SjhOvm
在url中产生 默认的includeParams 9szUN;:ZZ
k4i*80
<A~a|A-QFR
struts.velocity.configfile Q3h_4{w
The Velocity configuration file path B:X,vE
velocity配置文件路径 PoB-:G6
"39\@Ow
struts.velocity.contexts Mn>/\e
List of Velocity context names v~.nP}
E^
velocity的context列表 ),!1B%
./l^Iz&0
(8Ptuh6\\2
struts.velocity.manager.classname C
9{8!fYp
org.apache.struts2.views.velocity.VelocityManager implementation class `AcUxnO
org.apache.struts2.views.velocity.VelocityManager接口名 5 *R{N
~>
U\'HB.P\
struts.velocity.toolboxlocation +`RQ^9
The location of the Velocity toolbox |$:y8H'J
velocity工具盒的位置 '((pW
struts.xslt.nocache -xVp}RLT
Whether or not XSLT templates should not be cached ]Y.GU 7`
是否XSLT模版应该被缓存 R`HC
EX)