struts2的struts.properties配置文件详解 b~C^cM
8FJPw"9
struts.action.extension {wptOZ
The URL extension to use to determine if the request is meant for a Struts action BMH?BRi
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 U1=]iG<%
Ol)M0u
struts.configuration Fvr$K*u
The org.apache.struts2.config.Configuration implementation class S^7u`-
org.apache.struts2.config.Configuration接口名 303x|y
wqF_hs(O
struts.configuration.files ~0YRWM ;
A list of configuration files automatically loaded by Struts `OHdo$Y9
struts自动加载的一个配置文件列表 )5ev4Qf
:OD-L)Or
struts.configuration.xml.reload h/NI5
Whether to reload the XML configuration or not Z!z#+G
是否加载xml配置(true,false) V5!mV_EoR@
; 6q`c!p7
struts.continuations.package v9GfudTZR
The package containing actions that use Rife continuations om1D} irKT
含有actions的完整连续的package名称 0[92&:c,
'"9Wt@
.
struts.custom.i18n.resources 0O|l7mCr%I
Location of additional localization properties files to load F
@uOXNz)
加载附加的国际化属性文件(不包含.properties后缀) NI2-*G_M
uX8G<7O^
struts.custom.properties *d}{7UMy#
Location of additional configuration properties files to load Os[50j!4>
加载附加的配置文件的位置 UJ^-T+fut
roNs~]6
vPET'Bf(YV
struts.devMode \^Z DH
Whether Struts is in development mode or not '=(@3ggA:
是否为struts开发模式 "rcV?5?v~
Jyyr'1/<k
struts.dispatcher.parametersWorkaround *|S{%z9>
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7,2#0Z`ge
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >_u5"&q
tWI%P&b
struts.enable.DynamicMethodInvocation <]u]rZc$
Allows one to disable dynamic method invocation from the URL
hOr4C4
允许动态方法调用 <(x!P=NM-
nzl3<Ar
struts.freemarker.manager.classname :Y[?@/m4
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {TC_
4Y|8
org.apache.struts2.views.freemarker.FreemarkerManager接口名 hEfFMi=a`
Z#flu Q%V
struts.i18n.encoding ngl8) B
The encoding to use for localization messages ?dQ#%06mn
国际化信息内码 )'e9(4[V1
Vee;&
struts.i18n.reload wiM-TFT~
Whether the localization messages should automatically be reloaded 7DB!s@"
是否国际化信息自动加载 Yzih-$g
VR vX^w0
struts.locale vve[.Lud'
The default locale for the Struts application f= 33+8I
默认的国际化地区信息 m8z414o
m$A-'*'
struts.mapper.class l/6(V:
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0r%,|FaS
org.apache.struts2.dispatcher.mapper.ActionMapper接口 `YK%I8
&` weW
struts.multipart.maxSize =f=,YcRn+
The maximize size of a multipart request (file upload) 3NlG,e'T2
multipart请求信息的最大尺寸(文件上传用) Kc{~Q
4 moVS1
struts.multipart.parser Wf9K+my
The org.apache.struts2.dispatcher.multipart. kg()C%#u
MultiPartRequest parser implementation for a multipart request (file upload) #W[C;f|,
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 2D"\Ox
-"w&g0Z
)Zit6I
struts.multipart.saveDir W%P0X5YQ
The directory to use for storing uploaded files Qh,Dcg2ZM"
设置存储上传文件的目录夹 RRJN@|"
^A;(#5A]7
struts.objectFactory o;J_"'kP
The com.opensymphony.xwork2.ObjectFactory implementation class I.'sK9\Zp
com.opensymphony.xwork2.ObjectFactory接口(spring) y3NMt6
W=?s-*F[~
struts.objectFactory.spring.autoWire <dX7{="&
Whether Spring should autoWire or not ZO!)G
是否自动绑定Spring zXT[}J VV
_|KeB(W
struts.objectFactory.spring.useClassCache KGsW*G4U=
Whether Spring should use its class cache or not (#VF>;;L
是否spring应该使用自身的cache Bt1&C?_$T
o>ZlA3tv
struts.objectTypeDeterminer =f-.aq(G/
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Xd@x(T~'X
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?G$X
4KY6`
tCbnB
struts.serve.static.browserCache I cz)Qtg|
If static content served by the Struts filter should set browser caching header properties or not f*GdHUZ*
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 S0-/9h
h&6t.2<e
struts.serve.static ${w\^6&
Whether the Struts filter should serve static content or not q)KLf\
是否struts过滤器应该提供静态内容 rQ$Jk[Y
zoO9N oUHW
struts.tag.altSyntax ~riV9_-
Whether to use the alterative syntax for the tags or not F ][QH\N
是否可以用替代的语法替代tags n^;Sh$Os
]{E{ IW8
struts.ui.templateDir 3&vUR(10
The directory containing UI templates 4
n\dh<uY
UI templates的目录夹 ,L,?xvWG
X~5kgq0"
struts.ui.theme +]N PxUa
The default UI template theme `DcZpd.n
默认的UI template主题 \`,,r_tO
'UL"yM
struts.url.http.port O(Vi/r2:e
The HTTP port used by Struts URLs S!wY6z
设置http端口 *WX,bN6Ot
d&[.=M\E8
struts.url.https.port aBx8wl*Vm
The HTTPS port used by Struts URLs K#oF=4_/|
设置https端口 *Zi:^<hv
C#x9RW
struts.url.includeParams ,T3_*:0hk!
The default includeParams method to generate Struts URLs T<=]Vg)^r"
在url中产生 默认的includeParams *O@uF4+!1
Ah<6m5+
7SpF&
struts.velocity.configfile pCm |t!,
The Velocity configuration file path ]>\!} \R<
velocity配置文件路径 tr$~INe
f;PvXq<7"
struts.velocity.contexts 6KzdWT
List of Velocity context names ^9PB+mz
velocity的context列表 *1fZcw'C.
)./'`Mx?
@I$;
struts.velocity.manager.classname tZn=[X~Vw@
org.apache.struts2.views.velocity.VelocityManager implementation class KZ}F1Mr
org.apache.struts2.views.velocity.VelocityManager接口名 <!M ab}
6su^yt
struts.velocity.toolboxlocation -H;p +XAY
The location of the Velocity toolbox
-Y"'=zkO
velocity工具盒的位置 @(_M\>!%M
struts.xslt.nocache fooQqWC)
Whether or not XSLT templates should not be cached Q-LDFnOFwp
是否XSLT模版应该被缓存 muqIh!nn