struts2的struts.properties配置文件详解 %?_pSH}$!
ld4QhZia
struts.action.extension I1
j-Q8
The URL extension to use to determine if the request is meant for a Struts action R\MM2_I
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 |~CN]N
qp^O\>c
struts.configuration @P4fR7
The org.apache.struts2.config.Configuration implementation class LqPn$rZ|$
org.apache.struts2.config.Configuration接口名 zhU)bb[A
gc7S_D~;
struts.configuration.files MMD4b}p
A list of configuration files automatically loaded by Struts fC2e}WR
struts自动加载的一个配置文件列表 )wo'i]#2:
4\Y2{Z>P?
struts.configuration.xml.reload b|wCR%
Whether to reload the XML configuration or not "Nn/vid;
是否加载xml配置(true,false) GrW+P[j9
.#6Dad=S*
struts.continuations.package <u*~RYA2
The package containing actions that use Rife continuations
s6rdQI]
含有actions的完整连续的package名称 M/ 0!B_(R
1fm\5/}'`1
struts.custom.i18n.resources d
/jO~+jP
Location of additional localization properties files to load
.-'
加载附加的国际化属性文件(不包含.properties后缀) P(d4~hS
$985q@pV0
struts.custom.properties 0Oc' .E9
Location of additional configuration properties files to load 9@#Z6[=R,
加载附加的配置文件的位置 u} JL*}Q
^LE`Y>&m
ngcXS2S_
struts.devMode ?3Se=7
k
Whether Struts is in development mode or not SY["dcx+
是否为struts开发模式 +T+f``RcK
=E8lpN'
struts.dispatcher.parametersWorkaround pN&5vu30
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ix^xL+Tm
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) j Aw&5,
kz(%8qi8&
struts.enable.DynamicMethodInvocation S`BLwnU`#
Allows one to disable dynamic method invocation from the URL +eZR._&0
允许动态方法调用 9l@VxX68M
`)&-;CMY
struts.freemarker.manager.classname ddmTMfH
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <bWhTNOb
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Q_euNoA0
vAbMU
struts.i18n.encoding ZTWbe
The encoding to use for localization messages ;M{ @23?`
国际化信息内码 :kfHILi
gXZ.je)NM
struts.i18n.reload bBc<yaN
Whether the localization messages should automatically be reloaded 0R>M_|
是否国际化信息自动加载 [iwn"e
[bIdhG
struts.locale *T*=~Y4kE
The default locale for the Struts application `$jc=ZLm
默认的国际化地区信息 VJS|H!CH
~(aQ!!H6
struts.mapper.class cXFNX<
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0
ML=]
org.apache.struts2.dispatcher.mapper.ActionMapper接口 &7!&]kA+
Gmi4ffIb3
struts.multipart.maxSize ``)ys^V
The maximize size of a multipart request (file upload) j8$*$|
multipart请求信息的最大尺寸(文件上传用) 3<1Uq3Pa
w-2p'u['Z
struts.multipart.parser ns9iTU)
The org.apache.struts2.dispatcher.multipart. Y'&A~/Adf
MultiPartRequest parser implementation for a multipart request (file upload) ` =RJ8u
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Qa~o'
OWxYV$
E'?yI'~=
struts.multipart.saveDir t?L;k+sMM
The directory to use for storing uploaded files %kS +n_*
设置存储上传文件的目录夹 U,yU-8z/
$(H%|Oyn
struts.objectFactory }+h/2D
The com.opensymphony.xwork2.ObjectFactory implementation class ^I@1y}xi
com.opensymphony.xwork2.ObjectFactory接口(spring) mVg-z~44T
<LIL{g0eX
struts.objectFactory.spring.autoWire UJ1iXV[h"
Whether Spring should autoWire or not hW$B;
是否自动绑定Spring n$g g$<
DnS#
cs~
struts.objectFactory.spring.useClassCache F=U3o=-:
Whether Spring should use its class cache or not &*B=5W;6^u
是否spring应该使用自身的cache 2--"@@
r j#K5/df
struts.objectTypeDeterminer 8rAOs\ys
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class
0'wB':v
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @tWyc%t
cJd~UQ<k
struts.serve.static.browserCache t8DySFT
If static content served by the Struts filter should set browser caching header properties or not iUJqAi1o
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 :3M2zV
cf
Q3vC^}Dmr
struts.serve.static 4d#w}
Whether the Struts filter should serve static content or not L}*:,&Y/
是否struts过滤器应该提供静态内容 {O9CYP:
[x
?38
struts.tag.altSyntax JziuwL5,
Whether to use the alterative syntax for the tags or not wN\%b}pp
是否可以用替代的语法替代tags o@mZ 6!ax3
n#[-1(P
struts.ui.templateDir k3h,c;
The directory containing UI templates 2F[smUL
UI templates的目录夹 1Y:lFGoe
wWv")dk3i
struts.ui.theme
I&?(=i)N
The default UI template theme "Kx2k>ym
默认的UI template主题 U~n>k<`sr
Veo:G{
struts.url.http.port (xf_
The HTTP port used by Struts URLs RO+B/)~0<
设置http端口 19Xc0ez
m=<Tylv
struts.url.https.port w?)v#]<-
The HTTPS port used by Struts URLs 6ziiV_p
设置https端口 l2QO\O
I9m
sgp5b$2T.
struts.url.includeParams $_CE!_G&)
The default includeParams method to generate Struts URLs S
C7Tp4
在url中产生 默认的includeParams rVgz+'rFD[
aT1T.3 a
9ot A5I^v
struts.velocity.configfile e6f:@ O?
The Velocity configuration file path ~G|un}g=
velocity配置文件路径 SN+B8*!
bCr) 3,
struts.velocity.contexts _xT=AF9~o
List of Velocity context names S*-n%D0q5
velocity的context列表 ,e{( r0
83~
Gu[
DG,CL8bv
struts.velocity.manager.classname V #["Z}
org.apache.struts2.views.velocity.VelocityManager implementation class ,S5tkTa
org.apache.struts2.views.velocity.VelocityManager接口名 M24FuS
V9[-# Ti
struts.velocity.toolboxlocation >Y=HP&A<
The location of the Velocity toolbox ~SgW+sDFu
velocity工具盒的位置 tgXIj5z
struts.xslt.nocache {j
i;~9'Q
Whether or not XSLT templates should not be cached i1k(3:ay<
是否XSLT模版应该被缓存 yQ5&S]Xk$$