struts2的struts.properties配置文件详解 8y5iT?.~vy
-z9-f\
struts.action.extension 4hb<EH'_&
The URL extension to use to determine if the request is meant for a Struts action _Gv[ D
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 I;]Q}SUsm
S3rN]!B+
struts.configuration <RfPd+</
The org.apache.struts2.config.Configuration implementation class }=CL/JHz
org.apache.struts2.config.Configuration接口名 <QoSq'g#,=
og<mFbqkq7
struts.configuration.files AvF:$kG
A list of configuration files automatically loaded by Struts M}|<#
i7u
struts自动加载的一个配置文件列表 L P?E
.'QE o
struts.configuration.xml.reload :feU
Whether to reload the XML configuration or not XLe8]y=
是否加载xml配置(true,false) ##~";j
Fdsaf[3[v
struts.continuations.package AsyJDt'i
The package containing actions that use Rife continuations B@Acm
含有actions的完整连续的package名称 RN(>37B3_
TxL;qZRY
^
struts.custom.i18n.resources CPssk,q~C
Location of additional localization properties files to load }!=}g|z#|
加载附加的国际化属性文件(不包含.properties后缀) R0dIxG%
q 65mR!)
struts.custom.properties "L'0"
Location of additional configuration properties files to load \ 8v{9Yb
加载附加的配置文件的位置 &VG|*&M
0Q^ -d+!
dLb9p"EE#
struts.devMode \mRRx#-r%
Whether Struts is in development mode or not n]$50_@
是否为struts开发模式 7#K%Bo2pG
T=6fZ;7
struts.dispatcher.parametersWorkaround =\;yxl
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Q@B--Omfh
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9aYDi)
s ~'><ioh
struts.enable.DynamicMethodInvocation jb~2f2vUa
Allows one to disable dynamic method invocation from the URL TX7B (JZD
允许动态方法调用 5ve4 u
U40adP? a
struts.freemarker.manager.classname Jj=0{(X
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [C)JI; \
org.apache.struts2.views.freemarker.FreemarkerManager接口名 KLqn`m`O;
6q^Tq {I
struts.i18n.encoding %Z|]"=;6
The encoding to use for localization messages . C_\xb
国际化信息内码
X$:r
WVaIC $Y
struts.i18n.reload Sn 3@+9J
Whether the localization messages should automatically be reloaded b'\a
4
是否国际化信息自动加载 /">A3bq
6")co9
struts.locale q:A{@kFq_
The default locale for the Struts application e!cZW.B=`f
默认的国际化地区信息 72oiO[>N'
OnGtIY
struts.mapper.class f( (p\&y
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 8SmtEV[b3
org.apache.struts2.dispatcher.mapper.ActionMapper接口 tEEeek(!
99Jk<x
k
struts.multipart.maxSize a o_A%?Ld
The maximize size of a multipart request (file upload) lLD-QO}/
multipart请求信息的最大尺寸(文件上传用) '^Kmfc
uM3F[p%V^
struts.multipart.parser -cW`qWbd
The org.apache.struts2.dispatcher.multipart. xs jJ8>G
MultiPartRequest parser implementation for a multipart request (file upload) .O9A[s<
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) >
"G HLi
Wl3jbupu _
ISo{>@a-
struts.multipart.saveDir _y~H#r9:
The directory to use for storing uploaded files .eQIU$Kw!O
设置存储上传文件的目录夹 WH Zz?|^
0fc]RkHs"
struts.objectFactory yxfV|ox
The com.opensymphony.xwork2.ObjectFactory implementation class -
zaqL\
com.opensymphony.xwork2.ObjectFactory接口(spring) E8]PV,#xY
2q2;Uo`"S.
struts.objectFactory.spring.autoWire x!rHkuH~
Whether Spring should autoWire or not s^nPSY!
是否自动绑定Spring ni @Mqb
=\v./Q-
struts.objectFactory.spring.useClassCache [H#*#v
Whether Spring should use its class cache or not 7/c[ f
是否spring应该使用自身的cache 4{2)ZI#
). +!/x
struts.objectTypeDeterminer JI1O(
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class QW~-+BD
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 9:tvkl
n ,<`.^
struts.serve.static.browserCache *h ~Y=#`8*
If static content served by the Struts filter should set browser caching header properties or not VKa-
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,,+ ~./)
}hT1@I
struts.serve.static z!09vDB^
Whether the Struts filter should serve static content or not TF %8pIg>Z
是否struts过滤器应该提供静态内容 :UuPy|>
#L\t)W
struts.tag.altSyntax rVLUT
Whether to use the alterative syntax for the tags or not s(yV E
是否可以用替代的语法替代tags 5gpqN)|)[
yKR0]6ahA
struts.ui.templateDir ;9cBlthh
The directory containing UI templates u*R9x3&/5
UI templates的目录夹 t(SSrM]
;d17xu?ks
struts.ui.theme t
>89(
k
The default UI template theme 1c=Roiq
默认的UI template主题 7h?yAgDv~
p{:r4!*L
struts.url.http.port U].u) g$
The HTTP port used by Struts URLs j[/'`1tOe
设置http端口 m.~&n!1W*`
$mA+4ISK
struts.url.https.port B7Um G)C
The HTTPS port used by Struts URLs hv xvwV1
设置https端口 z~d\d!u1
)r
O`K
struts.url.includeParams F\.n42Tz
The default includeParams method to generate Struts URLs nU"V@_?\
在url中产生 默认的includeParams ailje
dvUBuY^[
0`X%&
struts.velocity.configfile $q}}w||e~0
The Velocity configuration file path x/$s:[0B#
velocity配置文件路径 Y=3:Q%X
\6B,\l]$t@
struts.velocity.contexts e=t?mDh#E
List of Velocity context names C~M~2@Iori
velocity的context列表 uNLB3Rdy}
[c?']<f4
S3"js4a
struts.velocity.manager.classname M%7H-^{
org.apache.struts2.views.velocity.VelocityManager implementation class g0.D36
org.apache.struts2.views.velocity.VelocityManager接口名 t;+6>sTu
QjfQoT F
struts.velocity.toolboxlocation F<q3{}1zR
The location of the Velocity toolbox OwGl&
velocity工具盒的位置 t/cjz/]
struts.xslt.nocache (sw1HR
Whether or not XSLT templates should not be cached =+gp~RR,
是否XSLT模版应该被缓存 NF=FbvNe