struts2的struts.properties配置文件详解 |^\Hv5
hu`Lv
struts.action.extension aslNlH 6
The URL extension to use to determine if the request is meant for a Struts action _g^E%@'W
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Rs^jk)Z:)
"o~N42DLB%
struts.configuration D'Jm!Ap
The org.apache.struts2.config.Configuration implementation class `8qT['`#R
org.apache.struts2.config.Configuration接口名 20S9/9ll
D;K&
struts.configuration.files Bl:{p>-q
A list of configuration files automatically loaded by Struts Nt?2USTs-
struts自动加载的一个配置文件列表 'bbV<?):
nDwq!LEx%5
struts.configuration.xml.reload ,Uv{dG
Whether to reload the XML configuration or not {EZFx,@t
是否加载xml配置(true,false) {A!;W
CAA tco5
struts.continuations.package 6eW1<p
The package containing actions that use Rife continuations 7Q<Kha
含有actions的完整连续的package名称 ]wJ}-#Kx
ZJ)3GF}4
struts.custom.i18n.resources wCTcGsw W
Location of additional localization properties files to load )<m=YI
;<
加载附加的国际化属性文件(不包含.properties后缀) ~t1O]aO(
{IF}d*:
struts.custom.properties ~Tpe,juG_
Location of additional configuration properties files to load n$}R/*
加载附加的配置文件的位置 u)N2
;Hz`0V
sj?`7kg
struts.devMode A8CIP:Z
Whether Struts is in development mode or not >;T$#LZ
是否为struts开发模式 "P>$=X~Zi
1oXz[V
struts.dispatcher.parametersWorkaround Ew)n~!s
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &/z+A{Hi
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 401/33yBJ
60.[t9pk6
struts.enable.DynamicMethodInvocation Y#Sd2h,^X
Allows one to disable dynamic method invocation from the URL .rD#1)O
允许动态方法调用 q!ulE{ ^
-k|g04Q?
struts.freemarker.manager.classname FkB6*dm-
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class G
"c&C
org.apache.struts2.views.freemarker.FreemarkerManager接口名 )Gu0i7iN
FB?q/ _
struts.i18n.encoding Q>06dO~z8
The encoding to use for localization messages E.En$'BvB
国际化信息内码
Q 37V!
ySPlyhGF
struts.i18n.reload _>Pe]3
Whether the localization messages should automatically be reloaded c,{&
是否国际化信息自动加载 sM);gI14
+aXMH T"U
struts.locale wz|Q%.%?[
The default locale for the Struts application =DQd PA\K
默认的国际化地区信息 ly[\mGr
wh7i
G8jCz
struts.mapper.class YFC0KU
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class k *zc5ev}
org.apache.struts2.dispatcher.mapper.ActionMapper接口 >F
LdI
5 O{Ip-
struts.multipart.maxSize { c6DT
The maximize size of a multipart request (file upload) troy^H
multipart请求信息的最大尺寸(文件上传用) >qh>Qm8w
[1QkcR
struts.multipart.parser "`8H:y
The org.apache.struts2.dispatcher.multipart. CIxVR
MultiPartRequest parser implementation for a multipart request (file upload) DLg `Q0`M5
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ot4; ,UZ
uHujw.H/y
a3(7{,Ew
struts.multipart.saveDir "`V"2zZlj
The directory to use for storing uploaded files ^bY^x+d
设置存储上传文件的目录夹 K"t:B
eKU@>5
struts.objectFactory ,/[dmoe
The com.opensymphony.xwork2.ObjectFactory implementation class l{D,O?`Av
com.opensymphony.xwork2.ObjectFactory接口(spring) G*{ u(x(
f"Vm'0r
struts.objectFactory.spring.autoWire b@Mng6R
Whether Spring should autoWire or not zd*W5~xKg
是否自动绑定Spring Fh3Dc 83~
f6aT[Nw<
struts.objectFactory.spring.useClassCache 56j/w[&8
Whether Spring should use its class cache or not OJC*|kN-#^
是否spring应该使用自身的cache E-7a`S
D,m&^P=%e
struts.objectTypeDeterminer X<@y*?D9D
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class cr=FMfhB
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 )sz2 9
66Cj=n5
struts.serve.static.browserCache VK@i#/jm
If static content served by the Struts filter should set browser caching header properties or not 3gfV0C\
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }GU6Q|s[u[
sQ3ayB`
struts.serve.static S:B-nI
Whether the Struts filter should serve static content or not ngH~4HyT
是否struts过滤器应该提供静态内容 c?3F9w#
ck4T#g;=
struts.tag.altSyntax uq#h\p|
Whether to use the alterative syntax for the tags or not K:lT-*+S
是否可以用替代的语法替代tags vY+_tpuEH
QVZ6;/
struts.ui.templateDir [(.T%kJ
The directory containing UI templates xhVq
UI templates的目录夹 JQvQm|\nc
KWuj_.;
struts.ui.theme xa%ktn
The default UI template theme 88+\mX;A#
默认的UI template主题 4-?`#
;^H+
|&$>
struts.url.http.port QWQ6j#`
The HTTP port used by Struts URLs X0r#,u
设置http端口 lLwQridFXh
\`iW__
struts.url.https.port 4|o{_g[
The HTTPS port used by Struts URLs aR(Z~z;C
设置https端口 q0KXuMK
]mLTF',5
struts.url.includeParams ePcI^}{
The default includeParams method to generate Struts URLs }FdcbNsP
在url中产生 默认的includeParams p6k'Q
;0_J7
~ dI&> CL
struts.velocity.configfile pl^"1Z=*
The Velocity configuration file path uD*s^
velocity配置文件路径 rsIPI69qJ.
d_?Zr`:
struts.velocity.contexts }rAN2D]"}
List of Velocity context names ,+5VeRyrV
velocity的context列表 Z?j='/u>@
R.WsC bU
:
1f 5;]%N
struts.velocity.manager.classname :tS>D5dz(
org.apache.struts2.views.velocity.VelocityManager implementation class ?}>Z_ ("
org.apache.struts2.views.velocity.VelocityManager接口名 Z=5}17kA
a.*j8T
struts.velocity.toolboxlocation hZ /
The location of the Velocity toolbox )k%drdY{J'
velocity工具盒的位置 y2hFUq
struts.xslt.nocache ^1&
LHrT
Whether or not XSLT templates should not be cached r+.4|u
是否XSLT模版应该被缓存 `0WA!(W