struts2的struts.properties配置文件详解 ?~!9\dek,
4 Tw~4b
struts.action.extension >[;=c0(
The URL extension to use to determine if the request is meant for a Struts action $*T?}r>
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >P&1or)e%
1@Ju sS0^K
struts.configuration 8ZLHN',
The org.apache.struts2.config.Configuration implementation class xV
2C4K
org.apache.struts2.config.Configuration接口名 7D4tuXUq2
v^vi *c
struts.configuration.files 4d-(:
A list of configuration files automatically loaded by Struts KROD(
struts自动加载的一个配置文件列表 #<ST.f@*
C/'w
struts.configuration.xml.reload 44|tCB`
Whether to reload the XML configuration or not Y]](.\ff
是否加载xml配置(true,false) }a.j~>rq
zn7)>cQ905
struts.continuations.package HD/!J9&
The package containing actions that use Rife continuations %OHZOs
含有actions的完整连续的package名称 %.?V\l
4^M"V5tDx
struts.custom.i18n.resources :O$bsw:3w<
Location of additional localization properties files to load OZnKJ<
加载附加的国际化属性文件(不包含.properties后缀) W5=)B`v
w,$qsmR
struts.custom.properties U+@U/s%8
Location of additional configuration properties files to load k)|.<
加载附加的配置文件的位置 ;i'[c`
~!!|#A)W
|ns?c0rM
struts.devMode %W)pZN}
Whether Struts is in development mode or not $(Mz@#%
是否为struts开发模式 > pP&/
GNe^~
struts.dispatcher.parametersWorkaround Y)+q[MZ R
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +yHz7^6-5
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \Z&Nd;o
-THMTRFz
struts.enable.DynamicMethodInvocation 'A3skznX{
Allows one to disable dynamic method invocation from the URL fe,6YXUf
允许动态方法调用 =I)43ahd
~~ rR< re
struts.freemarker.manager.classname . R/y`:1:W
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class j)6p>6
org.apache.struts2.views.freemarker.FreemarkerManager接口名 yxo=eSOM
,^97Ks
;
struts.i18n.encoding 0FgF,
The encoding to use for localization messages %S}uCqcAK
国际化信息内码 6/Xs}[iJ
,3y9yJQa*#
struts.i18n.reload ]L7A$sTUQ
Whether the localization messages should automatically be reloaded 2R.LLE
是否国际化信息自动加载 _Uq' N0U
<.B+&3')
struts.locale ^}B,0yUu'
The default locale for the Struts application }$4z$&
默认的国际化地区信息 >[,eK=
v|o{AL:ei
struts.mapper.class ~~Ezt*lH
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ]MosiMJF
org.apache.struts2.dispatcher.mapper.ActionMapper接口 h0@a"DqK
%.<_+V#h
struts.multipart.maxSize W%-XN
The maximize size of a multipart request (file upload) U/QgO
multipart请求信息的最大尺寸(文件上传用) 4n@lrcq(
m(6d3P
struts.multipart.parser Es%f@$0uy
The org.apache.struts2.dispatcher.multipart. qul#)HI
MultiPartRequest parser implementation for a multipart request (file upload) .t5.(0Xk[A
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;54NQB3L
e12QYoh
k[;)/LfhS
struts.multipart.saveDir <\u3p3"[4
The directory to use for storing uploaded files ?YLq
iAA
设置存储上传文件的目录夹 D5D *$IC
r~j
[Qm"CJ
struts.objectFactory DylO;+
The com.opensymphony.xwork2.ObjectFactory implementation class C;N6",s!
com.opensymphony.xwork2.ObjectFactory接口(spring) YAOfuas]j
jk03 Hd
struts.objectFactory.spring.autoWire bj`\;_oo
Whether Spring should autoWire or not 2!Dz9m3
是否自动绑定Spring E,}{ iqAb
4JAz{aw'b
struts.objectFactory.spring.useClassCache . : Wf>:
Whether Spring should use its class cache or not
j)?M
是否spring应该使用自身的cache uK2HtRY1
{E:`
struts.objectTypeDeterminer 2Lf,~EV
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class D=TS IJ@
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 T8x)i\<
Og/aTR<;=
struts.serve.static.browserCache $`E?=L`$
If static content served by the Struts filter should set browser caching header properties or not %
/VCjuV
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &uK(. @
6*q1%rs:w
struts.serve.static Q=`yPK>{$N
Whether the Struts filter should serve static content or not ;7QXs39S
是否struts过滤器应该提供静态内容 Mh.1KI[t
8(L$a1#5W
struts.tag.altSyntax 25$_tZPAI
Whether to use the alterative syntax for the tags or not
X8$Mzeq
是否可以用替代的语法替代tags >u&D@7~c
.d]/:T
-0
struts.ui.templateDir P 0,]`w
The directory containing UI templates IR6W'vA
UI templates的目录夹 %8FfP5#
(Xh<F
struts.ui.theme Q&eyqk
The default UI template theme o utJ/~9;
默认的UI template主题 ?,>3uD#
F@i>l{C
struts.url.http.port 7__[=)(b2X
The HTTP port used by Struts URLs YsVmU
设置http端口 p%I'd^}.!
i6'=]f'{
struts.url.https.port GfE>?mG
The HTTPS port used by Struts URLs d:(Ex^^
设置https端口 _x,X0ncv]@
[iub}e0
struts.url.includeParams 5H0qMt P
The default includeParams method to generate Struts URLs g"m'
C6;
在url中产生 默认的includeParams fp' '+R[
}=[p>3Dd
nK1eh@a9Qv
struts.velocity.configfile 0K%okq|n
The Velocity configuration file path N PT-d
velocity配置文件路径 DM^0[3XuV5
tYu<(Z(l)
struts.velocity.contexts 'x*C#mt
List of Velocity context names bY" zK',m
velocity的context列表 xsZG(Tz
x77L"5g
2/&=:,"t,B
struts.velocity.manager.classname )QE6X67i
org.apache.struts2.views.velocity.VelocityManager implementation class &n6{wtBP
org.apache.struts2.views.velocity.VelocityManager接口名 Z<nNk.G
lYG`)#T
struts.velocity.toolboxlocation 7g\v (P
The location of the Velocity toolbox o$*(N
velocity工具盒的位置 <fvu)
f
struts.xslt.nocache 3 7BSJ
Whether or not XSLT templates should not be cached P0l
fK}
是否XSLT模版应该被缓存 5n3yc7NPP