struts2的struts.properties配置文件详解 kc^Q?-?
==`K$rM
struts.action.extension d$8rzd
The URL extension to use to determine if the request is meant for a Struts action ;!DUN zl
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 E9HA8
P\KP )bkC
struts.configuration K/79Tb-
The org.apache.struts2.config.Configuration implementation class (h7 rW3
org.apache.struts2.config.Configuration接口名 HiCNs;t
0vNEl3f'O
struts.configuration.files 96T.xT>&
A list of configuration files automatically loaded by Struts >w+WG0Z
K
struts自动加载的一个配置文件列表 ]S<eO6z
wQWokpP;T7
struts.configuration.xml.reload 4_3Jpz*
Whether to reload the XML configuration or not > xkl7D
是否加载xml配置(true,false) ^%-$8sV
5t#+UR
struts.continuations.package su/l'p'
The package containing actions that use Rife continuations 9V`/zq?
含有actions的完整连续的package名称 SLpB$puS
~'KymarPU
struts.custom.i18n.resources LOpnPH`
Location of additional localization properties files to load qEPvV
加载附加的国际化属性文件(不包含.properties后缀) &0SX*KyI
A#M#JI-Y
struts.custom.properties dX{|-;6vm
Location of additional configuration properties files to load N~_GJw@
加载附加的配置文件的位置 zvYkWaa_Qz
xu(5U`K
A-1Wn^,>*
struts.devMode F2]v]]F!
Whether Struts is in development mode or not _HX1E
是否为struts开发模式 TKj8a(R_
@'j=oTT
struts.dispatcher.parametersWorkaround ``j..v,
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic D% }?l
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) A\iDK10Q$
kLQPa[u4
struts.enable.DynamicMethodInvocation vpcx 1t<
Allows one to disable dynamic method invocation from the URL rM#jxAb
允许动态方法调用 K@Q_q/(%;
8o#*0d|
struts.freemarker.manager.classname Iq0_X7:{QI
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class IlG)=?8XZ
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Wz}RJC7p
_*h,,Q
struts.i18n.encoding V.#,dDC@j
The encoding to use for localization messages Ls )y.u
国际化信息内码 (g
xCP3
I1yZ7QY
struts.i18n.reload LvgNdVJDP|
Whether the localization messages should automatically be reloaded [>QV^2'Z
是否国际化信息自动加载 W&ya_iP~C
S.rlF1`
struts.locale MKLnt X
The default locale for the Struts application =fG c?PQ
默认的国际化地区信息 =k6zUw;5 U
8-5MGh0L
struts.mapper.class /uS(Z-@
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class e}y oy+9
org.apache.struts2.dispatcher.mapper.ActionMapper接口 <h:> :%# k
_+YCwg
struts.multipart.maxSize 0gO<]]M?
The maximize size of a multipart request (file upload) h
92\1,
multipart请求信息的最大尺寸(文件上传用) eBX#^
uN20sD}
struts.multipart.parser Q1 ?O~ao
The org.apache.struts2.dispatcher.multipart. U.is:&]E
MultiPartRequest parser implementation for a multipart request (file upload) y}*rRm.:
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) l|z
'Lwwm5
?9xaBWf
['ol]ZJ
struts.multipart.saveDir $Nvt:X_
The directory to use for storing uploaded files N|K,{
p^li
设置存储上传文件的目录夹 Q1J./C}
eWzD'3h^
struts.objectFactory H7n5k,
The com.opensymphony.xwork2.ObjectFactory implementation class 6*cG>I.Z
com.opensymphony.xwork2.ObjectFactory接口(spring) Fj}|uiOQUS
/1
lIV_Z
struts.objectFactory.spring.autoWire s `fIeP
Whether Spring should autoWire or not }VxbO8\b(
是否自动绑定Spring |@?B%sY
a3e<<<Z>R
struts.objectFactory.spring.useClassCache |6w.m<p
Whether Spring should use its class cache or not jjbBv~vs
是否spring应该使用自身的cache &QO~p3M
Ab`mID:
struts.objectTypeDeterminer P/snzm|@
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^N}zePy0
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 rU<NHFGj4
s''?:
+
struts.serve.static.browserCache hNs970i
If static content served by the Struts filter should set browser caching header properties or not D,%R[F?5O
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 g\;AU2?p7
e\x=4i
struts.serve.static *5Upb,**
Whether the Struts filter should serve static content or not x'kwk
是否struts过滤器应该提供静态内容 N p9N#m?
wr{03mQHxp
struts.tag.altSyntax f>\OT
Whether to use the alterative syntax for the tags or not Kk+IUs
是否可以用替代的语法替代tags ;ZZ%(P=-
hV|pH)Nu{
struts.ui.templateDir Bv_C *vW
The directory containing UI templates Q<W9<&VZe
UI templates的目录夹 RNGTSz
WGjT06a\
struts.ui.theme rB|Mp!g%@
The default UI template theme meunAEe
默认的UI template主题 tz0@csXV
'WK}T)o
struts.url.http.port Qb}7lm{r
The HTTP port used by Struts URLs
S!Ue+jW
设置http端口 {|?OKCG{
vWY}+#
struts.url.https.port BE. v+'c"
The HTTPS port used by Struts URLs Jcf'Zw"\
设置https端口 vRa|lGeW
IPmSkK
struts.url.includeParams C{>@b:]p
The default includeParams method to generate Struts URLs 4]9+
在url中产生 默认的includeParams nB"r<?n<
]jiM
KtzoL#CT
struts.velocity.configfile }R-eQT
The Velocity configuration file path p48M7OV
velocity配置文件路径 LX),oR
XH4!|wz
struts.velocity.contexts `&$"oW{HW
List of Velocity context names ^|y6oj
velocity的context列表 JwWW w1
*0]E4]ZO
N),bhYS]
struts.velocity.manager.classname hR,VE'A
org.apache.struts2.views.velocity.VelocityManager implementation class }Kc[pp|9<
org.apache.struts2.views.velocity.VelocityManager接口名 Ug>yTc_(7
f`'? 2
struts.velocity.toolboxlocation K=Z~$)Og)
The location of the Velocity toolbox ULc oti=,
velocity工具盒的位置 3a PCi>i!_
struts.xslt.nocache edld(/wu~
Whether or not XSLT templates should not be cached Pk/{~!+
$
是否XSLT模版应该被缓存 NIufL
}6\