struts2的struts.properties配置文件详解 /3s&??{tv
O)jD2X?
struts.action.extension {aAd (~YZ
The URL extension to use to determine if the request is meant for a Struts action 1ksFxpE
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 UZ<K'H,q
sVx}(J
struts.configuration "_/ih1z]
The org.apache.struts2.config.Configuration implementation class HH*y$
org.apache.struts2.config.Configuration接口名 fd[N]I3
)tG. 9"<
struts.configuration.files Q`F1t
A list of configuration files automatically loaded by Struts k;\gYb%L
struts自动加载的一个配置文件列表 *)K\&h<{
1L,L/sOwB&
struts.configuration.xml.reload R-%6v2;ry
Whether to reload the XML configuration or not $0$sM/ %
是否加载xml配置(true,false) NP;W=A F
0AHQ(+Ap
struts.continuations.package tV!?Ol
The package containing actions that use Rife continuations t:2DB)
含有actions的完整连续的package名称 $udhTI#,
44KoOY_
struts.custom.i18n.resources N3"Jo uP
Location of additional localization properties files to load <0d2{RQ;
加载附加的国际化属性文件(不包含.properties后缀) G*z\
^H
'K4FS(q
struts.custom.properties hywcj\[
Location of additional configuration properties files to load
m-t:'B
加载附加的配置文件的位置 SIp)&
#*bmwb*i
y#'hOSR2
struts.devMode yzN[%/
Whether Struts is in development mode or not 1AAyzAP9`
是否为struts开发模式 i#-v4g
\Th<7WbR6#
struts.dispatcher.parametersWorkaround hDxq9EF
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Au,oX2$
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) k[@P526
]k!Xb
struts.enable.DynamicMethodInvocation '3S~QN
Allows one to disable dynamic method invocation from the URL %,bD|
NKp
允许动态方法调用 -rO34l
Db"mq'vT
struts.freemarker.manager.classname UDEGQ^)Xz|
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class t@!n?j
I
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?%5VaxWJ
Oc L7] b0
struts.i18n.encoding e|Ri
The encoding to use for localization messages ;M?)-dpZ
国际化信息内码 <>6j>w_|
u1/>)_U
struts.i18n.reload b,Wm]N
Whether the localization messages should automatically be reloaded G(t:s5:
是否国际化信息自动加载 6qT@M0)i
SES.&e|!6
struts.locale r *K
The default locale for the Struts application !JA;0[;l=
默认的国际化地区信息 Cu7{>"
zamMlmls^
struts.mapper.class h'"m,(a
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class -'Z Gc8)
org.apache.struts2.dispatcher.mapper.ActionMapper接口 .I:rb~&
>[ B.y
struts.multipart.maxSize s#Dj>Fej
The maximize size of a multipart request (file upload) ?I=1T.
multipart请求信息的最大尺寸(文件上传用) #Ha:O,|
ZPZh6^cc
struts.multipart.parser os5$(
The org.apache.struts2.dispatcher.multipart. f=^xU
P
MultiPartRequest parser implementation for a multipart request (file upload) NifQsy)*%
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <IR#W$[
e(7#>O%1
~A>fB2.pM
struts.multipart.saveDir yz68g?"
The directory to use for storing uploaded files M5no4P<
设置存储上传文件的目录夹 -+ByK#<%
j !*,(
struts.objectFactory [oh06_rB
The com.opensymphony.xwork2.ObjectFactory implementation class _^ENRk@
com.opensymphony.xwork2.ObjectFactory接口(spring) @bg9
}Z%\h
?;,;
struts.objectFactory.spring.autoWire Dck/Ea
Whether Spring should autoWire or not aEN` `
是否自动绑定Spring %O`@}Tg
/1EAj
struts.objectFactory.spring.useClassCache qA[lL(
Whether Spring should use its class cache or not gBqDx|G
是否spring应该使用自身的cache vzSb(
DvH-M3
struts.objectTypeDeterminer W_B=}lP@x
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class TipH}
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 X9| Z?jJ
`bQ_eRw}
struts.serve.static.browserCache ?("O.<
If static content served by the Struts filter should set browser caching header properties or not ^$ Y9.IH"
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [-\ Y?3
]r;rAOWVV
struts.serve.static wlNL;W@w
Whether the Struts filter should serve static content or not dWn6-es
是否struts过滤器应该提供静态内容 B''yW{
^
9+
Qxv
struts.tag.altSyntax v*.R<-X:
Whether to use the alterative syntax for the tags or not )=f}vHg$
是否可以用替代的语法替代tags O?OAXPK2
jq
H)o2"/
struts.ui.templateDir hJM&rM7
The directory containing UI templates L62'Amml
UI templates的目录夹 IRbyW?/Xv
GDLi?3q
struts.ui.theme ^(JrOh'
The default UI template theme `%Fp'`ZM$8
默认的UI template主题 OG}890$n
x;[ . ZzQ
struts.url.http.port n~629 &
The HTTP port used by Struts URLs d.+*o
设置http端口 PtkMzhX
#R5\k-I
struts.url.https.port StJb-K/_cL
The HTTPS port used by Struts URLs 6Rfv3
设置https端口 4<[?qd3v=
eV"%(<{
struts.url.includeParams ?J2{6,}O*.
The default includeParams method to generate Struts URLs Xy(QK2|
在url中产生 默认的includeParams c=u+X`
Q
J#`7!
6SCjlaGW5
struts.velocity.configfile |*?N#0s5h
The Velocity configuration file path W5u5!L/
velocity配置文件路径 Fu.aV876\f
&6\&McmkX
struts.velocity.contexts yu6~:$%H
List of Velocity context names ]\yB,
velocity的context列表 THwM',6
CzV;{[?~;
cx:_5GF
struts.velocity.manager.classname [h-6;.e
org.apache.struts2.views.velocity.VelocityManager implementation class 7(2}Vs!5
org.apache.struts2.views.velocity.VelocityManager接口名 Tu(:?
|V5BL<4
struts.velocity.toolboxlocation !EIH"`>!
The location of the Velocity toolbox P"NI> HM
velocity工具盒的位置 +jE)kaV%
struts.xslt.nocache `p\%ha!,w
Whether or not XSLT templates should not be cached /D"T\KNWr
是否XSLT模版应该被缓存 im*sSz 0 (