struts2的struts.properties配置文件详解 /*;a6S8q
5=*i!c
_m
struts.action.extension --diG$x.
The URL extension to use to determine if the request is meant for a Struts action >!qtue7B
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 k>i`G5Dh
)^8[({r~
struts.configuration 4Y'Ne2M{
The org.apache.struts2.config.Configuration implementation class #8L:.,AYE
org.apache.struts2.config.Configuration接口名 khjdTq\\
]i075bO/
struts.configuration.files &KBDrJEX
A list of configuration files automatically loaded by Struts 5mV!mn:H:
struts自动加载的一个配置文件列表 8a)4>B
9_==C"F
struts.configuration.xml.reload 1?w=v|b:P)
Whether to reload the XML configuration or not !4<D^eh
是否加载xml配置(true,false) Ae=JG8Ht~
;ZuHv {=
struts.continuations.package xtCMK1#
x
The package containing actions that use Rife continuations J;<dO7 j5
含有actions的完整连续的package名称 fn/?I\
s#<fj#S
struts.custom.i18n.resources X*MK(aV3
Location of additional localization properties files to load Z^Um\f
加载附加的国际化属性文件(不包含.properties后缀) Z79 6;qk
u[KxI9Q
struts.custom.properties >VZxDJ$R
Location of additional configuration properties files to load v.*fJ
加载附加的配置文件的位置 $@kOMT
Vo^J2[U
#|8%h
struts.devMode v Cej( ))
Whether Struts is in development mode or not 59$PWfi-\
是否为struts开发模式 ?7pn%_S
> dVhIbG
struts.dispatcher.parametersWorkaround ~-NSIV:f
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic yp4[EqME
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) p&$PsgR
Ohgu*5!o
struts.enable.DynamicMethodInvocation >`3F`@1L0
Allows one to disable dynamic method invocation from the URL UhDf6A`]
允许动态方法调用 (;=|2N>7
#-Mr3
struts.freemarker.manager.classname dh%O {t
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Ax\d{0/oL2
org.apache.struts2.views.freemarker.FreemarkerManager接口名 "5dke^yk0
Uc_}="
struts.i18n.encoding pRh9+1EM;
The encoding to use for localization messages [;aM8N
国际化信息内码 /2d>nj
1P"{TMd?
struts.i18n.reload QKEtV
Whether the localization messages should automatically be reloaded 8ZbXGQ
是否国际化信息自动加载 gnzg(Y]5w
PX?%}~
v
struts.locale 9;I%Dv
The default locale for the Struts application W$wX[
默认的国际化地区信息 ._>03, "
\VEnP=*:W
struts.mapper.class 9W(&g)`
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \>*.+?97
org.apache.struts2.dispatcher.mapper.ActionMapper接口 |J`v
w
l
x;87MDs
struts.multipart.maxSize R}w}G6"\
The maximize size of a multipart request (file upload) z
&P1C,n)
multipart请求信息的最大尺寸(文件上传用) 5m'AT]5Tn_
d3\?:}o,
struts.multipart.parser %^E7Iqc
The org.apache.struts2.dispatcher.multipart. _(?`eWo
MultiPartRequest parser implementation for a multipart request (file upload) "9^b1UH<
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \tvL<U"'
bh5P98s
Wtw,YFT
struts.multipart.saveDir 6wu`;>
The directory to use for storing uploaded files >`&2]Wc)
设置存储上传文件的目录夹 )N~ p4kp
j7:r8? G
struts.objectFactory \z2y?"\?
The com.opensymphony.xwork2.ObjectFactory implementation class I+twI&GS
com.opensymphony.xwork2.ObjectFactory接口(spring) NwOV2E6@OW
6q'Q?Uw^
struts.objectFactory.spring.autoWire ,6MJW#~]
Whether Spring should autoWire or not Hmm0H6&u
是否自动绑定Spring 'MX|=K!C
!%}n9vr!}\
struts.objectFactory.spring.useClassCache )M"NMUuU"
Whether Spring should use its class cache or not e <{d{
是否spring应该使用自身的cache V,VL?J\
?(R#
struts.objectTypeDeterminer &qPezyt
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 451.VI}MR
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 68bvbig
Kv!:2br
struts.serve.static.browserCache ;p~!('{P
If static content served by the Struts filter should set browser caching header properties or not MYb^G\K
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 S?`0,F
r)-{~JA!
struts.serve.static Jb$G
Whether the Struts filter should serve static content or not 12L`Gi
是否struts过滤器应该提供静态内容 qHgtd+
I
4qE4 i:b
struts.tag.altSyntax <)LR
Whether to use the alterative syntax for the tags or not Ap?,y?
是否可以用替代的语法替代tags ?kZ-,@h:
;CS[Ja>e
struts.ui.templateDir >G"fMOOkW
The directory containing UI templates IQC[ewk
UI templates的目录夹 S-\wX.`R1
FsO-xG"@"
struts.ui.theme KI#v<4C$P
The default UI template theme >Q(\vl@N=
默认的UI template主题 5Hj/7~ =
@+zWLq!1pB
struts.url.http.port W//+[
The HTTP port used by Struts URLs hTO2+F*
设置http端口 *re?V9
NL
`
struts.url.https.port MUZ]*n&0
The HTTPS port used by Struts URLs >Ho=L)u
设置https端口 RuVk>(?WK%
"8ZV%%elp
struts.url.includeParams }OnU32P
The default includeParams method to generate Struts URLs `_GCS,/t
在url中产生 默认的includeParams ZRc^}5}WA
rxol7"2l
??B!UXi4R
struts.velocity.configfile XW8@c2jN\7
The Velocity configuration file path eLh35tw
velocity配置文件路径 3}phg
ns5Dydo{T
struts.velocity.contexts 19(x$=:
List of Velocity context names L.;x=w
velocity的context列表 ?&,6Y'"
rq7yNt
3k>#z%//
struts.velocity.manager.classname !wd
wo0
org.apache.struts2.views.velocity.VelocityManager implementation class xWa[qCr
org.apache.struts2.views.velocity.VelocityManager接口名 0&|M/
q[P> s{"
struts.velocity.toolboxlocation QaEiP n~
The location of the Velocity toolbox A0A|c JP
velocity工具盒的位置 W[`ybGR<
struts.xslt.nocache (>u1O V
Whether or not XSLT templates should not be cached ND?"1/s
是否XSLT模版应该被缓存 L3Y2HZ