struts2的struts.properties配置文件详解 xxgS!J
"?hEGJ;m"
struts.action.extension F`3c uL[N
The URL extension to use to determine if the request is meant for a Struts action dX: (%_Mn
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 at${^,&
z@^[.
struts.configuration :f?\ mVS+
The org.apache.struts2.config.Configuration implementation class mdR:XuRD"t
org.apache.struts2.config.Configuration接口名 |S|0'C*
~xpU<Pd*
struts.configuration.files hV])\t=yf
A list of configuration files automatically loaded by Struts G0Smss=K
struts自动加载的一个配置文件列表 E8u:Fgs
}9
N, +*
struts.configuration.xml.reload N\1!)b
Whether to reload the XML configuration or not &/}]9 #
是否加载xml配置(true,false) Xy:'f".M~\
sptDzVM
struts.continuations.package _9wX8fh3D
The package containing actions that use Rife continuations lwaxj7
含有actions的完整连续的package名称 r.0IC*Y
Q\ TawRK8
struts.custom.i18n.resources /<vbv
Location of additional localization properties files to load 3 :X3n\z
加载附加的国际化属性文件(不包含.properties后缀) ao#{N=mn
s\,F6c
struts.custom.properties gEbe6!; q3
Location of additional configuration properties files to load a H'iW)
加载附加的配置文件的位置 QpwOrxI}
t/LQ|/xo
fGHYs
struts.devMode _?kjIF
Whether Struts is in development mode or not p<*3mbgGO
是否为struts开发模式 -gefdx6ES
k`U")lv
struts.dispatcher.parametersWorkaround xGCW-YR9
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !*ct3{m
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >
$DMVtE0
$As;Tvw.
struts.enable.DynamicMethodInvocation @|v4B[/
Allows one to disable dynamic method invocation from the URL <61T)7
允许动态方法调用 Vrzx;V%
OF&{mJH"g'
struts.freemarker.manager.classname RiqYC3Ka
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class M?Tb9c?`
org.apache.struts2.views.freemarker.FreemarkerManager接口名 T_|%nF-+
%bgjJ`
struts.i18n.encoding "i_I<?aGB
The encoding to use for localization messages ~+}w>jIm{|
国际化信息内码 t=o0
#jo
lxx)l(&
struts.i18n.reload x7)j?2
Whether the localization messages should automatically be reloaded <|[G=GA\S!
是否国际化信息自动加载 5drc8_fZ
@H2c77%
struts.locale DW&%"$2
The default locale for the Struts application CRf !tsj@
默认的国际化地区信息 .|iMKRq
iZ
%KHqG
struts.mapper.class "{1`~pDj?
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \fIGMoy!
org.apache.struts2.dispatcher.mapper.ActionMapper接口 A Vf'"~?
UjxEbk5>^
struts.multipart.maxSize . > [d:0
The maximize size of a multipart request (file upload) v7&oHOk!
multipart请求信息的最大尺寸(文件上传用) 4$.$j=Ct."
0YK`wuZGS
struts.multipart.parser 6x|"1
G{
The org.apache.struts2.dispatcher.multipart. (T:OZmEO.
MultiPartRequest parser implementation for a multipart request (file upload) 6t/nM
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) P1KXvc}JGe
m}&cX Y
vaN}M)W/
struts.multipart.saveDir GSo&$T;B6
The directory to use for storing uploaded files l]t9*a]a
设置存储上传文件的目录夹 jN
9|q
1.*VliY
struts.objectFactory &<hDl<E
The com.opensymphony.xwork2.ObjectFactory implementation class ,(&jG^IpVJ
com.opensymphony.xwork2.ObjectFactory接口(spring) )@+lfIE(l
VWDXEa9
struts.objectFactory.spring.autoWire ^Z1t'-xZ
Whether Spring should autoWire or not Otq`4 5
是否自动绑定Spring z-};.!L^
6Y?%G>$6
struts.objectFactory.spring.useClassCache +c;/hM<IX.
Whether Spring should use its class cache or not ^*JpdmVhu
是否spring应该使用自身的cache n${,r
WeyH;P=
struts.objectTypeDeterminer [P~6O>a5p
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qYo"-D*
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ZI.;7G@|
ZS&>%G
struts.serve.static.browserCache ETU.v*HT]
If static content served by the Struts filter should set browser caching header properties or not *FhD%><
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0kC}qru'
`q
= e<$
struts.serve.static 4Ufx,]
Whether the Struts filter should serve static content or not ?4>uGaU\
是否struts过滤器应该提供静态内容 #=@H-ZuD7
T,N"8N{K"
struts.tag.altSyntax rHe*/nN%*
Whether to use the alterative syntax for the tags or not 4C AV)
是否可以用替代的语法替代tags 4Uz1~AuNxb
Pf,S`Uw;
struts.ui.templateDir 4HXqRFUD
The directory containing UI templates j7r! N^
UI templates的目录夹 LF o{,%B
'2)c;/-E
struts.ui.theme &"X6s%ZH|
The default UI template theme fzcPi9+
默认的UI template主题 UrAg*v!Qy
V.<$c1#=$
struts.url.http.port 6x18g(KbP
The HTTP port used by Struts URLs P$l-p'U-
设置http端口 +!_?f'kv`
r=57,P(:Ca
struts.url.https.port jvfVB'Tmr
The HTTPS port used by Struts URLs ?}f+PP,
设置https端口 F.;G6
O5}/OH|j
struts.url.includeParams gFO|)I N
The default includeParams method to generate Struts URLs iMgfF_r
在url中产生 默认的includeParams YA(_*h
<(|No3jx
`v2]Jk<
struts.velocity.configfile 4a'O#;ho
The Velocity configuration file path DGfhS` X
velocity配置文件路径 ?Q$LIoR
/48W]a}JS
struts.velocity.contexts %cIF()
List of Velocity context names >y
P`8Oq[
velocity的context列表 2kv%k3Q{
D+$ k
kk`BwRh)d;
struts.velocity.manager.classname , $;g'z!N
org.apache.struts2.views.velocity.VelocityManager implementation class P<+y%g(({
org.apache.struts2.views.velocity.VelocityManager接口名 m3|KIUP
'Na \9b(
struts.velocity.toolboxlocation -I, _{3.S
The location of the Velocity toolbox 44s
K2
velocity工具盒的位置 Y>OL2g
struts.xslt.nocache k:?+75?$
Whether or not XSLT templates should not be cached eFO+@
是否XSLT模版应该被缓存 $`nKq4Y