struts2的struts.properties配置文件详解 lUiO |
uN0'n}c;1.
struts.action.extension \}Kad\)
The URL extension to use to determine if the request is meant for a Struts action +A%zFF3
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 I]B9+Z?xo
_k5$.f:Yj<
struts.configuration iig&O(,
The org.apache.struts2.config.Configuration implementation class
dBHki*.u
org.apache.struts2.config.Configuration接口名 wKJK!P
fN
1:'d
struts.configuration.files 9Dyw4'W.N
A list of configuration files automatically loaded by Struts NM1TFs2Y*
struts自动加载的一个配置文件列表 V3_qqz}`r
oTA'=<W?D
struts.configuration.xml.reload lEpPi@2PK
Whether to reload the XML configuration or not 17VNw/Y
是否加载xml配置(true,false) `Mo%)I<`=
G~NhBA9
struts.continuations.package Xg;q\GS/<i
The package containing actions that use Rife continuations xG(:O@
含有actions的完整连续的package名称 II.Wa&w}
{9hhfI#3_
struts.custom.i18n.resources O>ZJOKe
Location of additional localization properties files to load &<hk&B
加载附加的国际化属性文件(不包含.properties后缀) hG3RZN#ejq
<4;f?eu
struts.custom.properties `U;V-
Location of additional configuration properties files to load ]xhH:kW4
加载附加的配置文件的位置 2Mu(GUe;
d_98%U+u
vf`]
struts.devMode DE?@8k
Whether Struts is in development mode or not =OR&,xt
是否为struts开发模式 x_EU.924uY
^Cg@'R9
struts.dispatcher.parametersWorkaround 94XRf"^
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic E}]SGU"
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) qche7kg!a
tI2p-d9B
struts.enable.DynamicMethodInvocation 73M;-qnU
Allows one to disable dynamic method invocation from the URL <pUc(
tPoz
允许动态方法调用 j MA%`*r
_[
`"E'
struts.freemarker.manager.classname 98WJ"f_ #
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !v 3wl0
org.apache.struts2.views.freemarker.FreemarkerManager接口名 4 W+ nSv
gwYTOs^
struts.i18n.encoding g:"Hg-s
The encoding to use for localization messages /zV0kW>N
国际化信息内码 *tT5Zt/&Sr
St1>J.k_
struts.i18n.reload c{f1_qXN
Whether the localization messages should automatically be reloaded 8\Eq(o}7
是否国际化信息自动加载 7M9s}b%?
3*b!]^d:D
struts.locale &S#bLE
The default locale for the Struts application ~K|o@LK
默认的国际化地区信息 %P]-wBJw
QLTE`t5w3'
struts.mapper.class g? \pH:|79
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class NO)vk+
org.apache.struts2.dispatcher.mapper.ActionMapper接口 fGLOXbsA
.{]=v
struts.multipart.maxSize [g*]u3s
The maximize size of a multipart request (file upload) u"a$/
multipart请求信息的最大尺寸(文件上传用) bRAf!<3
NPR{g!tK%
struts.multipart.parser !!t@H\
The org.apache.struts2.dispatcher.multipart.
]cI(||x
MultiPartRequest parser implementation for a multipart request (file upload) ]%%cc
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [ \Aor[(
Z8Clm:S
AwL;-|X
struts.multipart.saveDir 3!B3C(g
The directory to use for storing uploaded files HjN )~<j
设置存储上传文件的目录夹 6_a.`ehtj<
2!Ex55
struts.objectFactory zphStiwIQ
The com.opensymphony.xwork2.ObjectFactory implementation class ~9ILN~91
com.opensymphony.xwork2.ObjectFactory接口(spring) v6?<)M%
,K[B/tD{j
struts.objectFactory.spring.autoWire }~5xlg$B<<
Whether Spring should autoWire or not K#{E87G(
是否自动绑定Spring ? 5
V-D8k
%25_
struts.objectFactory.spring.useClassCache ) uyh
Whether Spring should use its class cache or not Ljxn}):[
是否spring应该使用自身的cache Sq==)$G
[G|2m_
struts.objectTypeDeterminer IN]bAd8"
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class j|WaWnl=
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 P6 G/J-
Qs{Qg<}
struts.serve.static.browserCache ]R{=|
If static content served by the Struts filter should set browser caching header properties or not E]Hl&t/}
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 zR3Z(^]v
ss3fq}
struts.serve.static wh:`4Yw
Whether the Struts filter should serve static content or not `\P :rn95;
是否struts过滤器应该提供静态内容 Y<.F/iaH
D 2Go,1
struts.tag.altSyntax _>:g&pS/
Whether to use the alterative syntax for the tags or not ?8C+wW
是否可以用替代的语法替代tags M !OI :v
bvR*sT#rg
struts.ui.templateDir $Y0bjS2J
The directory containing UI templates .< vg[
UI templates的目录夹 7\U1K^q
*id|za|:k
struts.ui.theme {UZli[W1
The default UI template theme (^Do#3
默认的UI template主题 iVu+ct-iv
NI s4v(!
struts.url.http.port MgMLfgt"V
The HTTP port used by Struts URLs 7<^D7
设置http端口 KwQO,($,]
)SUN+YV^
struts.url.https.port Q84KU8?d
The HTTPS port used by Struts URLs M7Hk54U+t
设置https端口 W\<#`0tUt
O x$|ZEh
struts.url.includeParams =3SL&
:8
The default includeParams method to generate Struts URLs Z#o\9/{(R
在url中产生 默认的includeParams 3Ob"r`
-;`W"&`ss
4+k:j=x
struts.velocity.configfile '7*=m^pc
The Velocity configuration file path UXk8nH
velocity配置文件路径 RLHe;-*b]I
IfXLnD^||
struts.velocity.contexts fp![Pbms.
List of Velocity context names dju&Ku
velocity的context列表 >;3c;nf
4QZy-a*tA
hy )RV=X
struts.velocity.manager.classname xf]4!zE
org.apache.struts2.views.velocity.VelocityManager implementation class ia_8$>xW+
org.apache.struts2.views.velocity.VelocityManager接口名 VYAe!{[
Xp?Z;$r$
struts.velocity.toolboxlocation a@jP^VVk
The location of the Velocity toolbox VD3[ko
velocity工具盒的位置 T&23Pf 1
struts.xslt.nocache $^0YK|F
Whether or not XSLT templates should not be cached Csc2 yI%3
是否XSLT模版应该被缓存 : }IS=A