struts2的struts.properties配置文件详解 ~zoZ{YqP
\0;EHB
struts.action.extension &hEkm
The URL extension to use to determine if the request is meant for a Struts action JSoInR1E
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ikb;,Js
p#N2K{E
struts.configuration Bxf&gDwjgr
The org.apache.struts2.config.Configuration implementation class IN@ =UAc&
org.apache.struts2.config.Configuration接口名 "td ,YVK
]u\-_PP
struts.configuration.files K_Kz8qV.?
A list of configuration files automatically loaded by Struts &x3R+(H {
struts自动加载的一个配置文件列表 1QbD]"=n
Ow{NI-^K
struts.configuration.xml.reload S" PJ@E}^E
Whether to reload the XML configuration or not q3D,hG_
是否加载xml配置(true,false) <Q8d{--o
#iT3aou
struts.continuations.package }}LjEOvL=
The package containing actions that use Rife continuations &r!jjT
含有actions的完整连续的package名称 ]V,#>'
ft$
'UJ%j
struts.custom.i18n.resources m[%P3
Location of additional localization properties files to load q4niA
加载附加的国际化属性文件(不包含.properties后缀) 8"ulAx74>
M
y!;N1
struts.custom.properties POQ4&ChA
Location of additional configuration properties files to load ~PX#' Jr
加载附加的配置文件的位置 BO>[\!=y
g{Hb3id9
CtHsi8m
struts.devMode _o-01gu.
Whether Struts is in development mode or not D.YT u$T
是否为struts开发模式 -yMD9b
t?FPmbjv
struts.dispatcher.parametersWorkaround 0BN=>]V~j7
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Bam 4%G5
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) k^%F4d3z@C
eK/rsr
struts.enable.DynamicMethodInvocation &ZJ$V
Allows one to disable dynamic method invocation from the URL 8*sP
允许动态方法调用 Sr-!-eC
T9AFL;1
struts.freemarker.manager.classname [ak[ZXC,
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class mpzm6Ieu
org.apache.struts2.views.freemarker.FreemarkerManager接口名 `8D'r|=`Eh
bKQ-PM&I/t
struts.i18n.encoding fK4NmdTV
The encoding to use for localization messages `<?((l%;R
国际化信息内码 F D.L{
4Z/]7Ie
struts.i18n.reload lmx'w
Whether the localization messages should automatically be reloaded {WuUzq`
是否国际化信息自动加载 u:>*~$f
?e hUGvV2
struts.locale ~t^'4"K*
The default locale for the Struts application y<)q;fI7
默认的国际化地区信息 )C>M74Bt
cC$E"m
struts.mapper.class `3vt.b
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class R-5e9vyS
org.apache.struts2.dispatcher.mapper.ActionMapper接口 /&RS+By(i
9]|G-cyt
struts.multipart.maxSize ^oZD44$
The maximize size of a multipart request (file upload) KCfcEz
multipart请求信息的最大尺寸(文件上传用) $B@K
A
w)P%r
struts.multipart.parser AeEF/*
The org.apache.struts2.dispatcher.multipart. bAL!l\&2
MultiPartRequest parser implementation for a multipart request (file upload) M!iYj+nrP
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (ChL$!x
p"q4R2_/jh
CQ#%v%
struts.multipart.saveDir 5x}OrfDU
The directory to use for storing uploaded files M9wj
};vy
设置存储上传文件的目录夹 UzUt=s!^H
FhMl+Ou
struts.objectFactory zqb3<WP"
The com.opensymphony.xwork2.ObjectFactory implementation class PxgLt2dXa
com.opensymphony.xwork2.ObjectFactory接口(spring) ,8@U-7f,
*Ui>NTl
struts.objectFactory.spring.autoWire 5OX5\#Ux
Whether Spring should autoWire or not R^GLATM
是否自动绑定Spring fg8U*7
#VM-\02o
struts.objectFactory.spring.useClassCache S.NLxb/
Whether Spring should use its class cache or not `L
{dF
是否spring应该使用自身的cache Sv03="&
}'Yk#Q
struts.objectTypeDeterminer !J+< M~o}
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class } @jT-t]P
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 N2`u
]*"0
J/ ^|Y6
struts.serve.static.browserCache 3,{tGNl|
If static content served by the Struts filter should set browser caching header properties or not /yL:_6c-
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \:91BQP
c
]73BJ
struts.serve.static \B
D'"
Whether the Struts filter should serve static content or not qGKQrb,K
是否struts过滤器应该提供静态内容 FrD,)Ad8Q
.{LJ
struts.tag.altSyntax I)F3sS45}
Whether to use the alterative syntax for the tags or not #zc{N"!
是否可以用替代的语法替代tags %-~T;_.
){XG%nC
struts.ui.templateDir $,B@yiie
The directory containing UI templates UZqk2D
UI templates的目录夹 oS_<;Fj
.+hM1OF`x
struts.ui.theme k{j (Gb2sp
The default UI template theme )qx,>PL
默认的UI template主题 w(vda0
(eJYv:
^
struts.url.http.port -4'yC_8t
The HTTP port used by Struts URLs KRh95B GU
设置http端口 pZe:U;bb
zq&,KZ
struts.url.https.port 0YVkq?1x9
The HTTPS port used by Struts URLs xt"GO
b
设置https端口 jaImO
5x; y{qT
struts.url.includeParams 1A b=1g{
The default includeParams method to generate Struts URLs edD"jq)J
在url中产生 默认的includeParams _<1uO=km6
o]|a5.O
^gD%#3>X
struts.velocity.configfile CJu3h&Rp
The Velocity configuration file path f,}]h~w\
velocity配置文件路径 wH Q$F(by
4`#3p@-
struts.velocity.contexts /|2#s%|-=
List of Velocity context names -wjvD8fL
velocity的context列表 UP}5E h
Wg2Y`2@t
l4s_9
struts.velocity.manager.classname %8lF%uu!x
org.apache.struts2.views.velocity.VelocityManager implementation class ?4i:$.A
Y
org.apache.struts2.views.velocity.VelocityManager接口名 4#BoS9d2I<
)R`w{V
struts.velocity.toolboxlocation < l%3P6|
The location of the Velocity toolbox x0!5z1KQh
velocity工具盒的位置 ;Y>cegG\
struts.xslt.nocache $!_]mz6*
Whether or not XSLT templates should not be cached ,
1{)B
是否XSLT模版应该被缓存 (S["
ak