struts2的struts.properties配置文件详解 9"rATgN1
F{[Q
struts.action.extension 5R4 dN=L*1
The URL extension to use to determine if the request is meant for a Struts action 9M6&+1XE
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8447hb?W$
@RC_Ie=#)
struts.configuration A U](pXK;
The org.apache.struts2.config.Configuration implementation class LakP'P6`E
org.apache.struts2.config.Configuration接口名 lxeolDl
t?s1@}G^
struts.configuration.files A[oRi}=
A list of configuration files automatically loaded by Struts n1QO/1}
:
struts自动加载的一个配置文件列表 >\e11OU0Gy
C-(&zwj?!
struts.configuration.xml.reload b(yY.L=K
Whether to reload the XML configuration or not ]T$~a8
是否加载xml配置(true,false) l}m@9 ~oC
8WvT0q>]
struts.continuations.package gP}M\3-O
The package containing actions that use Rife continuations m4EkL
含有actions的完整连续的package名称 (efH>oY[
7-^d4P+|g
struts.custom.i18n.resources Ne=D$o
Location of additional localization properties files to load =hA/;
加载附加的国际化属性文件(不包含.properties后缀) i}!CY@sW
ZjzQv)gZ
struts.custom.properties 9]Y@eRI<
Location of additional configuration properties files to load UZyo:*yB
加载附加的配置文件的位置 *aSFJK
*ce h
]v
az w8BK
struts.devMode 51~:t[N|
Whether Struts is in development mode or not Z'\_YbB
是否为struts开发模式 de"*<+
d+_qBp
struts.dispatcher.parametersWorkaround _^KD&t%!+y
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }{[F+|\>,e
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) aJub("
xHf
l>C'
struts.enable.DynamicMethodInvocation qLR)>$
Allows one to disable dynamic method invocation from the URL JLjx4B\
允许动态方法调用 zEu*q7
4FYws5]$
struts.freemarker.manager.classname NK#f Gz*,(
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class k?_Miqr
org.apache.struts2.views.freemarker.FreemarkerManager接口名 qp7>_B
NJ|8##Z>
struts.i18n.encoding @Fo0uy\G
The encoding to use for localization messages o/Z?/alt4
国际化信息内码 y'(;!5w
K\uR=L7
struts.i18n.reload 6%)dsTAB
Whether the localization messages should automatically be reloaded !4|7U\;
是否国际化信息自动加载 1:8ZS
"]sr4Jg=
struts.locale IkD\YPL;
The default locale for the Struts application .7oz
默认的国际化地区信息 Mq$e5&/
BsxQW`>^y
struts.mapper.class nH;^$b'LZ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `S%pD.g,2
org.apache.struts2.dispatcher.mapper.ActionMapper接口 f@Db._E
-\>Xtix^-c
struts.multipart.maxSize v,kedKcxv'
The maximize size of a multipart request (file upload) ~}uTC36C\
multipart请求信息的最大尺寸(文件上传用) }v`5
BwbvZfV|
struts.multipart.parser Yk:\oM
The org.apache.struts2.dispatcher.multipart. 4\t9(_
MultiPartRequest parser implementation for a multipart request (file upload) ZMbv1*Vt
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9= :!XkT.
v-OaH81&R
P>:"\I[
struts.multipart.saveDir `/"TYR%
The directory to use for storing uploaded files @;pTQ
5
I
设置存储上传文件的目录夹 q")}vN
}E*#VA0/nY
struts.objectFactory I"r*p?
The com.opensymphony.xwork2.ObjectFactory implementation class uA,K}sNRZ
com.opensymphony.xwork2.ObjectFactory接口(spring) |ONkRxr@!
&ceZu=*
struts.objectFactory.spring.autoWire OD{Rh(Id
Whether Spring should autoWire or not h" j{B
是否自动绑定Spring A07FjT5w8
9"&HxyOfX
struts.objectFactory.spring.useClassCache )abo5
Whether Spring should use its class cache or not f.Jz]WXw,
是否spring应该使用自身的cache wF}/7b54
y;uk|#qnPS
struts.objectTypeDeterminer JWC{ "6
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class p5E|0p
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +[:}<^p?cG
B|#"dhT
struts.serve.static.browserCache ;l"z4>kt7
If static content served by the Struts filter should set browser caching header properties or not wuI+$?
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 e:&5Cvx
{=pf#E=
struts.serve.static 7n5bI\
Whether the Struts filter should serve static content or not Drc\$<9c@
是否struts过滤器应该提供静态内容 p.)G ],
_.zW[;84b
struts.tag.altSyntax '\P6NszY~
Whether to use the alterative syntax for the tags or not VDBP]LRF
是否可以用替代的语法替代tags *joM[ML` 6
iN<Tn8-YH6
struts.ui.templateDir jf@#&%AC9
The directory containing UI templates )/UPDdO
UI templates的目录夹 FSC74N/
ob-y {x,R
struts.ui.theme YaDr6)
The default UI template theme Sky!ZN'I
默认的UI template主题 X]M)T
.pK_j~}P
struts.url.http.port }m(u oT~
The HTTP port used by Struts URLs qa2QS._m
设置http端口 }3ty2D#/:
c=h{^![$
struts.url.https.port %\2
ll=p1
The HTTPS port used by Struts URLs )FYz*:f>&
设置https端口 NbSkauF~b
nz~3o
struts.url.includeParams =T!iM2
The default includeParams method to generate Struts URLs U8;k6WT|
在url中产生 默认的includeParams 4cl}ouG
]&jXD=a"
b1R%JY7/S
struts.velocity.configfile 6l<q
The Velocity configuration file path ==~X8k|{E
velocity配置文件路径 9H`Q
|7g(5
{b}Ri&oEOH
struts.velocity.contexts ^F/N-!}q
List of Velocity context names +<(N]w*
velocity的context列表 PH^AT<U:T
!D!Q]M5oU
eE '\h
struts.velocity.manager.classname ]`b/_LJN$F
org.apache.struts2.views.velocity.VelocityManager implementation class QQj)"XJ29
org.apache.struts2.views.velocity.VelocityManager接口名 Y7{IF X
K]1A,Q
struts.velocity.toolboxlocation aTxss:7]
The location of the Velocity toolbox P?\ IlziCB
velocity工具盒的位置 q{nNWvL
struts.xslt.nocache nZ0-
Kb
Whether or not XSLT templates should not be cached jA?A)YNQb
是否XSLT模版应该被缓存 )k&<D*5s