struts2的struts.properties配置文件详解 JYMiLph<
@bi}W`
struts.action.extension :,3C 0T3r
The URL extension to use to determine if the request is meant for a Struts action =-0/k;^
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )%`c_FL@N=
&DS/v)]
struts.configuration g&^quZ"H
The org.apache.struts2.config.Configuration implementation class +G$4pt|=
org.apache.struts2.config.Configuration接口名 >f|||H}Snw
P9/q|>F
struts.configuration.files `}D,5^9]
A list of configuration files automatically loaded by Struts kI,yU}<Fq
struts自动加载的一个配置文件列表 ]Oe2JfJwx
[T|aw1SoN
struts.configuration.xml.reload t=BUN
Whether to reload the XML configuration or not 0%32=k7O[
是否加载xml配置(true,false) /,BD#|
zUt'QH7E.
struts.continuations.package EB0TTJR?#
The package containing actions that use Rife continuations AgWa{.`f:
含有actions的完整连续的package名称 _F4Ii-6
Wjo[ENHM
struts.custom.i18n.resources vt/x
,Y
Location of additional localization properties files to load cb@?}(aFl
加载附加的国际化属性文件(不包含.properties后缀) C1V|0hu
6`&a&%,O
struts.custom.properties ML}J\7R
Location of additional configuration properties files to load pf]xqhL
加载附加的配置文件的位置 ]l;o}+`G
m~w[~flgZ
%h hfU6[
struts.devMode O;+ maY^l
Whether Struts is in development mode or not NyaQI<5D
是否为struts开发模式 n"h`5p5'
]>W6
bTK
struts.dispatcher.parametersWorkaround C+*d8_L
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic B~?*?Z'
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) kS %Ydy#:'
6{@w="VT
struts.enable.DynamicMethodInvocation k6;?)~.
Allows one to disable dynamic method invocation from the URL aH yx_B
允许动态方法调用 Hf%@3X
k)i3
struts.freemarker.manager.classname W6^5YH%
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class jqz ux[6{
org.apache.struts2.views.freemarker.FreemarkerManager接口名 pD8+ 4;A
L,HhbTRca
struts.i18n.encoding `A,-@`p
The encoding to use for localization messages #{6{TFx\
国际化信息内码 l?\jB\,
pg6cF
struts.i18n.reload Z@yW bjE7Z
Whether the localization messages should automatically be reloaded 3>3 Kwc~E
是否国际化信息自动加载 D+#E-8
*-#&K\
struts.locale Ij 79~pn
The default locale for the Struts application rExnxQ<e
默认的国际化地区信息 -fM1nH&
2ElJbN#
struts.mapper.class ~b(i&DVK
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @tF\p
org.apache.struts2.dispatcher.mapper.ActionMapper接口 \|n-
O=}=2
gGR"Z]DBk
struts.multipart.maxSize EHSlK5bD,
The maximize size of a multipart request (file upload) OP;v bZ
multipart请求信息的最大尺寸(文件上传用) _Mi5g_
j9m_jv
struts.multipart.parser q'+)t7!
The org.apache.struts2.dispatcher.multipart. 7( #:GD
MultiPartRequest parser implementation for a multipart request (file upload) T*I{WW
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ]q\b,)4
e
4aug{}h("
N'F77
.
struts.multipart.saveDir gBd]B03
The directory to use for storing uploaded files *tGY6=7O
设置存储上传文件的目录夹
52Yq
#`~C)=-
struts.objectFactory +<'Ev~
The com.opensymphony.xwork2.ObjectFactory implementation class -TLlwxc^%
com.opensymphony.xwork2.ObjectFactory接口(spring) I"xo*}
BIH-"vTy
struts.objectFactory.spring.autoWire O6@j &*jS
Whether Spring should autoWire or not HUcq%.
是否自动绑定Spring 6 [k\@&V-
J f@H/luW
struts.objectFactory.spring.useClassCache n#mA/H;wV
Whether Spring should use its class cache or not =WyDp97@+
是否spring应该使用自身的cache %Wg'i!?cB
H!c@klD
struts.objectTypeDeterminer u+dLaVlLJ
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class } FE>|1
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 k3~}7]O)
b jy Zk_\
struts.serve.static.browserCache GL&y@6
If static content served by the Struts filter should set browser caching header properties or not K:J3Z5"
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 QZ!Y2Bz(4
6=kEyJT'
struts.serve.static L]yS[UN$
Whether the Struts filter should serve static content or not {GvJZ!,RCg
是否struts过滤器应该提供静态内容 SfA\}@3
\S_Ou
struts.tag.altSyntax G3txj
Whether to use the alterative syntax for the tags or not }#3V+X
是否可以用替代的语法替代tags B)$| vK=
y@1+I~@
struts.ui.templateDir >d@&2F TO
The directory containing UI templates uMUBh 80,L
UI templates的目录夹 9X[kEl
u\a#{G;Z
struts.ui.theme GXcJ< v
The default UI template theme eJ,/:=QQ{
默认的UI template主题 r=Gks=NX"
oL-]3TY~
struts.url.http.port Y=%tn8<
The HTTP port used by Struts URLs MvuQz7M#d
设置http端口 % BVs47g
Y$o<6[7
struts.url.https.port
z__EYh
The HTTPS port used by Struts URLs 4Xgg%@C
设置https端口 >1s*
at/h
>/{@C
struts.url.includeParams 9K.Vb1&
The default includeParams method to generate Struts URLs 1Vsz4P"O $
在url中产生 默认的includeParams A_V]yP
]E7F/O/.
,k.3|aZE
struts.velocity.configfile B{/R: Hm
The Velocity configuration file path 8Pfb~&X^Ws
velocity配置文件路径 Y5f1lUT
Q}`0W[a
~
struts.velocity.contexts @>u}eB>Kn
List of Velocity context names ,NOsFO-`<
velocity的context列表 ~Io7]
j_/>A=OD
*lYVY)L
struts.velocity.manager.classname -^K"ZP1
org.apache.struts2.views.velocity.VelocityManager implementation class =MSr/ O2
org.apache.struts2.views.velocity.VelocityManager接口名 z-BXd
$:BKzHmg
struts.velocity.toolboxlocation l~1Oef#y
The location of the Velocity toolbox &]g}u5J!=
velocity工具盒的位置 -O1>|y2rU
struts.xslt.nocache au N6prGe
Whether or not XSLT templates should not be cached ,bXe<L)
是否XSLT模版应该被缓存 }bs+-K