struts2的struts.properties配置文件详解 B>>_t2IU
dm[cl~[
Q
struts.action.extension Uq_lT,
The URL extension to use to determine if the request is meant for a Struts action iKV|~7nwO
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 YVa,?&i=N
w(aj' i
struts.configuration L(K 5f7\
The org.apache.struts2.config.Configuration implementation class ,$/Ld76U
org.apache.struts2.config.Configuration接口名 5I1YB+$}e
nRB3VsL
struts.configuration.files R*2N\2
A list of configuration files automatically loaded by Struts JxwKTFU'3O
struts自动加载的一个配置文件列表 ! J<Xel{
)1B?<4
struts.configuration.xml.reload aaCRZKr
Whether to reload the XML configuration or not \V!{z;.fA
是否加载xml配置(true,false) 8..|-<w
J^yqu{
struts.continuations.package X,aRL6>r
The package containing actions that use Rife continuations @O'NJh{D`
含有actions的完整连续的package名称 }Vob)r{R@
HVoPJ!K3
struts.custom.i18n.resources 4)D~S4{E5
Location of additional localization properties files to load
K];]
加载附加的国际化属性文件(不包含.properties后缀) F"k`PF*b
&8l?$7S"_/
struts.custom.properties aReJ@
Location of additional configuration properties files to load 0C%IdV%CU
加载附加的配置文件的位置 lSaX!${R'T
XXn3K BIf
#J3o~,t<
struts.devMode \P+^BG!
Whether Struts is in development mode or not ]
&" `
是否为struts开发模式 }(!Uq
HQ9tvSc
struts.dispatcher.parametersWorkaround yOQae m^O
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic gAorb\iJ
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Z;a)P.l.>
F7O*%y.';
struts.enable.DynamicMethodInvocation 4]m{^z`1
Allows one to disable dynamic method invocation from the URL dWkQ NFKF
允许动态方法调用 'A.5T%n-
(>A#|N1U
struts.freemarker.manager.classname [(_,\:L${
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,)*[Xa_n
org.apache.struts2.views.freemarker.FreemarkerManager接口名 )uOtQ0
#GlFm?/6K/
struts.i18n.encoding +em!TO
The encoding to use for localization messages B-]bhA4|:
国际化信息内码 Mz(?_7
zEO~mJzo
struts.i18n.reload '+{yg+#/wV
Whether the localization messages should automatically be reloaded yp$jLBA
是否国际化信息自动加载 -hW>1s<
`.O$RwC&7B
struts.locale *9r(lmrfj
The default locale for the Struts application kP[fhOpn
默认的国际化地区信息 }"WovU{*s
(_ :82@c
struts.mapper.class Zl&ED{k<
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2;"vF9WMm
org.apache.struts2.dispatcher.mapper.ActionMapper接口 8%u|[Si;
$`7Fk%#+e
struts.multipart.maxSize 6M7GPHah
The maximize size of a multipart request (file upload)
0n6eWwY
multipart请求信息的最大尺寸(文件上传用) R[l`# I
w (RRu~J
struts.multipart.parser TO5y.M|7
The org.apache.struts2.dispatcher.multipart. ibZ[U p?
MultiPartRequest parser implementation for a multipart request (file upload) 2HBey
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) i0wBZ i?
@d~]3T
Io JI|lP
struts.multipart.saveDir .wq
j
The directory to use for storing uploaded files (nmsw6
X
设置存储上传文件的目录夹 qF$y
p>|#
QOUyD;0IW
struts.objectFactory e8dZR3JL
The com.opensymphony.xwork2.ObjectFactory implementation class ?'a>?al%>
com.opensymphony.xwork2.ObjectFactory接口(spring) u(8{5"C
^.)0O3oC
struts.objectFactory.spring.autoWire oqh@(<%
Whether Spring should autoWire or not Uaux0W
是否自动绑定Spring ]U'zy+
s?m_zJh
struts.objectFactory.spring.useClassCache C4ktCN
Whether Spring should use its class cache or not qonStIP
是否spring应该使用自身的cache uwI"V|g%a&
6c(b*o
struts.objectTypeDeterminer *rw6?u9I
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class LlgFQfu8
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 . G25D
w=!xTA
struts.serve.static.browserCache m?yztm~u
If static content served by the Struts filter should set browser caching header properties or not --"5yGOL
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [^}bc-9?i
8$]SvfX
struts.serve.static _u6NaB
Whether the Struts filter should serve static content or not Q%q;=a
是否struts过滤器应该提供静态内容 hG~.Sc:G
-a>CF^tH
struts.tag.altSyntax :}fA98S
Whether to use the alterative syntax for the tags or not (D?4*9=
是否可以用替代的语法替代tags }z/%b<o_
hNYO+LrI)
struts.ui.templateDir zQ,M795@EA
The directory containing UI templates I>l^lv&[+
UI templates的目录夹 Lz_.m
q%q+2P>
struts.ui.theme g}Lm;gs!>
The default UI template theme r
^*D8
默认的UI template主题 2^`k6V!
_ ~yd
struts.url.http.port EX!`Zejf
The HTTP port used by Struts URLs xbw;s}B
设置http端口 u@:[ dbJ
XaE*$:
struts.url.https.port Z-4/xi7
The HTTPS port used by Struts URLs Q6URaw#Yt`
设置https端口 )i.pE]!+
w{ _g"X
struts.url.includeParams qTbc?S46pt
The default includeParams method to generate Struts URLs A:y^9+Da
在url中产生 默认的includeParams j~.tyxOq#
'J0I$-QYk
0/|Ax-dK
struts.velocity.configfile -{Ar5) ?='
The Velocity configuration file path di+|` O
velocity配置文件路径 98
NFJ
4Ng:7C2
struts.velocity.contexts ^+d]'$
List of Velocity context names tUOY`]0
velocity的context列表 Crj7n/mp]s
3:#6/@wQ
C .B=E"e
struts.velocity.manager.classname *fj]L?,
org.apache.struts2.views.velocity.VelocityManager implementation class F/LMk8RgR
org.apache.struts2.views.velocity.VelocityManager接口名 fyT|xI`iD
tcl9:2/^]
struts.velocity.toolboxlocation nTtEv~a_n
The location of the Velocity toolbox qgfP6W$
velocity工具盒的位置 j$lf>.[I
struts.xslt.nocache ,gG RCp
Whether or not XSLT templates should not be cached ! N!pvK;
是否XSLT模版应该被缓存 ':tdb$h