struts2的struts.properties配置文件详解 9%kO%j,3
}*J04o$oI
struts.action.extension @8 c@H#H
The URL extension to use to determine if the request is meant for a Struts action Bj{J&{
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 (;g/wb:
;LgMi5dN
struts.configuration k@fxs]Y_L
The org.apache.struts2.config.Configuration implementation class 6DHZ,gWq
org.apache.struts2.config.Configuration接口名 -5e8m4*
%J6>Vc!ix=
struts.configuration.files :JBtqpo2
A list of configuration files automatically loaded by Struts lre(]oBXA
struts自动加载的一个配置文件列表 !JdZ0l
Zah<e6L
struts.configuration.xml.reload }qGd*k0F0
Whether to reload the XML configuration or not (Qw >P42J
是否加载xml配置(true,false) 6GAEQ]
TyO]|Q5
struts.continuations.package \|vo@E
The package containing actions that use Rife continuations maSVq G
含有actions的完整连续的package名称
*pO`sC>
;|\j][A
struts.custom.i18n.resources OtAAzc!dQ
Location of additional localization properties files to load ??Urm[Y.Z
加载附加的国际化属性文件(不包含.properties后缀) 0f_`;{
b$Ei>%'/";
struts.custom.properties I<W<;A
Location of additional configuration properties files to load wtL=^
加载附加的配置文件的位置 OGH,K'l
0WZd $
KWYjN
h#*
struts.devMode ~mHrgxQ-
Whether Struts is in development mode or not ;fQIaE&H
是否为struts开发模式 cAx$W6S
U$@}!X
struts.dispatcher.parametersWorkaround V~8]ag4
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F1}d@^K
7d
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) LGtw4'yr
N.|zz)y
struts.enable.DynamicMethodInvocation Qo]qs+
Allows one to disable dynamic method invocation from the URL "Qc4v@~)
允许动态方法调用 :rk6Stn$z
CZ^
,bad
struts.freemarker.manager.classname a&kt!%p:
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class tJ7tZ~Ak
org.apache.struts2.views.freemarker.FreemarkerManager接口名 <}xgp[O
zk@s#_3ct
struts.i18n.encoding H7drDw
The encoding to use for localization messages 6c>:h)?
国际化信息内码 P=P']\`p+
71IM`eL=ED
struts.i18n.reload pL*aU=FjQ
Whether the localization messages should automatically be reloaded E&"V~
是否国际化信息自动加载 >`yRL[c;
EpT^r8I
struts.locale ,1t|QvO
The default locale for the Struts application @tRDKPh
默认的国际化地区信息 44k8IYC*o
rNm_w>bq
struts.mapper.class 2h@&yW2j
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class -U7,~z
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Rb^G~82d?
YJDJj
x
struts.multipart.maxSize 7 > _vH]
The maximize size of a multipart request (file upload) J_<6;#
multipart请求信息的最大尺寸(文件上传用) O"X7 DgbC
LF{8hC[
struts.multipart.parser mtLiS3Nk8
The org.apache.struts2.dispatcher.multipart. DHvZ:)aT}
MultiPartRequest parser implementation for a multipart request (file upload) y34 <B)Wy
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _Wp.s]D [
+T,0,^*
y\:Ma7V
struts.multipart.saveDir qd'Z|'j
The directory to use for storing uploaded files Qip@L WvT
设置存储上传文件的目录夹 m,5?|J=
#7YJ87<E
struts.objectFactory n0 V^/j}
The com.opensymphony.xwork2.ObjectFactory implementation class u{sb^cmy
com.opensymphony.xwork2.ObjectFactory接口(spring) +'VYqu/
k2#|^N
struts.objectFactory.spring.autoWire p%#'`*<a_
Whether Spring should autoWire or not Nn?$}g
是否自动绑定Spring D mky!Cp
.jbxA2
struts.objectFactory.spring.useClassCache P*ZMbAf.
Whether Spring should use its class cache or not 4`o<e)c3
是否spring应该使用自身的cache :/"5x
?1LRR
;-x
struts.objectTypeDeterminer _ib
@<%
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ?jvuTS 2
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,.|/B^jV
Ef@Et(f_mQ
struts.serve.static.browserCache *q[;-E(fZ#
If static content served by the Struts filter should set browser caching header properties or not bFH`wLW
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 yGV>22vv
M
;Z`R!
struts.serve.static ##alzC
Whether the Struts filter should serve static content or not /wP2Wnq$
是否struts过滤器应该提供静态内容 V:+z 3)qF
_lm^v%J$
struts.tag.altSyntax Pl2eDv-y
Whether to use the alterative syntax for the tags or not -]n%+,3L
是否可以用替代的语法替代tags Tv
5J
bUYjmb2g)
struts.ui.templateDir h 'Hnq m
The directory containing UI templates U9
mK^
UI templates的目录夹 K(WKx7Kky^
N8J(RR9O
struts.ui.theme iHvWJ<"jR
The default UI template theme {9^p3Q+:P
默认的UI template主题 #ZP;] W
Jz P0D'
struts.url.http.port f=S2O_Ee
The HTTP port used by Struts URLs (qz)3Fa
设置http端口 }WBHuVcZG
2. {/ls
struts.url.https.port )%lPKp4]
The HTTPS port used by Struts URLs =+q\Jh
设置https端口 ,@Kn@%?$
]e+&Pxw]e
struts.url.includeParams l@-h.tS
The default includeParams method to generate Struts URLs VYt<j<ba
在url中产生 默认的includeParams #l7v|)9v
)8SWU)/
W,_2JqQp
struts.velocity.configfile uv^x
The Velocity configuration file path m
-hZ5i
velocity配置文件路径 -~X[j2
{];-b0MS~
struts.velocity.contexts A5%$<
List of Velocity context names kQQDaZ8
velocity的context列表 UP%6s:>:
evNe6J3
;Zr7NKs
struts.velocity.manager.classname Nd{U|k3pL
org.apache.struts2.views.velocity.VelocityManager implementation class x;Slv(|M
org.apache.struts2.views.velocity.VelocityManager接口名 mVh;=>8K
NK(_ &.F
struts.velocity.toolboxlocation ;oDr8a<A
The location of the Velocity toolbox 8F@Sy,D
velocity工具盒的位置 ZmNNR 1%/
struts.xslt.nocache K>b4(^lf
Whether or not XSLT templates should not be cached
5C^@w
是否XSLT模版应该被缓存 `u PLyS.