struts2的struts.properties配置文件详解 D
4<,YBvV
@+hO,WXN
struts.action.extension O
+Xu?W]
The URL extension to use to determine if the request is meant for a Struts action b
q8nV
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 pt%Y1<9Eh?
o"g<Vz
struts.configuration ?'U@oz8 B
The org.apache.struts2.config.Configuration implementation class y6&o+;I$[
org.apache.struts2.config.Configuration接口名 dC?l%,W
9PG3cCr?
struts.configuration.files (t"e#b(:
A list of configuration files automatically loaded by Struts f<vZ4 IU
struts自动加载的一个配置文件列表 7W=s.Gy7G\
?tkd5kE
struts.configuration.xml.reload t8uaNvUM}e
Whether to reload the XML configuration or not 6OZn7:)Y
是否加载xml配置(true,false) S+u@
Q}
?:Rw[T@
l
struts.continuations.package %Vhj<gN
The package containing actions that use Rife continuations Thuwme
含有actions的完整连续的package名称 9G)fJr[c
.=@CF8ArG
struts.custom.i18n.resources &Y-jK <
Location of additional localization properties files to load *a' I
加载附加的国际化属性文件(不包含.properties后缀) ,@aF#
ad`7[fI
struts.custom.properties =z#j9'n$@
Location of additional configuration properties files to load oT9qd@uQ0:
加载附加的配置文件的位置 m'U>=<!D
)|
F O>
a.up&g_$
struts.devMode &,'CHBM
Whether Struts is in development mode or not 1WAps#b.
是否为struts开发模式 |fPR7-
)OZ
struts.dispatcher.parametersWorkaround k#x"'yZ
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic O7yIFqI=/
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) in2m/q?
jR"ACup(
struts.enable.DynamicMethodInvocation <1E5[9
q
Allows one to disable dynamic method invocation from the URL Z8o8>C\d9/
允许动态方法调用 8i^d*:R
.s>.O6(^%
struts.freemarker.manager.classname 4d%QJ7y
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @|fT%Rwho<
org.apache.struts2.views.freemarker.FreemarkerManager接口名 !DXK\,;>
5
&s<&h
struts.i18n.encoding *_eY +\j
The encoding to use for localization messages [ N0"mE<
国际化信息内码 (4IH%Ez){
A5,(P$@k
struts.i18n.reload |\N))K-2D
Whether the localization messages should automatically be reloaded ;&
zBNj
是否国际化信息自动加载 ?;DzWCL~9
R!2E`^{Wl
struts.locale vpoJ{TPO
The default locale for the Struts application 14yzGhA
默认的国际化地区信息 _aw49ag;
oI x!?,1
struts.mapper.class 5c1{[
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \8]("l}ms8
org.apache.struts2.dispatcher.mapper.ActionMapper接口 `}#n#C)
}h=3[pe}
struts.multipart.maxSize `FAZAC\
The maximize size of a multipart request (file upload) y>&
s;
multipart请求信息的最大尺寸(文件上传用) ]Mj N)%hT
#yOn /
struts.multipart.parser f&?
8fB8{
The org.apache.struts2.dispatcher.multipart. Gy!bPVe
MultiPartRequest parser implementation for a multipart request (file upload) h/7_I uD
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) a4eE/1
,ZvlKN
_nec6=S6(
struts.multipart.saveDir 9.Yn]O
The directory to use for storing uploaded files .> ^U
mM
设置存储上传文件的目录夹 9Qn*frdY,
vzZ"TSP
struts.objectFactory 6 IKi*}
The com.opensymphony.xwork2.ObjectFactory implementation class I~25}(IDZ"
com.opensymphony.xwork2.ObjectFactory接口(spring) ]GXE2A_i;
PGA
`R
struts.objectFactory.spring.autoWire K&;/hdS=F
Whether Spring should autoWire or not F`57;)F
是否自动绑定Spring I GB)
G9h B p
struts.objectFactory.spring.useClassCache hc]5f3Z
Whether Spring should use its class cache or not Yw,LEXLY
是否spring应该使用自身的cache Cd7l+~*Y
1_z~<d
@?;
struts.objectTypeDeterminer r_3=+
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Y{2L[5_1
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %
r0AhWv
o_PQ]1
struts.serve.static.browserCache b#:!b
If static content served by the Struts filter should set browser caching header properties or not /y-8dgv0a
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 / a$B8,
qoOq47F
struts.serve.static $rH}2
Whether the Struts filter should serve static content or not lfte
是否struts过滤器应该提供静态内容 _tfi6UQ&lY
K(Ak+&[
struts.tag.altSyntax W"1=K]B
Whether to use the alterative syntax for the tags or not !6eF8T
是否可以用替代的语法替代tags KHoDD=O
Sxcp
[g;
struts.ui.templateDir pGsu#`t
The directory containing UI templates y-o54e$4Cq
UI templates的目录夹 k
Hh0&~(
^Dys#^
struts.ui.theme 6<9gVh<=w
The default UI template theme yGlOs]>n
默认的UI template主题 e%KCcU
90!67Ap`x
struts.url.http.port -{eI6#z|\A
The HTTP port used by Struts URLs lNB<_SO
设置http端口 I->4Q&3
N683!wNX
struts.url.https.port `yrJ }f
The HTTPS port used by Struts URLs w'<"5F`
设置https端口 )OV2CP
AP(%m';
struts.url.includeParams :xsNn55b
The default includeParams method to generate Struts URLs ihopQb+k^m
在url中产生 默认的includeParams D@yu2}F{IY
K7]QgfpSZ
+P;&/z8i*g
struts.velocity.configfile DQ= /Jr~
The Velocity configuration file path Z1oUAzpj4
velocity配置文件路径 +D|E8sz8
^( 1S`z$
struts.velocity.contexts 7aeyddpM
List of Velocity context names B#[.c$
velocity的context列表 BS+=*3J
P#qQde/y
'~[JV>5
struts.velocity.manager.classname <xr\1VjA
org.apache.struts2.views.velocity.VelocityManager implementation class >npFg@A
org.apache.struts2.views.velocity.VelocityManager接口名 '))=y@M
zN,2
(v"
struts.velocity.toolboxlocation ~A-D>.ZH
The location of the Velocity toolbox fnn/akGKI
velocity工具盒的位置 ;g_<i_*x#
struts.xslt.nocache \Wf1b8FW
Whether or not XSLT templates should not be cached ![{0Yw
D
是否XSLT模版应该被缓存 6>F]Z)]}