struts2的struts.properties配置文件详解 2KMLpO&De
1ux~dP
struts.action.extension m{Jo'*%8f
The URL extension to use to determine if the request is meant for a Struts action y^_'g2H
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,$@nbS{Q]
H[?~u+
struts.configuration |\"vHt?@G
The org.apache.struts2.config.Configuration implementation class _;",7bT80
org.apache.struts2.config.Configuration接口名 `W< 7.
&-W5T?Sl
struts.configuration.files 2f ]CnD0$
A list of configuration files automatically loaded by Struts w~@.&
struts自动加载的一个配置文件列表 3/mVdU?U
o-2FGM`*VB
struts.configuration.xml.reload 4 F~e3
Whether to reload the XML configuration or not ]YYjXg}%
是否加载xml配置(true,false) \dSMF,E
:D6"h[7
struts.continuations.package xiuAW
The package containing actions that use Rife continuations aG;6^$H~
含有actions的完整连续的package名称 |xyr6gY
U;o[>{L
struts.custom.i18n.resources pZp|F
Location of additional localization properties files to load qW[p .jN
加载附加的国际化属性文件(不包含.properties后缀) ]C^D5(t/cd
3>qUYxG8
struts.custom.properties cGiS[-g
Location of additional configuration properties files to load B4 5B`Ay
加载附加的配置文件的位置 Y\luz`v
&n+3^JNl
n-[J+DdB
struts.devMode uZ][#[u
Whether Struts is in development mode or not w
V&{w7
是否为struts开发模式 =SPuOy8
w_|R.T\7
struts.dispatcher.parametersWorkaround 2P`QS@v0a=
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic CLU !/J$!
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 'jWd7w~(
c0jdZ#H
struts.enable.DynamicMethodInvocation &WAO.*:y
Allows one to disable dynamic method invocation from the URL n~N>c*p
允许动态方法调用 :" Q!Q@>
j|gv0SI_
w
struts.freemarker.manager.classname 0mo^I==J1
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class D(xgadr
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,
"w`,c>!
Vzf{gr?
struts.i18n.encoding O~F/{:U
The encoding to use for localization messages flp<QT
国际化信息内码 /l_$1<c
_l,?Y;OF
struts.i18n.reload c\~H_ ~F
Whether the localization messages should automatically be reloaded G%~=hEK0
是否国际化信息自动加载 .kh%66:
B$qmXA)ze
struts.locale S@]7
The default locale for the Struts application ~8~B VwZ_
默认的国际化地区信息 JmdXh/X
rhY>aj
struts.mapper.class d&'z0]mOe
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class K_j$iHqLF
org.apache.struts2.dispatcher.mapper.ActionMapper接口 <(W0N|1v
Ai\"w 0
struts.multipart.maxSize -dbD&8
The maximize size of a multipart request (file upload) NfcY30}:
multipart请求信息的最大尺寸(文件上传用) 7><n e|%
CK[2duf^~
struts.multipart.parser J7X-=E D
The org.apache.struts2.dispatcher.multipart. 1 Y_e1tgmm
MultiPartRequest parser implementation for a multipart request (file upload) RbX!^v<0f6
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) p%e!&:!
S W(h%`U
0-cqux2U
struts.multipart.saveDir 1\1a;Q3W%,
The directory to use for storing uploaded files -e7|DXj
设置存储上传文件的目录夹 Knsb`1"E^6
^c{}G<U^
struts.objectFactory O-B~~$g
The com.opensymphony.xwork2.ObjectFactory implementation class O @fX
+W?U
com.opensymphony.xwork2.ObjectFactory接口(spring) ,GEMc a,`
j-|YE?AA
struts.objectFactory.spring.autoWire GXB4&Q!C
Whether Spring should autoWire or not R L/~E
xYC
是否自动绑定Spring r4caIV
|`T3H5X>
struts.objectFactory.spring.useClassCache bep}|8,#u
Whether Spring should use its class cache or not p#~'xq
是否spring应该使用自身的cache m&o}qzC'y
X&DuX %x0
struts.objectTypeDeterminer VpSk.WY/ e
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ie+&@u
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *>%34m93
Gxfw!aF~
struts.serve.static.browserCache TN3, \qgV
If static content served by the Struts filter should set browser caching header properties or not T.="a2iS2
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8}h ^Frh
?^P#P0
struts.serve.static YfUdpa0
Whether the Struts filter should serve static content or not 6'ye-}vD-
是否struts过滤器应该提供静态内容 WmLl.Vv=
awuUaE
struts.tag.altSyntax Yu=4j9e_mG
Whether to use the alterative syntax for the tags or not vfzGRr
是否可以用替代的语法替代tags Ga~N7
_H^Ij
struts.ui.templateDir 6~GaFmW=
The directory containing UI templates vFY/o,b \
UI templates的目录夹 $+Ke$fq.>
mtuq
struts.ui.theme 8,2l >S
The default UI template theme d}tn/Eu?B
默认的UI template主题 kH*l83
V[,/Hw~d%
struts.url.http.port WpC@nz?
The HTTP port used by Struts URLs yAtM|:qq
设置http端口 "lLt=s2>L
AC3K*)`E
struts.url.https.port (u85$_C
The HTTPS port used by Struts URLs K1uN(T.Ju
设置https端口 6,M>' s,N
==(9P`\
struts.url.includeParams ,$5;
The default includeParams method to generate Struts URLs nS[0g^}
在url中产生 默认的includeParams b_ Sh#d&
?6Cbx6
uoFH{.)
struts.velocity.configfile #/sKb2eQ
The Velocity configuration file path u,[Yaw"L
velocity配置文件路径 |GE3.g
jo=XxA
struts.velocity.contexts y=YD4m2 W
List of Velocity context names &Th/Qv}[
velocity的context列表 td4*+)'FY
!JUXq
$/,qw
struts.velocity.manager.classname K2nq2Gbn
org.apache.struts2.views.velocity.VelocityManager implementation class T
:CsYj1
org.apache.struts2.views.velocity.VelocityManager接口名 $f>Mz|j
W-=~Afy
struts.velocity.toolboxlocation : QSlctW
The location of the Velocity toolbox CZE5RzG
velocity工具盒的位置 t)g1ICt
struts.xslt.nocache Zb-TCS+3l
Whether or not XSLT templates should not be cached f[ GH
是否XSLT模版应该被缓存 MUz.-YRt