struts2的struts.properties配置文件详解 e p;_'
?!-2G
struts.action.extension z@biX
The URL extension to use to determine if the request is meant for a Struts action BaTE59W
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。
>kK
%Ow,.+m
struts.configuration 0=&Hm).
The org.apache.struts2.config.Configuration implementation class ueYZM<],
org.apache.struts2.config.Configuration接口名 Ssr
P
F\&R nDJ
struts.configuration.files UMw1&"0:
A list of configuration files automatically loaded by Struts dHzo_VV
struts自动加载的一个配置文件列表 ;Zc(qA
!B(6
struts.configuration.xml.reload #tdI;x3
Whether to reload the XML configuration or not uQ{ &x6.1
是否加载xml配置(true,false) ,`MUd0 n
5B@+$D[0?3
struts.continuations.package do%6P^qA
The package containing actions that use Rife continuations Z@ *^4Ve
含有actions的完整连续的package名称 W[:
n*h
-}{c;pT
struts.custom.i18n.resources BD9W-mF
Location of additional localization properties files to load U*=ebZno
加载附加的国际化属性文件(不包含.properties后缀) sUcx;<|BC
Y+syc dq
struts.custom.properties vVmoV0kGt
Location of additional configuration properties files to load Q'&oSPXSDd
加载附加的配置文件的位置 TB4|dj-%
Id(L}i(X
|28z4 .
struts.devMode Q\Fgc ;.U
Whether Struts is in development mode or not ,l#Ev{
是否为struts开发模式 1pVagLlb:7
-S
OP8G
struts.dispatcher.parametersWorkaround <|~X,g;f
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic )VID
;l;4
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Tz]t.]!&E
(qnzz!s
struts.enable.DynamicMethodInvocation xg k~y,F
Allows one to disable dynamic method invocation from the URL fn(KmuNA
允许动态方法调用 OW\r }
?k]^?7GN
struts.freemarker.manager.classname V lXUrJ9&
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8TZNvN4u
org.apache.struts2.views.freemarker.FreemarkerManager接口名 (\>3FwFHW|
9"KEHf!
struts.i18n.encoding r*fZS$e
The encoding to use for localization messages YN#i^(
国际化信息内码 <<W{nSm#
(PE x<r1
struts.i18n.reload i<l_z&
Whether the localization messages should automatically be reloaded +*]"Yo~]}
是否国际化信息自动加载 z;JyHC)
qI"Xh"
c?
struts.locale F$y3oX
The default locale for the Struts application Eq=~S O%
默认的国际化地区信息 lM~ 3yBy
_SC{nZ[
struts.mapper.class 1%68Pnqk
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class NKd}g
org.apache.struts2.dispatcher.mapper.ActionMapper接口 _o/LFLq
d
_)5Ks}
struts.multipart.maxSize 'hN_H}U
The maximize size of a multipart request (file upload) ,c<&)6FU]
multipart请求信息的最大尺寸(文件上传用) ^<49NUB>
Jw3VWc
]]
struts.multipart.parser L&ucTc=
The org.apache.struts2.dispatcher.multipart. jR[VPm=
MultiPartRequest parser implementation for a multipart request (file upload)
n@xC?D:t*
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) r#r L~Rsd}
2CcUClP$
A?i
~*#wE
struts.multipart.saveDir 4zyN>f|
The directory to use for storing uploaded files h|qTMwPr
设置存储上传文件的目录夹 X5@+M!`
#t
N9#w[K{
struts.objectFactory (iQ<
[3C=
The com.opensymphony.xwork2.ObjectFactory implementation class D$@5$./
com.opensymphony.xwork2.ObjectFactory接口(spring) vZMb/}-o
6G.(o
struts.objectFactory.spring.autoWire +~xY}
Whether Spring should autoWire or not prtNfwJz1j
是否自动绑定Spring .n$c+{
NULew]:5
struts.objectFactory.spring.useClassCache m1bkY#\ U|
Whether Spring should use its class cache or not (D2G.R\pr
是否spring应该使用自身的cache r@")MOGc
XhEZTg;
struts.objectTypeDeterminer nv$>iJ^~H
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class gOiZ8K!
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 3dO~Na`S
zF:
:?L~
struts.serve.static.browserCache Wo)$*?
If static content served by the Struts filter should set browser caching header properties or not mok94XuK)
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7R5m|h`M
X~UrAG}_
struts.serve.static ~mBY_[_s=
Whether the Struts filter should serve static content or not X$r5KJU
是否struts过滤器应该提供静态内容 ^^
>j2=
M./1.k&@
struts.tag.altSyntax K
HyVI6N[
Whether to use the alterative syntax for the tags or not U:r^4,Mz*
是否可以用替代的语法替代tags Q|KD$2rB
Z
FIy
struts.ui.templateDir ?)NgODU
The directory containing UI templates !NqLBrcv 0
UI templates的目录夹 M!i["($_
u@]rR&h`
struts.ui.theme tJe5`L
The default UI template theme SI`ems{1>c
默认的UI template主题 Xsk/U++
>o:y.2yCe
struts.url.http.port a``/x_EZMn
The HTTP port used by Struts URLs xs
1V?0
设置http端口 U8S<wf&
QXI#gA
=
struts.url.https.port D`'h8:\
The HTTPS port used by Struts URLs P(oGNKAS
设置https端口 HXm&`
}!uwWBw`
struts.url.includeParams qrHCr:~
The default includeParams method to generate Struts URLs y(<+=
在url中产生 默认的includeParams we0haK
ZAJ~Tbm[f
-{2Vz[ [
struts.velocity.configfile $~e55X'!+
The Velocity configuration file path f4O}WU}l{s
velocity配置文件路径 '7<^x>D|
lT?Vt`==~M
struts.velocity.contexts wZ5k|5KtW
List of Velocity context names qXprD.; }
velocity的context列表 =qvn?I^/
,\-4X
:x,dYJm
struts.velocity.manager.classname L)i6UAo
org.apache.struts2.views.velocity.VelocityManager implementation class a8YFH$Xh
org.apache.struts2.views.velocity.VelocityManager接口名 sa}.o Zp Q
vL#I+_ 2
struts.velocity.toolboxlocation ^S`N\X
The location of the Velocity toolbox xyP0haE
velocity工具盒的位置 *V_b/Vt
struts.xslt.nocache ki'<qa
Whether or not XSLT templates should not be cached )EK\3q
是否XSLT模版应该被缓存 4d_Az'7`4