struts2的struts.properties配置文件详解 I|Gp$uq _
Sf8{h|71
struts.action.extension M'/aZ#
b
The URL extension to use to determine if the request is meant for a Struts action i7ly[6{^pr
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 k!{p7*0
#^]n0!
struts.configuration HJY2#lSha6
The org.apache.struts2.config.Configuration implementation class B-r0"MX&
org.apache.struts2.config.Configuration接口名 vY_-Ranj#.
h;0S%ZC
struts.configuration.files =)7s $
p
A list of configuration files automatically loaded by Struts D|.ic!w'
struts自动加载的一个配置文件列表 bwl|0"f+`
@/1w4'M
struts.configuration.xml.reload O]m+u
Whether to reload the XML configuration or not \7*`}&
是否加载xml配置(true,false) y\x+
h5K$mA5
struts.continuations.package }-@`9(o`)
The package containing actions that use Rife continuations s8h-,@p
含有actions的完整连续的package名称 B2O} 1.
M8TSt\
struts.custom.i18n.resources 28=O03q
Location of additional localization properties files to load ^k\e8F/
加载附加的国际化属性文件(不包含.properties后缀) k]I0o)+O.
x|5k<CiA
struts.custom.properties 9WR6!.y#f
Location of additional configuration properties files to load ~_!F01s
加载附加的配置文件的位置 u#@Q:tnN_
.e3+s*
Q6r7.pk"SU
struts.devMode 2j&AiD
Whether Struts is in development mode or not nt@aYXK4|
是否为struts开发模式 ;"m ,:5%
%?Ev|:i`@
struts.dispatcher.parametersWorkaround =*LS%WI
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic mtjh`
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) WH\))y-
Alxx[l\<J
struts.enable.DynamicMethodInvocation +) m_o"hl
Allows one to disable dynamic method invocation from the URL ;I!MLI
允许动态方法调用 s4uhsJL V$
f-71~
struts.freemarker.manager.classname $81*^
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class bv*,#Qm
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~Onoe $A[<
r#B+(X7LM
struts.i18n.encoding 0a "c2J
The encoding to use for localization messages fP `b>]N_
国际化信息内码 s]JF0584
O7 $hYk
struts.i18n.reload |x-S&-
Whether the localization messages should automatically be reloaded X7g1:L1Ys
是否国际化信息自动加载 go<W( ,O
ez6EjUk
struts.locale !dC<4qZ\C
The default locale for the Struts application xcf%KXJf6
默认的国际化地区信息 |UxG $M(
mFZ?hOyP.
struts.mapper.class _Iv6pNd/
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^:Gie
org.apache.struts2.dispatcher.mapper.ActionMapper接口 bG(3^"dS
?28N ^
struts.multipart.maxSize ;{"+g)u
The maximize size of a multipart request (file upload) DY?Kfvef
multipart请求信息的最大尺寸(文件上传用) X]dwX%:Z!j
'4#}e[e
struts.multipart.parser `6xkf&Kt
The org.apache.struts2.dispatcher.multipart. ynhmMy%
MultiPartRequest parser implementation for a multipart request (file upload) qDfd. gL
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) CLJ;<
8!Ww J
Oe
7!JQB
struts.multipart.saveDir
#c66)
The directory to use for storing uploaded files y;o^- O
设置存储上传文件的目录夹 H"dJ6
N/K.%<h
struts.objectFactory x"
L20}
The com.opensymphony.xwork2.ObjectFactory implementation class u!W0P6
com.opensymphony.xwork2.ObjectFactory接口(spring) 07^iP>?
X'qU*Eo
struts.objectFactory.spring.autoWire _ "VkGG
Whether Spring should autoWire or not n@,G8=J?
是否自动绑定Spring d*%`!G
F ;2w1S^
struts.objectFactory.spring.useClassCache R'@9]99
Whether Spring should use its class cache or not AGYc |;
是否spring应该使用自身的cache %s(k_|G+4
(j3xAA
struts.objectTypeDeterminer K$E3QVa
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class xe`
</
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :dQ B R
ZU%[guf
struts.serve.static.browserCache ]33>m|?@
If static content served by the Struts filter should set browser caching header properties or not sv&;Y\2c
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 U5.LDv;
;k>&FWEG
struts.serve.static 2
Cv4=S
Whether the Struts filter should serve static content or not qtQ6cqLd
是否struts过滤器应该提供静态内容 5?F__Hx*2
ei[j1F
struts.tag.altSyntax .Lsavpo
Whether to use the alterative syntax for the tags or not N%*5 T[.
是否可以用替代的语法替代tags <BMXCk
E{Ov>osq
struts.ui.templateDir \Yc'~2n
The directory containing UI templates r'HtZo$^R
UI templates的目录夹 l^pA2yh|
&p4&[H?
struts.ui.theme 6&