struts2的struts.properties配置文件详解 -y]\;pbZ0
a@ `1 5O:
struts.action.extension f`'? 2
The URL extension to use to determine if the request is meant for a Struts action K=Z~$)Og)
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ULc oti=,
^$qr6+
struts.configuration z-fP#.
The org.apache.struts2.config.Configuration implementation class x*td
nor&
org.apache.struts2.config.Configuration接口名 z`UL)W
e3w4@V`
struts.configuration.files c:etJ
A list of configuration files automatically loaded by Struts KrE:ilm#^Y
struts自动加载的一个配置文件列表 K +n
2[f8"'lUQ
struts.configuration.xml.reload ?dMyhU}
Whether to reload the XML configuration or not taOD,}c|$
是否加载xml配置(true,false) *0zdI<Oe
*y[i~{7:
struts.continuations.package Jydz2
zt!
The package containing actions that use Rife continuations
FEj{/
含有actions的完整连续的package名称 H.|v^e
0[
MQp"z
struts.custom.i18n.resources ({ 'I;]AQ
Location of additional localization properties files to load i5wXT
加载附加的国际化属性文件(不包含.properties后缀) +U/+iI>0
%!%G\nv
struts.custom.properties 19-|.9m(
Location of additional configuration properties files to load ipU,.@~#
加载附加的配置文件的位置 rFJ(t7\9h
's]I:06A
l
H:Y8j
struts.devMode gi!{y
Whether Struts is in development mode or not WE\@ArY>
是否为struts开发模式 ?U'c;*O-
pN# \
struts.dispatcher.parametersWorkaround =4`#OQ&g
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S*;8z}5<\
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) lM
]n
&}}c>]m
struts.enable.DynamicMethodInvocation 1SIhW:C
Allows one to disable dynamic method invocation from the URL }T=0]u4,
允许动态方法调用 Zwj\Hz.
E>|[@Z
struts.freemarker.manager.classname S1oRMd)r
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class vi?{H*H4c
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~lO^C
Z)E[Bv=
struts.i18n.encoding 6 ,jp-`
The encoding to use for localization messages RbB
y8ZVM
国际化信息内码 Zp'c>ty=
;M{@|z[Nv
struts.i18n.reload j2O?]M
Whether the localization messages should automatically be reloaded ?EP>yCR9
是否国际化信息自动加载 BR\3ij
qr>:meJy4
struts.locale R'RLF
=
The default locale for the Struts application 3LXS}~&
默认的国际化地区信息 p)l >bC?3
zK.%tx}+=k
struts.mapper.class [/_M!&zz2
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class I*cB
Ha
org.apache.struts2.dispatcher.mapper.ActionMapper接口 %|mRib|<C
hE.NW
struts.multipart.maxSize i'Vrx(y3
The maximize size of a multipart request (file upload) \uxDMKy
multipart请求信息的最大尺寸(文件上传用) u&MlWKCi
3^p<Wx
struts.multipart.parser /C)mx#h]
The org.apache.struts2.dispatcher.multipart. ,<iJ#$:
Sx
MultiPartRequest parser implementation for a multipart request (file upload) !YD~o/t@|
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &"!s +_
ap|7./yg
Qw>ftle
struts.multipart.saveDir x3ds{Z$,>(
The directory to use for storing uploaded files GFM$1}
设置存储上传文件的目录夹 Gvg)@VNr
J9s4lsea
struts.objectFactory cp@(y$
The com.opensymphony.xwork2.ObjectFactory implementation class
L~F"
com.opensymphony.xwork2.ObjectFactory接口(spring) AgKG>%0
JMp>)*YS
struts.objectFactory.spring.autoWire ]|NwC<
Whether Spring should autoWire or not ho*44=j
是否自动绑定Spring AKWM7fI
e}|UVoeH
struts.objectFactory.spring.useClassCache 2c?-_OCy;
Whether Spring should use its class cache or not s7j#Yg
是否spring应该使用自身的cache aju!A q54G
Rou$`<{H
struts.objectTypeDeterminer EOqvu=$6
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8r"$o1!
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6J/"1_
.hI3Uv8[
struts.serve.static.browserCache z?o16o-:
If static content served by the Struts filter should set browser caching header properties or not 1rs`|iX5
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 nNb Oq[
?^TjG)e7
struts.serve.static 7WZ).,qxY
Whether the Struts filter should serve static content or not IIC1T{D}v
是否struts过滤器应该提供静态内容 lwS6"2q
&Xr@nt0H
struts.tag.altSyntax :e9}k5kdk
Whether to use the alterative syntax for the tags or not fq^D<c{3
是否可以用替代的语法替代tags nXjf,J-T
&?~OV:r9
struts.ui.templateDir *>otz5]
The directory containing UI templates xw?Mc{w
UI templates的目录夹 __x2xtrH
q,b6).
struts.ui.theme z}I4m
The default UI template theme e[txJ*SuO
默认的UI template主题 x!6&)T?!n
U@#YKv
struts.url.http.port H.\gLIr
The HTTP port used by Struts URLs l2>ka~
设置http端口 kpc3l[.A
Af8&PhyrU
struts.url.https.port G$X+g{
The HTTPS port used by Struts URLs 7:fC,2+
设置https端口 0bY}<x(;
sTu6KMn
struts.url.includeParams `
VL`8
The default includeParams method to generate Struts URLs +eiM6* /0
在url中产生 默认的includeParams wps`2`z
PnB%vS
|&JCf=
struts.velocity.configfile 88 fH!6b
The Velocity configuration file path T /iKz
velocity配置文件路径 Yh`P+L
p-]vf$u
struts.velocity.contexts y*ae 5=6(
List of Velocity context names LKtug>Me
velocity的context列表 ~udi=J|
b"U{@
25xpq^Zw
struts.velocity.manager.classname eKdF-;
org.apache.struts2.views.velocity.VelocityManager implementation class i:ar{ q
org.apache.struts2.views.velocity.VelocityManager接口名 :W'Yt9v)
XA8{N
struts.velocity.toolboxlocation X+l&MD
The location of the Velocity toolbox $JKR,
velocity工具盒的位置 .~#<>
struts.xslt.nocache rLMjN#`^
Whether or not XSLT templates should not be cached H{*~d+:ol
是否XSLT模版应该被缓存 p4m9@\gn