struts2的struts.properties配置文件详解 +_ $!9m
@$;I%
struts.action.extension 4@Bl 1b[<
The URL extension to use to determine if the request is meant for a Struts action 12}!oS~_
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 } ;d=
Z 3-=TN
struts.configuration |zy` ]p9
The org.apache.struts2.config.Configuration implementation class +]e) :J
org.apache.struts2.config.Configuration接口名 caL\ d
a*nCvZ
struts.configuration.files
wKbU}29c
A list of configuration files automatically loaded by Struts Pt/F$A{Cj
struts自动加载的一个配置文件列表 b\UE+\a&
`F_R J.g*p
struts.configuration.xml.reload Y 9BKd78Y
Whether to reload the XML configuration or not WFvVu3
是否加载xml配置(true,false) ".kH5(:
t* =i8`8
struts.continuations.package L^Fb;sJYI
The package containing actions that use Rife continuations <}}u'5;^?x
含有actions的完整连续的package名称 *d-JAE
C-^8;xd
struts.custom.i18n.resources R3*{"!O
Location of additional localization properties files to load K!v\r"N
加载附加的国际化属性文件(不包含.properties后缀) {@[#0gPH
@={
qy}
struts.custom.properties Axla@
Location of additional configuration properties files to load Y"TrF(C
加载附加的配置文件的位置 ./CDW
}|],UXk{xB
CxrsP.
struts.devMode H@sM$8
Whether Struts is in development mode or not MwaRwk;
是否为struts开发模式 j/1f|x
Z5@E|O &
struts.dispatcher.parametersWorkaround /lc4oXG8
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic oW6b3Q/B
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /#[mV(k
NZ%v{?
struts.enable.DynamicMethodInvocation b{.Y?.U
Allows one to disable dynamic method invocation from the URL 43*;" w=
允许动态方法调用 UW{C`^?=B
jM>;l6l
struts.freemarker.manager.classname m:cWnG
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class VwT&A9&{8
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ksyQ_4^SO
FaKZ|~Y
e
struts.i18n.encoding %]o/p_<
The encoding to use for localization messages lN*"?%<x>
国际化信息内码 +^[SXI^JaJ
Q>WnSm5R
struts.i18n.reload !y3XIbdS"
Whether the localization messages should automatically be reloaded 3o#K8EL
是否国际化信息自动加载 eyos6Qi
72= 4#
struts.locale =h/61Bl3
The default locale for the Struts application ceae~
默认的国际化地区信息 n]3Z~HoZ
:#=BwdC
struts.mapper.class m[hHaX
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Q}1qt4xy*
org.apache.struts2.dispatcher.mapper.ActionMapper接口 -#r=
'K|F{K
struts.multipart.maxSize SfPtG
The maximize size of a multipart request (file upload) Gyc_B
multipart请求信息的最大尺寸(文件上传用) <,J O
u`pw'3hY
struts.multipart.parser [+qB^6I+P%
The org.apache.struts2.dispatcher.multipart. xiF}{25a
MultiPartRequest parser implementation for a multipart request (file upload) v3cLU7bi?2
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =P,pW
K~~LJU3
pAyUQe;X#
struts.multipart.saveDir R4S))EHg
The directory to use for storing uploaded files UK.=Y9
设置存储上传文件的目录夹 h3Nbgxa.
-$`q:j
struts.objectFactory fdgjTX
The com.opensymphony.xwork2.ObjectFactory implementation class BipD8`a
com.opensymphony.xwork2.ObjectFactory接口(spring) X&A2:A 6\+
F`.W 9H3
struts.objectFactory.spring.autoWire i1!Y{
Whether Spring should autoWire or not
&0OH:P%
是否自动绑定Spring o}yA{<"
|oR#j
`
struts.objectFactory.spring.useClassCache vhN6_XD
Whether Spring should use its class cache or not m[Qr>= "
是否spring应该使用自身的cache e<"sZK
[!4V_yOb
struts.objectTypeDeterminer vX$|/74
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class y .a)M?3
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6ciA|J'MR
LWV^'B_X-
struts.serve.static.browserCache 8x9;3{R
If static content served by the Struts filter should set browser caching header properties or not #y1M1O g
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 vyT-!mC
$LtCI
struts.serve.static >n%ckL|rG
Whether the Struts filter should serve static content or not Ee=!bv(%70
是否struts过滤器应该提供静态内容 iGNZC{
9<5ii
struts.tag.altSyntax h#uk-7
Whether to use the alterative syntax for the tags or not Cm-dos
是否可以用替代的语法替代tags |2I/r$Q
MF+F8h>/
struts.ui.templateDir aQV? }
The directory containing UI templates KD'}9{F,
UI templates的目录夹 vSk1/
S0;s
7X#c
struts.ui.theme }1NNXxQ
The default UI template theme ;s5JYR
默认的UI template主题 \3O1o#=(
,N8SP
'R
struts.url.http.port yg"FF:^T
The HTTP port used by Struts URLs Q>uJ:[x+
设置http端口 gY_AO1
'acCnn'
struts.url.https.port la`f@~Bbr1
The HTTPS port used by Struts URLs +
,rl\|J%
设置https端口 'fY29Xr^
H
WFnIUv
struts.url.includeParams YyC$\HH6
The default includeParams method to generate Struts URLs >FL%H=]
在url中产生 默认的includeParams ty8E;['
"4.A@XsY
AdRK )L
struts.velocity.configfile ephvvj~zW4
The Velocity configuration file path &Vg)/t;
velocity配置文件路径 !ZayN
P#AS")Sj
struts.velocity.contexts 4K
>z?jd
List of Velocity context names vP,$S^7$
velocity的context列表 V|pO";%>,
Q=^TKsu
;6*$!^*w
struts.velocity.manager.classname Bu4@FIK!C
org.apache.struts2.views.velocity.VelocityManager implementation class {G{>Qa|
org.apache.struts2.views.velocity.VelocityManager接口名 ]m#*4
v+'*.Iv:
struts.velocity.toolboxlocation {%6g6?=j
The location of the Velocity toolbox ,jeC7-tX
velocity工具盒的位置 (Z Q?1Qxo
struts.xslt.nocache RHmT$^=
Whether or not XSLT templates should not be cached c=p!2jJ1K~
是否XSLT模版应该被缓存 Kae-Y