struts2的struts.properties配置文件详解 q7-.-k<dQ
l We1Q#
struts.action.extension lMW4SRk1C
The URL extension to use to determine if the request is meant for a Struts action GJB=5nE
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 e/nc[
:f|X$>
b
struts.configuration dLnu\bSF
The org.apache.struts2.config.Configuration implementation class ,f2tG+P
org.apache.struts2.config.Configuration接口名 [7|j:!
tMnwY'
struts.configuration.files Rd|xw%R\mb
A list of configuration files automatically loaded by Struts fD:>cje
struts自动加载的一个配置文件列表 /'uFX,
SPEDN}/^
struts.configuration.xml.reload /N?vVp
Whether to reload the XML configuration or not v<SCh)[-p
是否加载xml配置(true,false) d(>
oyt#C HX
struts.continuations.package yDn8{uI
The package containing actions that use Rife continuations /`"&n1
含有actions的完整连续的package名称 U2@Mxw
ocbNf'W;
struts.custom.i18n.resources N-9qNLSP
Location of additional localization properties files to load r|!r!V8j
加载附加的国际化属性文件(不包含.properties后缀) zJCm0HLJ
f:6%DT~a&C
struts.custom.properties Wgr`)D
Location of additional configuration properties files to load 3.vQ~Fvl
加载附加的配置文件的位置 #'?gMVSk
A;g{H|
ujMics(
struts.devMode UC{Tm f
Whether Struts is in development mode or not M!nwcxB!
是否为struts开发模式 leMcY6
Ag#o&Y
struts.dispatcher.parametersWorkaround MV.$Ay
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }?vVJm'
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ;{e=Iz}/
<>9zXbI
struts.enable.DynamicMethodInvocation LG6k
KG
Allows one to disable dynamic method invocation from the URL TA~YCj$
允许动态方法调用 &GetRDr
KE
k]<b=
struts.freemarker.manager.classname E
02l=M
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class HGJfj*JH
org.apache.struts2.views.freemarker.FreemarkerManager接口名 R:}u(N
f} _d`?K
struts.i18n.encoding =O?#>3A}
The encoding to use for localization messages sHwn,4|iY
国际化信息内码 .xIu
vs|_l!n3
struts.i18n.reload N)rf/E0
Whether the localization messages should automatically be reloaded IC:wof "
是否国际化信息自动加载 $*Z Zh
acdWU"<
struts.locale [q5N 4&q\
The default locale for the Struts application *wOuw@09
默认的国际化地区信息 qp6*v&
kk*:S* ,
struts.mapper.class >tFv&1iR
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class NcVsQV
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Y3J;Kk#AH
"Nx3_mQ
struts.multipart.maxSize 14,Pf`5Sz
The maximize size of a multipart request (file upload) 'z}Hg
*
multipart请求信息的最大尺寸(文件上传用) }CyS_Tc
6-w'? G37
struts.multipart.parser N1Pm4joH%
The org.apache.struts2.dispatcher.multipart. 0-9.u`)#yu
MultiPartRequest parser implementation for a multipart request (file upload) Z;XiA<|
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) AvNU\$B4aG
|y*-)t
*i>?YT
struts.multipart.saveDir $^1L|KgXp
The directory to use for storing uploaded files KOQ9K
设置存储上传文件的目录夹 DIU9Le
S
;; Z
struts.objectFactory 8%;K#,>
The com.opensymphony.xwork2.ObjectFactory implementation class O^AF+c\n
com.opensymphony.xwork2.ObjectFactory接口(spring) cIIt ;q[
U.[?1:v
struts.objectFactory.spring.autoWire er[%Nt+99
Whether Spring should autoWire or not /KWR08ftp
是否自动绑定Spring C<?Huw4R0
O!c b-
struts.objectFactory.spring.useClassCache Qf}^x9'
Whether Spring should use its class cache or not (^ Q:zU
是否spring应该使用自身的cache w|uO)/v
rq.S0bzH
struts.objectTypeDeterminer O73 /2=1V
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3w
B 03\P
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 N%,!&\L
j$K[QSn
struts.serve.static.browserCache -q-/0d<l
If static content served by the Struts filter should set browser caching header properties or not 27NhYDo
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N {$'-[
5* d
struts.serve.static vGT#BS%
Whether the Struts filter should serve static content or not Du3nK"-g
是否struts过滤器应该提供静态内容 N2~q\BqA
WLTraB[?
struts.tag.altSyntax -p:X]Ov
Whether to use the alterative syntax for the tags or not p
FkqDU
是否可以用替代的语法替代tags !QB(M@1
0H6^2T<
struts.ui.templateDir j9=QOq
The directory containing UI templates %qM3IVPK)q
UI templates的目录夹 8jnz;;|
NNt,J;
struts.ui.theme c<8RRYs
The default UI template theme JBsHr%!i
默认的UI template主题 "1U:qr2-H
gD\ =
struts.url.http.port MR/8
The HTTP port used by Struts URLs {[&_)AW6m%
设置http端口 -[I}"Glz:
\9S&j(I
struts.url.https.port 06&:X^
The HTTPS port used by Struts URLs U1>VKP;5Nn
设置https端口 {cNH|
ZL3aO,G2
struts.url.includeParams :!wdqn
The default includeParams method to generate Struts URLs vIoV(rc+
在url中产生 默认的includeParams #\[((y:q
[,F5GW{x
6L~tUe.G
struts.velocity.configfile J)w58/`?t
The Velocity configuration file path l9J ]<gG
velocity配置文件路径 U*Hw
t\
f&\v+'[p
struts.velocity.contexts l1RpG"
List of Velocity context names r`Qzn" H
velocity的context列表 `z=I}6){
nr#DE?
kW#{[,7r
struts.velocity.manager.classname l"\W] 'T:r
org.apache.struts2.views.velocity.VelocityManager implementation class 0ang^v;q
org.apache.struts2.views.velocity.VelocityManager接口名 %EZG2J jO)
@+v;B:
struts.velocity.toolboxlocation [>'P
The location of the Velocity toolbox T4\F=iw4
velocity工具盒的位置 S)@95pb
struts.xslt.nocache cNW [i"
Whether or not XSLT templates should not be cached P8JN
m"C
是否XSLT模版应该被缓存 4No!`O-!&