struts2的struts.properties配置文件详解 ;3/}"yG<p
b23A&1X
struts.action.extension n 0=]C%wr
The URL extension to use to determine if the request is meant for a Struts action &|XgWZS5
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 U(f@zGV
nG'Yo8I^5
struts.configuration B!Wp=9)G
The org.apache.struts2.config.Configuration implementation class X)!XR/?
org.apache.struts2.config.Configuration接口名 futYMoV
%AO6=
struts.configuration.files >\1twd{u]
A list of configuration files automatically loaded by Struts E,m|E]WP
struts自动加载的一个配置文件列表 pX_
Dd1k?
struts.configuration.xml.reload <~dfp
Whether to reload the XML configuration or not QG*hQh
是否加载xml配置(true,false)
aA4RC0'
iAH,f5T
struts.continuations.package [k$GUU,jY
The package containing actions that use Rife continuations lWc[Q1
含有actions的完整连续的package名称 nDvfb*\
sc]#T)xG
struts.custom.i18n.resources qefp3&ls
Location of additional localization properties files to load Gt*<Awn8
加载附加的国际化属性文件(不包含.properties后缀) :z8/iD y
>3/mV<g f
struts.custom.properties _5 Lcr)
Location of additional configuration properties files to load |6Y:W$7k
加载附加的配置文件的位置 8~(,qU8- N
\r
IOnZ.WK
Hpix:To
struts.devMode +1wEoU.l2
Whether Struts is in development mode or not 1R}9k)JQ
是否为struts开发模式 n=-vOa%
(LK@w9)i;
struts.dispatcher.parametersWorkaround
!U?C_
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Y)k"KRW+
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Ze%S<xT!O
K ar!
struts.enable.DynamicMethodInvocation p1'q{E+o*
Allows one to disable dynamic method invocation from the URL vT#R>0@mi
允许动态方法调用 D N!V".m`J
;[ QIHA!
struts.freemarker.manager.classname C+/EPPi
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Y!j/,FU
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^!B]V>L-
diNSF-wi,,
struts.i18n.encoding gN}$$vS
The encoding to use for localization messages <zqIq9}r
国际化信息内码 )s>|;K{
`mcb0
struts.i18n.reload [,Ul
Whether the localization messages should automatically be reloaded K-]) RIM
是否国际化信息自动加载 WblH}
QyA^9@iVs
struts.locale #Tc`W_-
The default locale for the Struts application Mcc%&j
默认的国际化地区信息 3DO*kM1s@
oPs asa
struts.mapper.class B4un6-<i
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2`Bb9&ut>
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Q.$/I+&j
P>q~ocq<
struts.multipart.maxSize U>kaQ54/
The maximize size of a multipart request (file upload) <&[`
+
multipart请求信息的最大尺寸(文件上传用) #*:1C h]B
<q'?[aKvR
struts.multipart.parser
zr ez*
The org.apache.struts2.dispatcher.multipart. ;L:UYhDbUx
MultiPartRequest parser implementation for a multipart request (file upload) rWWpP<
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) "zw{m+7f,
]iTP5~8U
O)^F z:
struts.multipart.saveDir kR1
12J9P
The directory to use for storing uploaded files ]foS.D,
设置存储上传文件的目录夹 ,sj(g/hg
c
k[uvH
struts.objectFactory )PR`irw
The com.opensymphony.xwork2.ObjectFactory implementation class <,O|fY%
com.opensymphony.xwork2.ObjectFactory接口(spring) yUcU-pQ
4%}iKoT
struts.objectFactory.spring.autoWire G-D}J2r=F
Whether Spring should autoWire or not Ox
,Rk
是否自动绑定Spring [.l,#-vp
Y|mtQE?c
struts.objectFactory.spring.useClassCache 0;a1 0b
Whether Spring should use its class cache or not !JdZ0l
是否spring应该使用自身的cache e lM<S3
UHV"<9tk
struts.objectTypeDeterminer \gT({XU?
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class q !}~c
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vZQraY nJ
R,.qQF\*
struts.serve.static.browserCache yuq o ^i
If static content served by the Struts filter should set browser caching header properties or not lw8t#_P
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Jm=3%H
@=g{4(zR^
struts.serve.static DCa=o
Whether the Struts filter should serve static content or not ;]R5:LbXS
是否struts过滤器应该提供静态内容 KKk<wya&O
Y A+R!t:F{
struts.tag.altSyntax d?5oJ'JU
Whether to use the alterative syntax for the tags or not 2 .Xx)(>
是否可以用替代的语法替代tags 9[~.{{Y
PQi(Oc
struts.ui.templateDir V,Bol(wY
The directory containing UI templates a-#$T)mmfj
UI templates的目录夹 L
i%i s<'
struts.ui.theme v\(6uej^
The default UI template theme +bso4 }rS
默认的UI template主题 q+qF;7dN@
[fwk[qFa
struts.url.http.port K
d#(eGe
The HTTP port used by Struts URLs ~"bBwPI
设置http端口 LCXWpUj~
q( EN]W],
struts.url.https.port Ta3* G
The HTTPS port used by Struts URLs ?;w`hA3ei
设置https端口 t\:=|t,
SPe%9J+
struts.url.includeParams Bvj
The default includeParams method to generate Struts URLs e~he#o[%a
在url中产生 默认的includeParams Q4Wz5n1yp7
HOPl0fY$L
6%9 kc+
9
struts.velocity.configfile lP4s"8E`h
The Velocity configuration file path N.|zz)y
velocity配置文件路径 @G>eCj
B)d 4]]4\\
struts.velocity.contexts "Qc4v@~)
List of Velocity context names 4K~>
velocity的context列表 am'K$s
W3('1
Y HgNL LZ?
struts.velocity.manager.classname o*~=NoR
org.apache.struts2.views.velocity.VelocityManager implementation class Ke[`zui@?
org.apache.struts2.views.velocity.VelocityManager接口名 h0x'QiCc
Jz0AYiCq
struts.velocity.toolboxlocation _/ 5
The location of the Velocity toolbox vEE\{1
velocity工具盒的位置 Vv`94aQTD
struts.xslt.nocache S]}}r)
Whether or not XSLT templates should not be cached -:!Wds
是否XSLT模版应该被缓存 lkp$rJ#6