struts2的struts.properties配置文件详解 {S2?
}
rJ 7yq|^Z
struts.action.extension s J~WzQ
The URL extension to use to determine if the request is meant for a Struts action JS{trqc1d
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 T#:n7$M|?A
2S#|[wq(
struts.configuration $u-yw1FT
The org.apache.struts2.config.Configuration implementation class J3P)oM[
org.apache.struts2.config.Configuration接口名 G;k#06
6B .x=
struts.configuration.files [flx/E
A list of configuration files automatically loaded by Struts ;wF 0s
struts自动加载的一个配置文件列表 Q
xg)Wb#
J~,Ny_L
struts.configuration.xml.reload *~H\#N|x
Whether to reload the XML configuration or not W2 p&LP
是否加载xml配置(true,false) 1w|C+m/(
%M
KZ':m
struts.continuations.package I%qZMoS1h
The package containing actions that use Rife continuations Kp.d#W_TX
含有actions的完整连续的package名称 @GrQ/F7
z3+7gp+I;
struts.custom.i18n.resources XzV:q!e-
Location of additional localization properties files to load
<f+9wuZ
加载附加的国际化属性文件(不包含.properties后缀) 1NI%J B
#eKg!]4-R
struts.custom.properties
$V?h68[c
Location of additional configuration properties files to load 6Rcl HU
加载附加的配置文件的位置 pjVF^gv,*
ICxj$b
XI"8d.VR
struts.devMode K[/sVaPZ
Whether Struts is in development mode or not &]xOjv/?
是否为struts开发模式 U`w `Cr
^w1&A3=6
struts.dispatcher.parametersWorkaround {6, l#z
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;5TQH_g
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) m(6SiV=D9
jXu)%<
struts.enable.DynamicMethodInvocation /CW
0N@
Allows one to disable dynamic method invocation from the URL :
#om6}
允许动态方法调用 {@tqeu%IM
2$OI(7b=
struts.freemarker.manager.classname d=~-8]%\
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?^l{t4
org.apache.struts2.views.freemarker.FreemarkerManager接口名 52H'aHO1
b IZuZF>*
struts.i18n.encoding I(2qXOG
The encoding to use for localization messages Y(D&JKx
国际化信息内码 qzbpLV|
-o`Eka!ELz
struts.i18n.reload c@&-c [k^W
Whether the localization messages should automatically be reloaded 0! 6n
是否国际化信息自动加载 aUVJ\;V
Rx\.x? &
struts.locale 7%x
3o#&
The default locale for the Struts application Dx1 w I
默认的国际化地区信息 5&QDZnsl
(^)" qsB
struts.mapper.class vvvH5NRm
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~8#Ku,vEy
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Hvj1R.I/
VP\'p1a
struts.multipart.maxSize pA|Z%aL
The maximize size of a multipart request (file upload) fVJsVZ"6v`
multipart请求信息的最大尺寸(文件上传用) md. #n
`Fn6*_n
struts.multipart.parser qT}AY.O%^
The org.apache.struts2.dispatcher.multipart. g82_KUkB
MultiPartRequest parser implementation for a multipart request (file upload) Yc]
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (}jYi*B
,dZ&i!@?
S="teH[
struts.multipart.saveDir `5$B"p&i
The directory to use for storing uploaded files *RpBKm&^7
设置存储上传文件的目录夹 C>bd
HB7
tn@MOOPl
struts.objectFactory ^qgOgu
The com.opensymphony.xwork2.ObjectFactory implementation class P}dhpU
com.opensymphony.xwork2.ObjectFactory接口(spring) vsDR@Y}k
h0v4!`PQ-
struts.objectFactory.spring.autoWire XC NM
Whether Spring should autoWire or not ]z{f)`;I
是否自动绑定Spring ImnN&[Cu
IC[iCrB
struts.objectFactory.spring.useClassCache f:)%+)U<Xm
Whether Spring should use its class cache or not s1/:Ts[3i
是否spring应该使用自身的cache t^Hte^#S
V/; / &
struts.objectTypeDeterminer Ait3KIJ9
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k 6)ThIG
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 =Y;w O8
6L\?+=X
struts.serve.static.browserCache /ZcqKC
If static content served by the Struts filter should set browser caching header properties or not _h7qS
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 H7=[sL^
6gSo>F4=
struts.serve.static _t+.I9kQ
Whether the Struts filter should serve static content or not "h >B`S
是否struts过滤器应该提供静态内容 `VB]4i}u
=5PNH 2
struts.tag.altSyntax f-M 9OI
Whether to use the alterative syntax for the tags or not D. _*p
是否可以用替代的语法替代tags |`
+G7?)Y
U:[#n5g
struts.ui.templateDir c(tX761qz
The directory containing UI templates E@%X
UI templates的目录夹 l[)ZEEP
ED>T2.:{
struts.ui.theme AnUOv2
The default UI template theme ,*Vt53@E
默认的UI template主题 Q:/BC= ~
r'C(+E (
struts.url.http.port hj8S#
The HTTP port used by Struts URLs '&<T;V%
设置http端口 !4ZszQg
|x[zzx#
>-
struts.url.https.port 5m e|dvk
The HTTPS port used by Struts URLs Ba]J3Yp,z
设置https端口 uBPxMwohR
l-GQ AI8
struts.url.includeParams AzwG_XgM)
The default includeParams method to generate Struts URLs ML|O2e
在url中产生 默认的includeParams [kjm EMF9i
^9 g+\W
.@(+.G
struts.velocity.configfile @\_l%/z{
The Velocity configuration file path GdxMHnn=
velocity配置文件路径 .^Z^L F
.gPXW=r
struts.velocity.contexts v;r!rZX
List of Velocity context names mnwYv..ePz
velocity的context列表 LZ"yMnhOf
>>'t7U##
Lh"!Z
struts.velocity.manager.classname N0:gY]o%
org.apache.struts2.views.velocity.VelocityManager implementation class B<`'h
org.apache.struts2.views.velocity.VelocityManager接口名 e{8j(` (;#
9w%|Nk>=>
struts.velocity.toolboxlocation X9d~r_2&m<
The location of the Velocity toolbox /61P`1y(J
velocity工具盒的位置 f"8!uE*;
struts.xslt.nocache JDIQpO"Qji
Whether or not XSLT templates should not be cached cc"L> XoK
是否XSLT模版应该被缓存 J#pl7q)^w