struts2的struts.properties配置文件详解 QE=Cum
C W7E2
^P$
struts.action.extension FWq6e,
The URL extension to use to determine if the request is meant for a Struts action gE`G3kgn{
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Rr|VGtg
vXq=f:y4
struts.configuration Xi4!7IOmo
The org.apache.struts2.config.Configuration implementation class `a3q)}*Y
org.apache.struts2.config.Configuration接口名 ` {k>I^Pg
cx1U6A+
struts.configuration.files J=Ak+J
A list of configuration files automatically loaded by Struts b+[9)B)a?
struts自动加载的一个配置文件列表 I&q:w\\z8|
|t4k&Dkx`
struts.configuration.xml.reload RR75ke[Hs
Whether to reload the XML configuration or not gt';_
是否加载xml配置(true,false) gupB8 .!
N+"Y@X yg
struts.continuations.package 4+$<G /K
The package containing actions that use Rife continuations {5#P1jlT
含有actions的完整连续的package名称 Olj]A]v}
(X)$8y
struts.custom.i18n.resources y~SFlv36
Location of additional localization properties files to load (W5E\hjJ
加载附加的国际化属性文件(不包含.properties后缀) x98LOO
&oWWc$
struts.custom.properties *O)_D
bj
Location of additional configuration properties files to load f"k?Ix\
e
加载附加的配置文件的位置 t TA6 p
U^+9l?ol
^;6~=@#*C
struts.devMode 83412@&
Whether Struts is in development mode or not $Y,,e3R3
是否为struts开发模式 2^ ^;Q:
f8#WT$Ewy
struts.dispatcher.parametersWorkaround Q= + Frsk
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic CbQ@l@d]
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) PUltn}M
eG"iJ%I
struts.enable.DynamicMethodInvocation FT[oM<M\Xd
Allows one to disable dynamic method invocation from the URL W ;P1T"*A
允许动态方法调用 T9t9])
HAf.LdnzS
struts.freemarker.manager.classname q)G*"
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class AU^Wy|i5Q
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Uf4QQ`c#
"*RCV6{
struts.i18n.encoding O .TFV.
The encoding to use for localization messages
CV]PCq!
国际化信息内码 cuq7eMG6z
:`:<JA3,
struts.i18n.reload ?9H7Twi+T
Whether the localization messages should automatically be reloaded i#kRVua/
是否国际化信息自动加载 +A~lPXAXW
~<v{CBq[
struts.locale C;dA?Es>R
The default locale for the Struts application s.=)p"pTd
默认的国际化地区信息 z9w@-])
qE$.a[
struts.mapper.class .Z%7+[
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;cp-jY_U
org.apache.struts2.dispatcher.mapper.ActionMapper接口 :]y;t/
@]3(l
struts.multipart.maxSize e!tgWYN
The maximize size of a multipart request (file upload) *n}9_V%
multipart请求信息的最大尺寸(文件上传用) Q Aygr4\X^
45kMIh~~X
struts.multipart.parser :vurU$\
The org.apache.struts2.dispatcher.multipart. D1o 8Wo
MultiPartRequest parser implementation for a multipart request (file upload) q hK;#<#
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Z"Et]xSU%$
V9Au\
R)<Fqa7Tm
struts.multipart.saveDir !c SD9q*
The directory to use for storing uploaded files =_^g]?5i
设置存储上传文件的目录夹 JYv&I t
D|e 6$O5o
struts.objectFactory 6Otv[8^}
The com.opensymphony.xwork2.ObjectFactory implementation class y{j>4g$:z
com.opensymphony.xwork2.ObjectFactory接口(spring) ?MpGzCPa
X\1D[n:
struts.objectFactory.spring.autoWire (a^F`#]
Whether Spring should autoWire or not XJ?@l3D:
是否自动绑定Spring }PED#Uv
;A-Ef
struts.objectFactory.spring.useClassCache &v 5yo}s
Whether Spring should use its class cache or not /)oxuk&}c
是否spring应该使用自身的cache N" E\o,_
)s6tjlf8
struts.objectTypeDeterminer L {B#x@9tQ
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class nF=Ig-NX^
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 A=XM(2{aN
kY_UY~E
struts.serve.static.browserCache HnY: gu
If static content served by the Struts filter should set browser caching header properties or not @F3 d9t-
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?nt6vqaV
w~Y#[GW
struts.serve.static 2ZE4^j|
Whether the Struts filter should serve static content or not
VJ=!0v
是否struts过滤器应该提供静态内容 ImF/RKI~ "
!0fK*qIL
struts.tag.altSyntax YO,GZD`-o
Whether to use the alterative syntax for the tags or not NEGpf[$
是否可以用替代的语法替代tags C
y&L,
Pc4sReo'
struts.ui.templateDir Nm;ka&'
The directory containing UI templates 4e%SF|(Y'h
UI templates的目录夹 C}00S{nAZ
~&yaIuW<
struts.ui.theme SnXYq7`t
The default UI template theme [n:R]|^a
默认的UI template主题 WrG)&&d
MT&i5!Z
struts.url.http.port LXK+WB/s
The HTTP port used by Struts URLs :^ cA\2=
设置http端口 N86Hn]#
](a<b@p
struts.url.https.port HX=`kkX
The HTTPS port used by Struts URLs 6'Lij&,f?{
设置https端口 SgY>$gP9S
;XTP^W!6f
struts.url.includeParams Z#Zk)
The default includeParams method to generate Struts URLs P"xP%zqo
在url中产生 默认的includeParams 9wI1/>
GJ((eAS)
8<g5.$xyz
struts.velocity.configfile t=yM}#r$
The Velocity configuration file path U|y+k`
velocity配置文件路径 oR5`-
f-23.]`v
struts.velocity.contexts QiZThAe
List of Velocity context names \
(X~Z
velocity的context列表 dwmj*+
ikofJl]9
!J+5l&
struts.velocity.manager.classname ci*Z9&eS+
org.apache.struts2.views.velocity.VelocityManager implementation class gN(8T_r
org.apache.struts2.views.velocity.VelocityManager接口名 HZM&QZHx)`
M~wJe@bc
struts.velocity.toolboxlocation G8<,\mg+
The location of the Velocity toolbox <)"Mi}Q[)p
velocity工具盒的位置 ffSecoX
struts.xslt.nocache O@EpRg1
Whether or not XSLT templates should not be cached 0h#' 3z<
是否XSLT模版应该被缓存 4wK!)Pwq