struts2的struts.properties配置文件详解 ^i:B+
rl
;,]P=Ey
struts.action.extension Qqlup
The URL extension to use to determine if the request is meant for a Struts action ":_vK}5
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2=_gf
f47M#UC
struts.configuration zhf.NCSt(
The org.apache.struts2.config.Configuration implementation class O eL}EVs8=
org.apache.struts2.config.Configuration接口名 Bm]8m=p
wg w(YU
struts.configuration.files 'R_g">B.
A list of configuration files automatically loaded by Struts 4Fm90O
struts自动加载的一个配置文件列表 NB<A>baL*
2+X\}s1vN
struts.configuration.xml.reload *E{2J:`
Whether to reload the XML configuration or not \_B[{e7z
是否加载xml配置(true,false) %RDI!e<e}
Qca&E`~Q
struts.continuations.package x.q+uU$^
The package containing actions that use Rife continuations )&!&AlLn
含有actions的完整连续的package名称 :kGU,>BN
;amXY@RmH
struts.custom.i18n.resources N$[{8yil^w
Location of additional localization properties files to load A,4fEmWM
加载附加的国际化属性文件(不包含.properties后缀) ){UcS/GI=
&-;5*
lg)0
struts.custom.properties ttu&@
=
Location of additional configuration properties files to load 0'IBN}
加载附加的配置文件的位置 73){K?R
v;)..X30
@9"J|}
struts.devMode y:6; LZ9[
Whether Struts is in development mode or not _8E/)M
是否为struts开发模式 &%-73nYw
N ,z6y5Lu
struts.dispatcher.parametersWorkaround >vA2A1WhW
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic G.UI|r/Kz
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) gg8Uo G
ghRVso(
struts.enable.DynamicMethodInvocation F>rH^F
Allows one to disable dynamic method invocation from the URL e2A-;4?_
允许动态方法调用 ,2W8=ON
/3{b%0Aa
struts.freemarker.manager.classname hvaSH69*m
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5;HH4?]p
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Gy(=706
87YyDWTn
struts.i18n.encoding /gG"v5]
The encoding to use for localization messages )-._FOZ6
国际化信息内码 =&:Y6XP
Ywwu0.H<
struts.i18n.reload v;ZA4c
Whether the localization messages should automatically be reloaded wH@Ns~[MA
是否国际化信息自动加载 :eCU/BC4
&c,kQo+pA
struts.locale VzVc37Z>6
The default locale for the Struts application b1($R[
默认的国际化地区信息 7"C$pm6
=y!$/(H
struts.mapper.class g
pOC`=
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ){b@}13cF
org.apache.struts2.dispatcher.mapper.ActionMapper接口 HZ:6zH
g?ULWeZg5
struts.multipart.maxSize &oX>*6L
The maximize size of a multipart request (file upload) ^cuc.g)c$?
multipart请求信息的最大尺寸(文件上传用) d}4Y(
ZEx}$<)_
struts.multipart.parser Ll4g[8
The org.apache.struts2.dispatcher.multipart. <q@a~'Ai?!
MultiPartRequest parser implementation for a multipart request (file upload) sL$:"=
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )<tI!I][j
S@/IQR
a5TioQ
struts.multipart.saveDir ~5oPpTAe
The directory to use for storing uploaded files G2T|RT$_K
设置存储上传文件的目录夹 \vO,Ee~#W
5yz(>EVH
struts.objectFactory ;N?]eM}yf
The com.opensymphony.xwork2.ObjectFactory implementation class RtM8yar+sn
com.opensymphony.xwork2.ObjectFactory接口(spring) Ug<#en
(:>,u*x%
struts.objectFactory.spring.autoWire Bn &Ws
Whether Spring should autoWire or not q1KZ5G)6GJ
是否自动绑定Spring 736Jq^T
k5kxQhPf
struts.objectFactory.spring.useClassCache |0f>aZ
Whether Spring should use its class cache or not r<d_[?1N
是否spring应该使用自身的cache jIyB
mUikA9u5=
struts.objectTypeDeterminer "LlfOKG
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /PSd9N*=y
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }|8_9Rx0*
I<6P;
struts.serve.static.browserCache ~G6Ox)/
If static content served by the Struts filter should set browser caching header properties or not Vo'T!e- B
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2|*JSU.I
z\%67C
struts.serve.static GVYkJ0,
Whether the Struts filter should serve static content or not Yz+ZY
是否struts过滤器应该提供静态内容 rr02pM0
M,\:<kNI
struts.tag.altSyntax
x5-}h*
Whether to use the alterative syntax for the tags or not S;286[oq@
是否可以用替代的语法替代tags =h5H~G5AT
]z/8KL
struts.ui.templateDir oV|4V:G q
The directory containing UI templates \6 Zr
UI templates的目录夹 [rV>57`YD
-^hWM}F
struts.ui.theme EZ`te0[
The default UI template theme Oagsoik
默认的UI template主题 =V-|#j
TI,&!E?;
struts.url.http.port FwkuC09tI
The HTTP port used by Struts URLs HOJs[mqB%
设置http端口 `3WFjU5a
P"8~$ P#
struts.url.https.port kr9*,E9cv
The HTTPS port used by Struts URLs _8F`cuyW
设置https端口 q%"VYt4
st:`y=F_
struts.url.includeParams os:A]
The default includeParams method to generate Struts URLs S p;G'*g
在url中产生 默认的includeParams Vg>dI&O
ic#`N0s?
VKG&Y_7N
struts.velocity.configfile 8h*Icf
The Velocity configuration file path 'R'*kxf
velocity配置文件路径 V8C:"UZ;
pUQ/03dp
struts.velocity.contexts p;3O#n-_
List of Velocity context names %,@e^3B
velocity的context列表 zkuU5O
eo?;`7
o.!~8mD
struts.velocity.manager.classname 'mFqEn
org.apache.struts2.views.velocity.VelocityManager implementation class ?IqQ-C)6D
org.apache.struts2.views.velocity.VelocityManager接口名 OuID%p"O
ogHCt{'
struts.velocity.toolboxlocation fPR1f~r
The location of the Velocity toolbox `tA"
}1;ka
velocity工具盒的位置 ~5%W:qwQ
struts.xslt.nocache xqG[~)~
Whether or not XSLT templates should not be cached *U,@q4
是否XSLT模版应该被缓存 :*Z4yx