struts2的struts.properties配置文件详解 Y23- Im
F0(P2j
struts.action.extension JZ3CC f
The URL extension to use to determine if the request is meant for a Struts action zmB6Y
t
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @y]ek/
D=Jj !;
struts.configuration _)XQb1]
The org.apache.struts2.config.Configuration implementation class oR}cE
Sr
org.apache.struts2.config.Configuration接口名 ,1&Pb %}
<Nwqt[.
struts.configuration.files JFewOt3
A list of configuration files automatically loaded by Struts 5$$ Yce=k
struts自动加载的一个配置文件列表 ]{^'{ z$i
+ Nn
$
struts.configuration.xml.reload lJb1{\|.,
Whether to reload the XML configuration or not ;UUpkOQO(
是否加载xml配置(true,false) 3Xcjr2]~
1cq"H/N
struts.continuations.package `1
A,sXfa
The package containing actions that use Rife continuations >}?jO B
含有actions的完整连续的package名称 C.4r`F$p
rZ'&'#Q
struts.custom.i18n.resources 4}.PQ{
Location of additional localization properties files to load /Z^"[Ke
加载附加的国际化属性文件(不包含.properties后缀) [J{\Ke0<e1
}:+SA
struts.custom.properties 1K{u>T
Location of additional configuration properties files to load IyK^` y
加载附加的配置文件的位置 6Ft?9
B(F:
0gTv:1F/
Rxb?SBa
struts.devMode 3u[m? Vw
Whether Struts is in development mode or not r ]s7a?O
是否为struts开发模式 3EkCM_]
X\4d|VJ?m
struts.dispatcher.parametersWorkaround fJ<I|ZZ
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Q3"{v0
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) zbY2gq@?
7XzhKA6
struts.enable.DynamicMethodInvocation p+7G
Allows one to disable dynamic method invocation from the URL ;z2\ Q$
允许动态方法调用 ?qC6p|H
vbBNXy/
struts.freemarker.manager.classname ahICx{hK
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ^#( B4l!
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ty ESDp%
r+:]lO
struts.i18n.encoding C GN=kQ
The encoding to use for localization messages f |%II,!3
国际化信息内码 $|"Y|3&X
ZNDn! Sj
struts.i18n.reload +}VaQ8ti4
Whether the localization messages should automatically be reloaded OCW0$V6;D-
是否国际化信息自动加载 11VtC)
`^v=* &
struts.locale |qs8(
5z0
The default locale for the Struts application *jR4OY|DXH
默认的国际化地区信息 [g<Y,0,J
I|n?32F
struts.mapper.class =y^`yv 3
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \qf0=CPw8
org.apache.struts2.dispatcher.mapper.ActionMapper接口 kz_gR;"(Z
O:E0htdWr
struts.multipart.maxSize ZWmS6?L.
The maximize size of a multipart request (file upload) jlxY|;gZ-0
multipart请求信息的最大尺寸(文件上传用) YY zUg
b1TIVK3m
struts.multipart.parser }]#&U/z
The org.apache.struts2.dispatcher.multipart. |lCS^bA3
MultiPartRequest parser implementation for a multipart request (file upload) 5bB\i79$
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &x9>8~
&2,3R}B/
.}9Lj
struts.multipart.saveDir ^r=Wj@`
The directory to use for storing uploaded files @>fsg-|
设置存储上传文件的目录夹 *"nN To
'\O[j*h^.
struts.objectFactory lfw|Q@
The com.opensymphony.xwork2.ObjectFactory implementation class 0Ra%>e(I^
com.opensymphony.xwork2.ObjectFactory接口(spring) x{O) n
]4ib^R~Z
struts.objectFactory.spring.autoWire 5^ck$af
Whether Spring should autoWire or not H@xHkqan
是否自动绑定Spring #My14u
K'Y/0:"*
struts.objectFactory.spring.useClassCache Uiv4'vYg
Whether Spring should use its class cache or not 5,\-;
是否spring应该使用自身的cache m#Ydq(0+
@cr/&
struts.objectTypeDeterminer O llS
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class mv,5Q6!
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 29AE B
C 547})
struts.serve.static.browserCache tzShds
If static content served by the Struts filter should set browser caching header properties or not :5sjF:@
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 g#k@R'7E
\ 5.nr*5
struts.serve.static )n6,uTlOw
Whether the Struts filter should serve static content or not u`CHM:<<?
是否struts过滤器应该提供静态内容 (#?O3z1@"
a<0q%Ax
struts.tag.altSyntax ExhK\J
Whether to use the alterative syntax for the tags or not 9^u}~e
#(
是否可以用替代的语法替代tags
J8-K
7W'&v+\
struts.ui.templateDir `?{6L#
The directory containing UI templates q`'m:{8
UI templates的目录夹 cQkj{u
)K8^}L,
struts.ui.theme +Wl]1
c/
The default UI template theme CcTdLq
默认的UI template主题 :7M%/#Fy
l 88n*O
struts.url.http.port p()q)P
The HTTP port used by Struts URLs H_ a##z
设置http端口 ~47 0LgpO1
**$kWbS
struts.url.https.port -9~$Ll+2h
The HTTPS port used by Struts URLs >V?W_oM)
设置https端口 ^F'~|zc"C
H:EK&$sU
struts.url.includeParams w&@zJ [
The default includeParams method to generate Struts URLs xM=ydRu
在url中产生 默认的includeParams
E-%$1=;
R$!]z(
[+d~He
struts.velocity.configfile 4{Q$^wD+.
The Velocity configuration file path ;m7~!m)
velocity配置文件路径 ?0'e_s
*LMzq9n3o
struts.velocity.contexts =0L%<@yA
List of Velocity context names `YUeVz>q?
velocity的context列表 *8Su:=*b
w/^_w5
b*W,8HF 4,
struts.velocity.manager.classname 7;c^*"Ud
org.apache.struts2.views.velocity.VelocityManager implementation class VX*+:
org.apache.struts2.views.velocity.VelocityManager接口名 T
Xiu/g(
] g<$f#S
struts.velocity.toolboxlocation $EHFf$M
The location of the Velocity toolbox dU*$V7
velocity工具盒的位置 \!hd|j?&6
struts.xslt.nocache -Bq]E,Xf)
Whether or not XSLT templates should not be cached x ;~;Ah.p
是否XSLT模版应该被缓存 ;HBKOe_3