struts2的struts.properties配置文件详解 x
}Ad_#q
$9Hcdbdm
struts.action.extension !;?+>R)h
The URL extension to use to determine if the request is meant for a Struts action %_ !bRo
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =UUU$hq2
okbQ<{9
struts.configuration DC{>TC[p1k
The org.apache.struts2.config.Configuration implementation class ,) J~ ,^f6
org.apache.struts2.config.Configuration接口名 9IX/wm"
lXcx@#~
struts.configuration.files o2<#s)GpY
A list of configuration files automatically loaded by Struts :oJ=iB'Zc
struts自动加载的一个配置文件列表 'Ut7{rZ5
hjZKUMG(k
struts.configuration.xml.reload 'yMF~r3J
Whether to reload the XML configuration or not ggJO:$?$L
是否加载xml配置(true,false) *S2ypzwRZ,
[Xb@Wh:yG
struts.continuations.package 9eH$XYy
The package containing actions that use Rife continuations u ~A6bK*
含有actions的完整连续的package名称 BNL;Biyt7
uEX!xx?Q#
struts.custom.i18n.resources JvY}-}?c
Location of additional localization properties files to load H$y-8-&)
加载附加的国际化属性文件(不包含.properties后缀) 0`^&9nR
yUpgoX(6
struts.custom.properties FCnm1x#
Location of additional configuration properties files to load H1}
RWaJ
加载附加的配置文件的位置 #O+),,WS
)c `7( nY
7(pF[LCF
struts.devMode yu;P +G
Whether Struts is in development mode or not xg3:} LQ
是否为struts开发模式 \B,(k<
Oil?JI Hq
struts.dispatcher.parametersWorkaround euC&0Ee2
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Hv2De0W
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) j KoG7HH
V$ps>
struts.enable.DynamicMethodInvocation +0OLc2
)w
Allows one to disable dynamic method invocation from the URL tCdqh-
允许动态方法调用 c@8 93<_
MdvcnaCG
struts.freemarker.manager.classname 9jw\s P@
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class V,cBk
org.apache.struts2.views.freemarker.FreemarkerManager接口名 +F^^c2E
Ft&]7dT{W
struts.i18n.encoding `\}v#2VJ
The encoding to use for localization messages lhqg$lb
国际化信息内码 ;C2K~8,
#w' kV#
struts.i18n.reload [Al&
Whether the localization messages should automatically be reloaded
iKT [=c
是否国际化信息自动加载 T\D}kQM
,^2>k3=
struts.locale c-(UhN3WG
The default locale for the Struts application 4rLL[??
默认的国际化地区信息 ]@phF _
sG
F aL
struts.mapper.class ]x(!&y:h
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?vbvBu{a
org.apache.struts2.dispatcher.mapper.ActionMapper接口 $42{HFGq
;IZwTXu !S
struts.multipart.maxSize c}2jmwq
The maximize size of a multipart request (file upload) eQ]~dA8>
multipart请求信息的最大尺寸(文件上传用) 0eDHu
m)'=G%y
struts.multipart.parser $w`=z<2yo1
The org.apache.struts2.dispatcher.multipart. NU5.o$
MultiPartRequest parser implementation for a multipart request (file upload) ^SF&=NpV
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ]SLP}Jwy
toBHkiuD
4bYK}oS
struts.multipart.saveDir 8ap%?
The directory to use for storing uploaded files z?R|Ok
设置存储上传文件的目录夹 !WQ-=0cm
oYm[V<nIl
struts.objectFactory nH[yJGZYSA
The com.opensymphony.xwork2.ObjectFactory implementation class pSdI/Vj'=
com.opensymphony.xwork2.ObjectFactory接口(spring) @eKec1<
ddJe=PUb
struts.objectFactory.spring.autoWire /7Cc#P6
Whether Spring should autoWire or not :%,:"
是否自动绑定Spring #ML%ij 1
J;8IY=
struts.objectFactory.spring.useClassCache ,)Znb=
Whether Spring should use its class cache or not Y,^@P
是否spring应该使用自身的cache ).`1+b
!xo{-@@wS
struts.objectTypeDeterminer fof TP1
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rrik,qyv6
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ] Zy5%gI
B#Vz#y
struts.serve.static.browserCache r{L>
F]Tw
If static content served by the Struts filter should set browser caching header properties or not 4R1<nZ"e~
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 vunHNHltW0
jtW!"TOY
struts.serve.static (ROY?5
@c
Whether the Struts filter should serve static content or not Y[}>CYO
是否struts过滤器应该提供静态内容 wsI`fO^A8
K;?m';z0
struts.tag.altSyntax Qp_isU
Whether to use the alterative syntax for the tags or not Bg x'9p/
是否可以用替代的语法替代tags 3z{?_;bR
1W^taJH]
struts.ui.templateDir Krqtf
The directory containing UI templates M_/7D|xl/T
UI templates的目录夹 QI'Oz{vE
Vt:~q{9*k
struts.ui.theme iTgt}]L
The default UI template theme su{poQ}K
默认的UI template主题 P3+5?.p.
d928~y
W
struts.url.http.port \`~Ly-
The HTTP port used by Struts URLs "n(hfz0y%
设置http端口 >UiYL}'br6
Vc\MV0lr
struts.url.https.port rWa2pO
The HTTPS port used by Struts URLs W$hx,VEy`
设置https端口 &=] ~0$
Yg%I?
struts.url.includeParams "O3tq=Q
The default includeParams method to generate Struts URLs ` Mjj@[
在url中产生 默认的includeParams *\+\5pu0
PUp6Q;AdQ
CkOz
struts.velocity.configfile c|e~BQdRw
The Velocity configuration file path [%y';`( x
velocity配置文件路径 $p#Bi-&
AG`L64B
struts.velocity.contexts A5c%SCq;
List of Velocity context names /?5 1D@
velocity的context列表 +Vb.lH[av
LDgrR[
Rr&h!YMb
struts.velocity.manager.classname JjtNP)We
org.apache.struts2.views.velocity.VelocityManager implementation class Lb:g4A"
org.apache.struts2.views.velocity.VelocityManager接口名 qeV fE_<
@ym v< Mo
struts.velocity.toolboxlocation sJL&:!}V>
The location of the Velocity toolbox tqE6>"jD
velocity工具盒的位置 AVlhNIr
struts.xslt.nocache 4VJ-,Z
Whether or not XSLT templates should not be cached D=j-!{zB
是否XSLT模版应该被缓存 6Zm# bFQ