struts2的struts.properties配置文件详解 rI}E2J
3D~Fu8Hg1
struts.action.extension =&fBmV
The URL extension to use to determine if the request is meant for a Struts action F.=uJdl.!
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 W4CI=94
YF{K9M!
struts.configuration <LW|m7
The org.apache.struts2.config.Configuration implementation class 4(4JQ(5
org.apache.struts2.config.Configuration接口名 &1Fcwj
bq4H4?j
struts.configuration.files b,a\`%m}
A list of configuration files automatically loaded by Struts ZZC=
7FB
struts自动加载的一个配置文件列表 u,F d[[t
P:k(=CzZ@J
struts.configuration.xml.reload G
7)D+],{Y
Whether to reload the XML configuration or not ~,e!t.339
是否加载xml配置(true,false) >B~jPU
x=B+FIJ
struts.continuations.package U30)r+&
The package containing actions that use Rife continuations bT-G<h*M
含有actions的完整连续的package名称 lSyp
k-c
RQ,(?I*8\
struts.custom.i18n.resources 8"LaP3U
Location of additional localization properties files to load ^qbX9.\
加载附加的国际化属性文件(不包含.properties后缀) 1MJ]Gh]5
p2~Q
struts.custom.properties -e(2?Xq9
Location of additional configuration properties files to load w#mnGD
加载附加的配置文件的位置 _ga!TQ:
l3MbCBX2
z% /ww7H
struts.devMode &`L5UX
Whether Struts is in development mode or not Vd<=
y
是否为struts开发模式 Dlj=$25
.%wEuqW=0
struts.dispatcher.parametersWorkaround ]bnxOk
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0K3FH&.%
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !CBx$1z
!v;r3*#Nky
struts.enable.DynamicMethodInvocation 3/rvSR!
Allows one to disable dynamic method invocation from the URL K[sM)_I
允许动态方法调用 ['km'5uZ^
=cC]8Pz?
struts.freemarker.manager.classname ^}1RDdQ"U
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class a3c4#'c|D
org.apache.struts2.views.freemarker.FreemarkerManager接口名 aJ)5 DlfLR
8v^i%Gg
struts.i18n.encoding |C&eH$?~=R
The encoding to use for localization messages ^LU[{HZV
国际化信息内码 f,L
H4:TYh
struts.i18n.reload |16
:Zoq
Whether the localization messages should automatically be reloaded \[oHt:$do
是否国际化信息自动加载 93WYZNpX
Ba+OoS
struts.locale Fcr@Un'
The default locale for the Struts application 78QFaN$
默认的国际化地区信息 g?$9~/h :;
?^ErrlI_
struts.mapper.class pWx3l5)R
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class I(<G;ft<}
org.apache.struts2.dispatcher.mapper.ActionMapper接口 qBNiuV;*
ai`:HhE
struts.multipart.maxSize \34|9#*z-
The maximize size of a multipart request (file upload) /MU<)[*Ro
multipart请求信息的最大尺寸(文件上传用)
<@vE3v;
AX,Db%`l,
struts.multipart.parser Ys_YjlMIbl
The org.apache.struts2.dispatcher.multipart. ;Z`)*TRp4
MultiPartRequest parser implementation for a multipart request (file upload) |TUpv*pq
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &V:dcJ^Q
;:e,C@Fm
iE Oyc59
struts.multipart.saveDir |"-,C}O
The directory to use for storing uploaded files *(scSC>
设置存储上传文件的目录夹 >@L
HJ61C
Ur-^X(nL
struts.objectFactory ;p_X7N
The com.opensymphony.xwork2.ObjectFactory implementation class ^]DWrmy
com.opensymphony.xwork2.ObjectFactory接口(spring) OX`n`+^D
sR9F:
struts.objectFactory.spring.autoWire \S<5b&G
Whether Spring should autoWire or not aOD"z7}U
是否自动绑定Spring y%,BDyK
$ B9=v
struts.objectFactory.spring.useClassCache Yq^y"rw
Whether Spring should use its class cache or not 0\#Q;Z2
是否spring应该使用自身的cache z )pV$
(>K$gAQH
struts.objectTypeDeterminer 31*6 ;(
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Xp~]kRm9
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vvM)Rb,
0l=}v%D
struts.serve.static.browserCache A%PPG+IfA
If static content served by the Struts filter should set browser caching header properties or not B~NC
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0|ps),
ZH(.|NaH
struts.serve.static \$C4H
Whether the Struts filter should serve static content or not :65HMWy.
是否struts过滤器应该提供静态内容 RrHnDO'
g=C<E2'i*
struts.tag.altSyntax %8L<KJd
Whether to use the alterative syntax for the tags or not =vc5,
是否可以用替代的语法替代tags ':V_V. :
&FrB6y
struts.ui.templateDir QRlzGRueR&
The directory containing UI templates [j?<9
UI templates的目录夹 '| }}og
QP B"EW
struts.ui.theme re!8nuBsA
The default UI template theme x5SQ+7
默认的UI template主题 =b7&(x
BB.TrQM.#
struts.url.http.port ^JtHTLHL=
The HTTP port used by Struts URLs WO-WoPO
设置http端口 V@S/!h+
v)yimIHzo
struts.url.https.port =.E(p)fz
The HTTPS port used by Struts URLs U_- K6:tr
设置https端口 -YV4
O
v$G*TR<2
struts.url.includeParams SSLshY~d
The default includeParams method to generate Struts URLs wWw/1i:|'
在url中产生 默认的includeParams 5{q/z^]
d5y2Y/QO
rhTk}2@h
struts.velocity.configfile +&,\ J9'B
The Velocity configuration file path %-/:ps
velocity配置文件路径 xD#I&.
va(9{AXI
struts.velocity.contexts \hW73a!
List of Velocity context names 2w|u)ow)
velocity的context列表 5vi#ItN}|
8MeXVhM
F[=lA"F^
struts.velocity.manager.classname /JeqoM"x
org.apache.struts2.views.velocity.VelocityManager implementation class a{HgIQg_>R
org.apache.struts2.views.velocity.VelocityManager接口名 -Y=c g;
Zk#i9[g9*
struts.velocity.toolboxlocation )ek 5
The location of the Velocity toolbox 0Eu$-)
velocity工具盒的位置 ?gwbg*
struts.xslt.nocache R9/xC7l@
Whether or not XSLT templates should not be cached **r?
是否XSLT模版应该被缓存 SP7g qM