struts2的struts.properties配置文件详解 |%:qhs,
f>s#Ngvc
struts.action.extension 0{"dI;b%
The URL extension to use to determine if the request is meant for a Struts action } Jdh^t .
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 yRq8;@YGY
u]1-h6
struts.configuration AF*ni~
The org.apache.struts2.config.Configuration implementation class Lt;.Nw
org.apache.struts2.config.Configuration接口名 ~4=]%XYz
,<;l"v(
struts.configuration.files K4?t' dd]
A list of configuration files automatically loaded by Struts JO&;bT<
struts自动加载的一个配置文件列表 aR="5{en{:
,);=
(r9
struts.configuration.xml.reload , `[Z`SUk`
Whether to reload the XML configuration or not Qe @A5#
是否加载xml配置(true,false) =e-a&Ep-z
Ersr\ZB
struts.continuations.package u:AfHZ
The package containing actions that use Rife continuations D y`W5_xSz
含有actions的完整连续的package名称 B7Ki@)
]|C_`,ux
struts.custom.i18n.resources 5A2Y'ms,/
Location of additional localization properties files to load 0,1L e$)6
加载附加的国际化属性文件(不包含.properties后缀) D% v:PYf
PEX26==
struts.custom.properties _q$0lqq~u
Location of additional configuration properties files to load %2@ Tj}xa
加载附加的配置文件的位置 |z!q
r}i
Q
QsVIHA
wL8bs-
U
struts.devMode (1kn):
Whether Struts is in development mode or not 'uP'P#
是否为struts开发模式 (opROsFh
.KiPNTh'
struts.dispatcher.parametersWorkaround B%%.@[o,
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <?>I\
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ny!lja5[
SQdzEF
struts.enable.DynamicMethodInvocation z`86-Ov
Allows one to disable dynamic method invocation from the URL X\b}jo^96
允许动态方法调用 a<57(Sf
@MN}^umx`
struts.freemarker.manager.classname ;e#>n!<u
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *tTP8ZCQ[
org.apache.struts2.views.freemarker.FreemarkerManager接口名 `G"|MM>P
(B>yaM#5
struts.i18n.encoding p~Yy"Ec;p
The encoding to use for localization messages D+ah ok
国际化信息内码 Hl^aUp.c
P|unUW(P
struts.i18n.reload "xe7Dl
Whether the localization messages should automatically be reloaded 4cXAT9
是否国际化信息自动加载 b[J-ja.
Eonq'Re$
struts.locale %K&+~CJE
The default locale for the Struts application %mK3N2N$
默认的国际化地区信息 8~&F/C*
6pM"h5hA
struts.mapper.class lF;ziF
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class
Z #.GI
org.apache.struts2.dispatcher.mapper.ActionMapper接口 i#L6UKe:Q
_9Dn\=g
struts.multipart.maxSize .x)>f
The maximize size of a multipart request (file upload)
aNOAu/
multipart请求信息的最大尺寸(文件上传用) &K9VEMCEX
".~MmF
struts.multipart.parser 5z9r S<
The org.apache.struts2.dispatcher.multipart. T!m42EvIvE
MultiPartRequest parser implementation for a multipart request (file upload) $\0cJCQ3
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) jHkyF`<+
fap|SMGt
9l]UE0yTL/
struts.multipart.saveDir v?Z'[l
The directory to use for storing uploaded files i>ESEmb-
设置存储上传文件的目录夹 >VRo|o<D
g)=V#Bglv
struts.objectFactory 4'+d"Ok
The com.opensymphony.xwork2.ObjectFactory implementation class T4V[RN
com.opensymphony.xwork2.ObjectFactory接口(spring) 96.IuwL*.s
4 "pS
struts.objectFactory.spring.autoWire C$]5l;`
Whether Spring should autoWire or not U-Af7qO
是否自动绑定Spring #t"9TP
vqrBRlZ
struts.objectFactory.spring.useClassCache M*g2VyZ
Whether Spring should use its class cache or not $x;tSJ)m~
是否spring应该使用自身的cache Nf=C?`L
)x$!K[=
struts.objectTypeDeterminer ,3w I~j=
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #rhVzN-?)W
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2LCc
&M0o&C-1/
struts.serve.static.browserCache pd=7^"[};
If static content served by the Struts filter should set browser caching header properties or not N; rXl8
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 b*lKT]D,
S9OxI$6Y
struts.serve.static hVlyEsLg
Whether the Struts filter should serve static content or not &E.OyqGZV
是否struts过滤器应该提供静态内容 euRCBzc
/'-:=0a
struts.tag.altSyntax ::4"wU3t
Whether to use the alterative syntax for the tags or not K&j'c
是否可以用替代的语法替代tags z`\#$
@Djs[Cs<*
struts.ui.templateDir '9^E8+=|
The directory containing UI templates b cC\
UI templates的目录夹 "AT&!t[J
<$"7~i/X
struts.ui.theme lKf Mp1
The default UI template theme @)
默认的UI template主题 L=d$"Q
qv.[k<~a>
struts.url.http.port IJ hxE
The HTTP port used by Struts URLs MNkKy(Za
设置http端口 '"Bex`
V%i<;C
struts.url.https.port Zkw J.SuU
The HTTPS port used by Struts URLs B#J{ F
设置https端口 $`E4m8fX
uEBQoP2
struts.url.includeParams YavfjS:2
The default includeParams method to generate Struts URLs P1dN32H
o
在url中产生 默认的includeParams !?yxh/>lM
^%-NPo<
G=vN;e_$_b
struts.velocity.configfile g<M0|eX@~
The Velocity configuration file path eT;AAGql
velocity配置文件路径 1UC2zM"
6(:)otz
struts.velocity.contexts
*hV4[=
List of Velocity context names 1oB$MQoc
velocity的context列表 |p;4dL
fwRGT|":B
0rV/qMo;K
struts.velocity.manager.classname 2q+la|1Cr
org.apache.struts2.views.velocity.VelocityManager implementation class Q?Wr7
org.apache.struts2.views.velocity.VelocityManager接口名 ,Yo: &>As
x<8\-
struts.velocity.toolboxlocation t9ER;.e
The location of the Velocity toolbox >Ja0hS{*
velocity工具盒的位置 ggMUdlU
struts.xslt.nocache &Y 'z?N
Whether or not XSLT templates should not be cached AlUJ1^o)
是否XSLT模版应该被缓存 ri,2clp