struts2的struts.properties配置文件详解 bRY4yT
I=3B
5u
struts.action.extension bHlD m~5
The URL extension to use to determine if the request is meant for a Struts action -X6\[I:+A
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 '/n%}=a=
x1BDvTqW
struts.configuration UlLM<33_)
The org.apache.struts2.config.Configuration implementation class JXD?a.vy^q
org.apache.struts2.config.Configuration接口名 $TH'"XK
,AFC 1t[0
struts.configuration.files EzeDShN=J
A list of configuration files automatically loaded by Struts 4N0W& Dy
struts自动加载的一个配置文件列表 ;^*+:e
<LOx.}fv
struts.configuration.xml.reload d%[`=fs]|m
Whether to reload the XML configuration or not n+A'XBHk
是否加载xml配置(true,false) !D|pbzQc8
d~xU?)n)
struts.continuations.package (qq$y
#$
The package containing actions that use Rife continuations i32_ZB Z?y
含有actions的完整连续的package名称 (Mire%$h
'"G
%0y
struts.custom.i18n.resources +h9l%Pz
Location of additional localization properties files to load +X|m>9
加载附加的国际化属性文件(不包含.properties后缀) Wvzzjcr(j
N4JqW
struts.custom.properties Q,`2DHhK
Location of additional configuration properties files to load v1tN
DyM6
加载附加的配置文件的位置 6{,K7FL
}G:uzud10
S<bz7
k9
struts.devMode j@_) F^12
Whether Struts is in development mode or not W;)FNP|MT
是否为struts开发模式 E]U3O>hf
+H m+#o
struts.dispatcher.parametersWorkaround X6"^:)&1M
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic O+UV\
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9OO_Hp#|9
6pdl,5[x-
struts.enable.DynamicMethodInvocation Lb3K};SIV
Allows one to disable dynamic method invocation from the URL 2
vJ[vsrFv
允许动态方法调用 0qV*d
fG[3%e
struts.freemarker.manager.classname DJ2]NA$Q*
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *Yk8Mj^_h
org.apache.struts2.views.freemarker.FreemarkerManager接口名 e7)%=F/)
(8eNZ*+mO
struts.i18n.encoding N@du.d:
The encoding to use for localization messages 1p"EE~v
国际化信息内码 i2%m}S;D9
,B/p1^;.
struts.i18n.reload :pF]TY"K.
Whether the localization messages should automatically be reloaded O]r3?=
是否国际化信息自动加载 la"A$Tbu~
G*wW&R)
struts.locale re 1k]
The default locale for the Struts application g:3'x/a1
默认的国际化地区信息 QGCdeE$K
r)@&2b"q
struts.mapper.class ("M#R!3
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |% YzGgp7
org.apache.struts2.dispatcher.mapper.ActionMapper接口 :,z3:PL
zt>_)&b
struts.multipart.maxSize *e"GQd?
The maximize size of a multipart request (file upload) X!A]V:8dk
multipart请求信息的最大尺寸(文件上传用) sz2SWk^&
r/$)c_x`
struts.multipart.parser L)nVpqm
The org.apache.struts2.dispatcher.multipart. O[(HE8E
MultiPartRequest parser implementation for a multipart request (file upload) +}L3T"
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~1]2A[`s!
LU IT=+
m+8b2H:V
struts.multipart.saveDir xS\QKnG.
The directory to use for storing uploaded files W<hdb!bE
设置存储上传文件的目录夹 |I^Jn@Mq:
9xS`@ "`
struts.objectFactory ;>8TNB e!
The com.opensymphony.xwork2.ObjectFactory implementation class +(P43XO08
com.opensymphony.xwork2.ObjectFactory接口(spring) !DUg"o3G>
<{xAvN(:
struts.objectFactory.spring.autoWire 5Z1Do^
Whether Spring should autoWire or not V-U
^O45
是否自动绑定Spring lX k-86[M
2WECQl=r
struts.objectFactory.spring.useClassCache ]Q_G /e
Whether Spring should use its class cache or not 4bJ2<j
是否spring应该使用自身的cache #vZ]2Ud=2
0N[DV]
struts.objectTypeDeterminer .yh2ttf<gB
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {S:3
FI
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 uV$d7(N}"
]\mb6Hc
struts.serve.static.browserCache Fh4w0u*Q
If static content served by the Struts filter should set browser caching header properties or not ].T;x|
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5!Mp#lO
C`T5d
struts.serve.static h/bYtE
Whether the Struts filter should serve static content or not ?UhAjtYIS
是否struts过滤器应该提供静态内容 }/}`onRZ
KA{DN!
struts.tag.altSyntax GvtI-\h]
Whether to use the alterative syntax for the tags or not 3R[J,go
是否可以用替代的语法替代tags E9*?G4P{l
1YD.jU^;HD
struts.ui.templateDir b|@op>UZ
The directory containing UI templates w,#W&>+&
UI templates的目录夹 l'lDzB+.*
#_L&
struts.ui.theme #cF8)GC
The default UI template theme ao5yW;^y
默认的UI template主题 ^V,/4u
*>*/|
struts.url.http.port ?,e:c XhE2
The HTTP port used by Struts URLs Bv]wHPun
设置http端口 Y},GZ ^zqy
@' :um
struts.url.https.port x<7` 109]
The HTTPS port used by Struts URLs w8#>xV^~
设置https端口 \R6T"U
R M+K":p
struts.url.includeParams 0Lz56e'j
The default includeParams method to generate Struts URLs Q/`o6xv
在url中产生 默认的includeParams tYNt>9L|
Wq&c,H
!4cdP2^P
struts.velocity.configfile ZO6bG$y64
The Velocity configuration file path @z JZoJL]J
velocity配置文件路径 #_sVB~sn@
"EkO>M/fr
struts.velocity.contexts > 5:e1a?9
List of Velocity context names fTtSx_}3H
velocity的context列表 vjRD?kF
6}lEeMRW
Q>g$)-8
struts.velocity.manager.classname eV+wnE?SB5
org.apache.struts2.views.velocity.VelocityManager implementation class J` --O(8Ml
org.apache.struts2.views.velocity.VelocityManager接口名 oOSyOD
}'v?Qq
struts.velocity.toolboxlocation F9J9pgVP
The location of the Velocity toolbox DJjDKVO5t
velocity工具盒的位置 >mSl~.I2
struts.xslt.nocache #@"rp]1xv
Whether or not XSLT templates should not be cached >ZsK5v
是否XSLT模版应该被缓存 w7V
W