struts2的struts.properties配置文件详解 *2/qm:gB
H.iCYD_=
struts.action.extension Y>3zpeQ!&
The URL extension to use to determine if the request is meant for a Struts action tH; 6Mp;f
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 7R[7M%H
^7>~y(
struts.configuration !otseI!!/
The org.apache.struts2.config.Configuration implementation class %cDGs^lgA
org.apache.struts2.config.Configuration接口名 1E!.E=Y?M
6H2Bf*i
struts.configuration.files -}4CY\d6'
A list of configuration files automatically loaded by Struts H[:lQ\
struts自动加载的一个配置文件列表 ,#BD/dF
sKW~+]
struts.configuration.xml.reload T]Q4=xsv
Whether to reload the XML configuration or not tkm@&e=e%
是否加载xml配置(true,false) E3p$^['vx
whe%o
struts.continuations.package lE%KzX?&
The package containing actions that use Rife continuations H/`@6, j
含有actions的完整连续的package名称 A-m IWTa
3%r/w7Fc
struts.custom.i18n.resources @Oz3A<M
Location of additional localization properties files to load ~pH!.|k-&
加载附加的国际化属性文件(不包含.properties后缀) !/H `
=?4[:#Rh
struts.custom.properties ]O:u9If
Location of additional configuration properties files to load }s?w-u+(c6
加载附加的配置文件的位置 xX<T5Ls
|1H9,:*%
n|WSnm,W
struts.devMode o3Yb2Nw
Whether Struts is in development mode or not eu)""l
是否为struts开发模式 ;Q&9t
fup?Mg-
struts.dispatcher.parametersWorkaround d^54mfgI
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 6qmV/DL
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)
,_V/W'
Tt{X(I} J
struts.enable.DynamicMethodInvocation '`gnJX
JO
Allows one to disable dynamic method invocation from the URL !|V_DsP
允许动态方法调用 ,>qtnwvlHP
L Y4bn)Qf
struts.freemarker.manager.classname $s
,g&7*-
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class si~zg\uY
org.apache.struts2.views.freemarker.FreemarkerManager接口名 .PT7
F@ |(
struts.i18n.encoding @6|0H`kv
The encoding to use for localization messages [oBRH]9cq
国际化信息内码 Ivcy=W=Jk
hN0h'JJ[7
struts.i18n.reload T
;84Sv
Whether the localization messages should automatically be reloaded "+ {2!
是否国际化信息自动加载 <2kv/
O5:U2o-
struts.locale 'S74Ys=-0
The default locale for the Struts application Nf* .r
默认的国际化地区信息 D|$0~1y
F@ pf._c
struts.mapper.class K&{ _s
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Lwm /[
org.apache.struts2.dispatcher.mapper.ActionMapper接口 !]7b31$M_
jp}.W
struts.multipart.maxSize =^ Ws/k
The maximize size of a multipart request (file upload) (7,Q4T
multipart请求信息的最大尺寸(文件上传用) c3rj
:QK6I
opn6 C )
struts.multipart.parser wNl6a9#
The org.apache.struts2.dispatcher.multipart. *'-C/
MultiPartRequest parser implementation for a multipart request (file upload) ;#Qv
)kS*
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) bhg6p$411
6Rif&W.xy
GU1cMe
struts.multipart.saveDir 5i{J0/'Xu)
The directory to use for storing uploaded files sm[zE/2b
设置存储上传文件的目录夹 FncP,F$8
wj'fdrY5h
struts.objectFactory "5$p=|
The com.opensymphony.xwork2.ObjectFactory implementation class bs%
RWwn
com.opensymphony.xwork2.ObjectFactory接口(spring) FB,rQ9D
s/>0gu]A8
struts.objectFactory.spring.autoWire ./DlHS;
Whether Spring should autoWire or not >D##94PZ
是否自动绑定Spring h<'tQGC
Kx[+$Qt
struts.objectFactory.spring.useClassCache )B-[Q#*A-
Whether Spring should use its class cache or not #@V<{/;49
是否spring应该使用自身的cache .2rpQa/h
;sUvY* Bcm
struts.objectTypeDeterminer cw0@Z0
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class RvU'8Y?>w
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /IX555/dR1
(?7}\B\
struts.serve.static.browserCache -y_q
If static content served by the Struts filter should set browser caching header properties or not 6r%i=z
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3*7 klu
e8_EB/)_Z
struts.serve.static M
$EHx[*5
Whether the Struts filter should serve static content or not HpeU'0u0VK
是否struts过滤器应该提供静态内容 E)p[^1WC
^xgPL'
struts.tag.altSyntax .DnG}884
Whether to use the alterative syntax for the tags or not KL(sVj^e
是否可以用替代的语法替代tags 7FaF]G
/{[tU-}qJ
struts.ui.templateDir #{k+^7aQ
The directory containing UI templates cj2^wmkB
UI templates的目录夹 u]9 #d^%V
NYxL7 :9
struts.ui.theme 8U]mr+
The default UI template theme 09Q5gal
默认的UI template主题 nemC-4}
A 3q#,%
struts.url.http.port !iX/Ni:
The HTTP port used by Struts URLs hSps9*y
设置http端口 s nNd7v.U6
sQrM"i0Y>
struts.url.https.port Sy*p6DP
The HTTPS port used by Struts URLs ?<
Ma4yl</
设置https端口 ofYZ!-V
:UKc:JVNM
struts.url.includeParams ycIcM~<4
The default includeParams method to generate Struts URLs 8{&.[SC7
在url中产生 默认的includeParams %l%2 hvGZ
?d3<GhzlR3
w&hCt