struts2的struts.properties配置文件详解
}ktIG|GC
WaB0?jI
struts.action.extension HO<|EH~lu
The URL extension to use to determine if the request is meant for a Struts action n3p@duC4
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 1{N+B#*<[X
v?."`,e
struts.configuration mh8fJ6j29N
The org.apache.struts2.config.Configuration implementation class (7qlp*8.s
org.apache.struts2.config.Configuration接口名 EK# 11@0%
cAN!5?D\
struts.configuration.files (xG%H:6,
A list of configuration files automatically loaded by Struts lrJV"H
struts自动加载的一个配置文件列表 #ZJ 1\Ov
6,5h4[eF*
struts.configuration.xml.reload H~yHSm 3
Whether to reload the XML configuration or not (GF}c\=T7
是否加载xml配置(true,false) {dxFd-K3
AE:(:U\
struts.continuations.package s~{rC{9X
The package containing actions that use Rife continuations \Vme\Ke*v)
含有actions的完整连续的package名称 ]EHsRd
(#y2RF8j
struts.custom.i18n.resources :!_l@ =l
Location of additional localization properties files to load =0?5hxM d
加载附加的国际化属性文件(不包含.properties后缀) '1D$ ;
&.E/%pQ`
struts.custom.properties l<1zLA~G
Location of additional configuration properties files to load _>vH%FY
加载附加的配置文件的位置 )n)AmNpq
v7pu
(l%?YME
struts.devMode poAJl;T
Whether Struts is in development mode or not `qJJ{<1&U
是否为struts开发模式 t*= nI $
4^r6RS@z
struts.dispatcher.parametersWorkaround 9}QIqH\p
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ug+ K:YUq
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) vu)EB!%[
I8! .n
struts.enable.DynamicMethodInvocation ^B1Ft5F`b
Allows one to disable dynamic method invocation from the URL 1 ?BLL;[a8
允许动态方法调用 ulzX$
5Xr})%L
struts.freemarker.manager.classname w=]A;GgA
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +c/!R|h=S
org.apache.struts2.views.freemarker.FreemarkerManager接口名 [;{xiW4V]
8SU0q9X.
struts.i18n.encoding VWzQXo
The encoding to use for localization messages VHPqEaR
国际化信息内码 &Y^4>y%
Ye]K 74M.
struts.i18n.reload |Ogh-<|<
Whether the localization messages should automatically be reloaded ?#GTD?3d
是否国际化信息自动加载 G%k&|
T;3qE1c
struts.locale eyh}O
The default locale for the Struts application a>l,H#w*vW
默认的国际化地区信息 C)c*s C5N
DTH}=r-
struts.mapper.class f3Zf97i
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class H
~3.F
org.apache.struts2.dispatcher.mapper.ActionMapper接口 vv&< 7[
?{aC-3VAT
struts.multipart.maxSize !U:&8Le
The maximize size of a multipart request (file upload) k={1zl ;
multipart请求信息的最大尺寸(文件上传用) md<^x(h"<
EUs9BJFP
struts.multipart.parser x-c5iahp'
The org.apache.struts2.dispatcher.multipart. L754odc
MultiPartRequest parser implementation for a multipart request (file upload) tl /i
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) zWU]4;,"
VoYL}67c
p*5_+u
struts.multipart.saveDir _cJ)v/]
The directory to use for storing uploaded files 2]?=\_T
设置存储上传文件的目录夹 s<"|'~<n
h2x9LPLBxT
struts.objectFactory "p3<-06
The com.opensymphony.xwork2.ObjectFactory implementation class } r(b:}DN
com.opensymphony.xwork2.ObjectFactory接口(spring) %\,9S`0
OU.}H $x"
struts.objectFactory.spring.autoWire Wk7E&?-:6
Whether Spring should autoWire or not yYGs]+
是否自动绑定Spring u;
KM[FmK
-5
struts.objectFactory.spring.useClassCache ,ja!OZ0$
Whether Spring should use its class cache or not awo'#Y2>
是否spring应该使用自身的cache bwhH2 ^ !
'ux!:b"
struts.objectTypeDeterminer Nc(CGl:
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <$ssU{5
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 9s_^?q
y>w;'QR&a
struts.serve.static.browserCache { rLgyrj$
If static content served by the Struts filter should set browser caching header properties or not s!?uLSEdb
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "P#1=
dq.U#Rhrx
struts.serve.static TaD;_)(
Whether the Struts filter should serve static content or not BVeMV4
是否struts过滤器应该提供静态内容 X-nC2[tu'W
Jn=;gtD-*
struts.tag.altSyntax Ur]$@N
Whether to use the alterative syntax for the tags or not (eU 4{X7
是否可以用替代的语法替代tags P~{8L.w!>W
";=!PL
struts.ui.templateDir 0D 2I)E72o
The directory containing UI templates CnL=s6XD'
UI templates的目录夹 9\hI:rI
}~+,x#
struts.ui.theme ':;k<(<-
The default UI template theme v
=y
2
默认的UI template主题 $O*@Jg=
2%fIe
struts.url.http.port &
V>rq'~;
The HTTP port used by Struts URLs sq`Xz8u
设置http端口 i:aW
.QZ.
:sg}e
struts.url.https.port gm)Uyr$
The HTTPS port used by Struts URLs _xv3UzD
设置https端口 ~>(~2083*;
z5$Q"Y.D
struts.url.includeParams I)'bf/6?
The default includeParams method to generate Struts URLs SdYf^@%}F
在url中产生 默认的includeParams I<940PZ
-:ucp2
]S&ki}i&
struts.velocity.configfile <r:AJ;
The Velocity configuration file path @p*)^D6E\
velocity配置文件路径 nte?a e
rT[qh+KWe
struts.velocity.contexts qMJJB l
List of Velocity context names =p'+kS+
velocity的context列表 &kIeW;X
_F%`7j
4`#Q
struts.velocity.manager.classname j-ej7
org.apache.struts2.views.velocity.VelocityManager implementation class 3>1^$0iq
org.apache.struts2.views.velocity.VelocityManager接口名 !}TsFa
|2q3spd
struts.velocity.toolboxlocation [oTe8^@[
The location of the Velocity toolbox JaY"Wfc
velocity工具盒的位置 v~Q'm1!O4\
struts.xslt.nocache _h!.gZB3
Whether or not XSLT templates should not be cached #; ?3kuq(
是否XSLT模版应该被缓存 ~+dps i