struts2的struts.properties配置文件详解 ]hi5nA
fnU;DS]W
struts.action.extension IM~2=+
The URL extension to use to determine if the request is meant for a Struts action [Xo[J?w],2
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 S8)6@ECC
Jm*wlN
[>
struts.configuration rTtxmw0
The org.apache.struts2.config.Configuration implementation class B["C~aF
org.apache.struts2.config.Configuration接口名 +T]D\];D
X?OH//co
struts.configuration.files [#C(^J*@c
A list of configuration files automatically loaded by Struts .L}k-8
struts自动加载的一个配置文件列表 5g;i{T/6~x
#qdfr3
struts.configuration.xml.reload CR'1,
Whether to reload the XML configuration or not c\(CbC
是否加载xml配置(true,false) &X
OFc.u
{3*Zx"e![
struts.continuations.package VPXUy=W
The package containing actions that use Rife continuations X< p KAO\
含有actions的完整连续的package名称 Y`!Zk$8
5TS&NefM
struts.custom.i18n.resources aO$I|!tl
Location of additional localization properties files to load '@,M
'H{
加载附加的国际化属性文件(不包含.properties后缀) 4:Id8rzz
E4N{;'
struts.custom.properties h_K!ch}
Location of additional configuration properties files to load @PyZ u7'
加载附加的配置文件的位置 yk&PJ;%O<
{Z(kzJwN
tsN,yI]-VA
struts.devMode vAjvW&'g
Whether Struts is in development mode or not (E]q>'X
是否为struts开发模式 |tuh/e@dx
|'N)HH>;
struts.dispatcher.parametersWorkaround bGe@yXId5
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .V`N^H:l
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) o0:RsODl
MI\35~JAN
struts.enable.DynamicMethodInvocation {#4F}@Q
Allows one to disable dynamic method invocation from the URL fy|$A@f
允许动态方法调用 x3Ze\N8w
&-hXk!A
struts.freemarker.manager.classname ^K'@W
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [e;c)XS[
org.apache.struts2.views.freemarker.FreemarkerManager接口名 zM2_z
Q?]-/v
struts.i18n.encoding 6h:2,h
pE
The encoding to use for localization messages Av_JcH
国际化信息内码 7HM%Cd
7FGi+
struts.i18n.reload .I
nDyKt
Whether the localization messages should automatically be reloaded _%:$sAj
是否国际化信息自动加载 |58xR.S'g
20A`]-D
struts.locale /mCE=
The default locale for the Struts application sA!$}W
默认的国际化地区信息 2c1L[]h'
fm1yZX?`
struts.mapper.class u+5MrS[
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class OV,t|
org.apache.struts2.dispatcher.mapper.ActionMapper接口 fuF!3Q
3
G_0DS
struts.multipart.maxSize _|I`A6`=
The maximize size of a multipart request (file upload) jWqjGX`
multipart请求信息的最大尺寸(文件上传用) \x;`8H
/Xk-xg+U
struts.multipart.parser 25{-GaB
The org.apache.struts2.dispatcher.multipart. +Fa!<txn
MultiPartRequest parser implementation for a multipart request (file upload) ^c| _%/
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &r)[6a$fW
Yh2[
nF_
G[$g-NU+
struts.multipart.saveDir ! N'HL-oT
The directory to use for storing uploaded files |Q?^B a
设置存储上传文件的目录夹 xTg=oq
N`et]'_A}
struts.objectFactory ce:p*
The com.opensymphony.xwork2.ObjectFactory implementation class "kd)dy95H
com.opensymphony.xwork2.ObjectFactory接口(spring) " `FcW
jIi:tO9G^,
struts.objectFactory.spring.autoWire x7ZaI{
Whether Spring should autoWire or not yXT8:2M
是否自动绑定Spring #.j}:
T: I34E[
struts.objectFactory.spring.useClassCache bYAtUEv
Whether Spring should use its class cache or not .W
s\%S
是否spring应该使用自身的cache 1s/548wu
6W[~@~D=
struts.objectTypeDeterminer g0ks[ }f-
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class wl7 (|\-
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ApNS0
B-UsMO
struts.serve.static.browserCache .C,D;T{
If static content served by the Struts filter should set browser caching header properties or not #ADm^UT^
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 vb`R+y@
Ake@krh>$
struts.serve.static 75^AO>gt
Whether the Struts filter should serve static content or not 5Deo}(3
是否struts过滤器应该提供静态内容 ez<V
0TWd.+
struts.tag.altSyntax g5:?O,?
Whether to use the alterative syntax for the tags or not 'S%H"W\
是否可以用替代的语法替代tags 5.d[C/pRw
sOVU>tb\'
struts.ui.templateDir -}(2}~{e(
The directory containing UI templates l}SHR|7<
UI templates的目录夹 o3YW(%cYR
0p]v#z}
struts.ui.theme @2g
<d
The default UI template theme e2^TQv2(=e
默认的UI template主题 % 'OY
_Wqy,L;J
struts.url.http.port %2y5a`b
The HTTP port used by Struts URLs KX
J7\}
设置http端口 bEm9hFvd
8PR\a!"
struts.url.https.port 7@
\:l~{
The HTTPS port used by Struts URLs U0U y
C
设置https端口 &-Ylj
Z C<+BKS
struts.url.includeParams G>Hg0u0!,
The default includeParams method to generate Struts URLs $b(CN+#
在url中产生 默认的includeParams rCUGaf~
LUdXAi"f
!_P&SmK3
struts.velocity.configfile ;SIWWuk
The Velocity configuration file path u4j"U6"]M
velocity配置文件路径 Y>6N2&Q
)2a)$qx;
struts.velocity.contexts pX+4B=*
List of Velocity context names S$ffTdRz
velocity的context列表 :V1j*)
T+e*' <!O
.cm2L,1h
struts.velocity.manager.classname "VDMO^
org.apache.struts2.views.velocity.VelocityManager implementation class Al=ByX @
org.apache.struts2.views.velocity.VelocityManager接口名 B"8jEYT5
T'{9!By,P
struts.velocity.toolboxlocation 1yVhO2`7]
The location of the Velocity toolbox w2db=9
velocity工具盒的位置 j#0JD!Vr
struts.xslt.nocache F1A40h7R$Y
Whether or not XSLT templates should not be cached 1ktxG1"1
是否XSLT模版应该被缓存 $<AaeyR!N