struts2的struts.properties配置文件详解 MW=rX>tE
0 4oMgH>Vd
struts.action.extension 5p/.(
|b,
The URL extension to use to determine if the request is meant for a Struts action LrV|Y~
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "\M3||.!
s5X51#J#~
struts.configuration SK_N|X].
The org.apache.struts2.config.Configuration implementation class 0,iG9D7
org.apache.struts2.config.Configuration接口名 'o7V6KG
SV^[)p)
struts.configuration.files 9$%S<v
A list of configuration files automatically loaded by Struts Ju.T.)H
struts自动加载的一个配置文件列表 P_gai7Xg
aDE}'d1qo
struts.configuration.xml.reload ^HHT>K-m
Whether to reload the XML configuration or not SW Hi iF@
是否加载xml配置(true,false) :;Npk9P(N
yzX S{#\
struts.continuations.package fOk(ivYy
The package containing actions that use Rife continuations b'RBel;W
含有actions的完整连续的package名称 0iz\<'
p
!T}R=;)eh
struts.custom.i18n.resources }c#W"y5l_
Location of additional localization properties files to load "2T* w~V&y
加载附加的国际化属性文件(不包含.properties后缀) pz.fZV
B""=&(Yu
struts.custom.properties AO8%!+"_
Location of additional configuration properties files to load 2}5@:cwR+
加载附加的配置文件的位置 YCyh+%Q(
nNRc@9Lt
2V$YZSw6q
struts.devMode 5L\Im^
Whether Struts is in development mode or not @X_)%Y-^O
是否为struts开发模式 vnX~OVz2
8=mx5Gwz-
struts.dispatcher.parametersWorkaround yQC8 Gt8
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic jW}hLjlN
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :}o{<U
(T",6 xBSG
struts.enable.DynamicMethodInvocation Gk|T1%
Allows one to disable dynamic method invocation from the URL #jw%0H;l]
允许动态方法调用 Vj[,o
Vt$
i\{fM}~W$
struts.freemarker.manager.classname SqoO"(1x
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class T lB+
tV>
org.apache.struts2.views.freemarker.FreemarkerManager接口名 0'R}'
AQ,%5MeqJ
struts.i18n.encoding ; VQ:\fG
The encoding to use for localization messages L0ZAF2O
国际化信息内码 &=lhKt
` )~CT
struts.i18n.reload N2C f(
Whether the localization messages should automatically be reloaded <ol?9tm
是否国际化信息自动加载 +^%0/0e
@$?*UI6y
struts.locale F4g3l
The default locale for the Struts application H8!lSRq
默认的国际化地区信息 0|(6q=QK
_No<fz8
struts.mapper.class /? Bu^KX
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class A&Cs
(e
org.apache.struts2.dispatcher.mapper.ActionMapper接口 E|=]k
@u8kNXT;h
struts.multipart.maxSize %v]-:5g'|
The maximize size of a multipart request (file upload) &lB>G[t
multipart请求信息的最大尺寸(文件上传用) + )7h)uq
x|3G}[=
struts.multipart.parser <ceJ!"L
The org.apache.struts2.dispatcher.multipart. t;lK=m|
MultiPartRequest parser implementation for a multipart request (file upload) a,[NcdG
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) A)kdY!}
P)UpUMt;k
l, j0n0h.
struts.multipart.saveDir KocNJ
TB
The directory to use for storing uploaded files fyv S1_
设置存储上传文件的目录夹 /qXP\ a
E_K32)J-
struts.objectFactory zHvW@A'F
The com.opensymphony.xwork2.ObjectFactory implementation class .H5^ N\V|
com.opensymphony.xwork2.ObjectFactory接口(spring) 0Y*Ag,S
,f[Oy:fr
struts.objectFactory.spring.autoWire ,v(ikPzd
Whether Spring should autoWire or not e{*z4q1
是否自动绑定Spring iD:TKB_r
8{p#Nl?U1
struts.objectFactory.spring.useClassCache kT&GsR/
Whether Spring should use its class cache or not (vbI4&r
是否spring应该使用自身的cache Dfd%Z;Yu
"^Vfo$q
struts.objectTypeDeterminer E}|IU Pm
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class a.SxMF
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vt}A6mF
oF5~|&C
struts.serve.static.browserCache M V~3~h8
If static content served by the Struts filter should set browser caching header properties or not |f+fG=a67V
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =M34
HPG
Qh4Z{c@
struts.serve.static \2)~dV:6+
Whether the Struts filter should serve static content or not 'tq4-11xB
是否struts过滤器应该提供静态内容 FdMTc(>
e:= +~F(f
struts.tag.altSyntax .OD{^Kq2
Whether to use the alterative syntax for the tags or not ?/Z5%?6
是否可以用替代的语法替代tags (APGz,^9#
6Xt c3
struts.ui.templateDir 1zY"Uxp
The directory containing UI templates q]m$%>
UI templates的目录夹 hu-6V="^9
h)
W|~y@
struts.ui.theme lf2(h4[1R
The default UI template theme @86I|cY
默认的UI template主题 H`8}w{ft&
qjLFgsd
struts.url.http.port Ert`
]s~
The HTTP port used by Struts URLs DgC;1U'
设置http端口 nnMRp7LQ-
((]Sy,rdk
struts.url.https.port f15n ~d
The HTTPS port used by Struts URLs rNX]tp{j
设置https端口 e>$E67h<~
5x'
^.$K >
struts.url.includeParams . AX6xc6
The default includeParams method to generate Struts URLs hdxq@%Vs
在url中产生 默认的includeParams 7By&cdl
!o8(9F
UN`O*(k[
struts.velocity.configfile R"[U<^
The Velocity configuration file path s;YuB#Z
velocity配置文件路径 gJuA*^
EY[J;H_b
struts.velocity.contexts q! }O+(kt
List of Velocity context names 66Xo3o
velocity的context列表 Ea?u5$>gY"
A$o ?_
&13#/
struts.velocity.manager.classname 1WLaJ%Fv
org.apache.struts2.views.velocity.VelocityManager implementation class ^es/xt
org.apache.struts2.views.velocity.VelocityManager接口名 TllIs&MCe
!"N-To-c
struts.velocity.toolboxlocation UWq[K&vQZ
The location of the Velocity toolbox k>7 2W/L^
velocity工具盒的位置 hdx"/.s
struts.xslt.nocache VeWvSIP,EQ
Whether or not XSLT templates should not be cached PkxhR;4
是否XSLT模版应该被缓存 r
WPoR/M