struts2的struts.properties配置文件详解 |N[SCk>Kj
&,':@OQ
struts.action.extension (bo{vX
The URL extension to use to determine if the request is meant for a Struts action hB:R8Y^?H
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Fs:l"5~>1
Jrlc%,pZ
struts.configuration zk]6|i$!I
The org.apache.struts2.config.Configuration implementation class (,\`?g
org.apache.struts2.config.Configuration接口名 uC G^,BQ
s#sr1[9}G
struts.configuration.files F0Xv84:O
A list of configuration files automatically loaded by Struts .a:Oj3=0
struts自动加载的一个配置文件列表 B\bIMjXV
{:
EQ
struts.configuration.xml.reload <PkDfMx2
Whether to reload the XML configuration or not )_EQU8D4ug
是否加载xml配置(true,false) 1p,G8 v+B
`xbk)oW#
struts.continuations.package EAFKf*K=
The package containing actions that use Rife continuations w&;\}IS
含有actions的完整连续的package名称 <R~(6krJwZ
,<zZKR_
struts.custom.i18n.resources ja2LQe@Q
Location of additional localization properties files to load \@4QG.3&
加载附加的国际化属性文件(不包含.properties后缀) zqYfgV
Cg
85
struts.custom.properties o
<LA2q`T
Location of additional configuration properties files to load ihH!"HH+
加载附加的配置文件的位置 Bd m<<<
n[WXIE<
J8a4.prqI
struts.devMode [AR$Sw60
Whether Struts is in development mode or not D8W:mAGEu
是否为struts开发模式 +u_mT$|T
y)U8\
struts.dispatcher.parametersWorkaround ,=>O/!s
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `(.ue8T
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) =fBJQK2sk
ik~hL/JD\
struts.enable.DynamicMethodInvocation B7t#H?
Allows one to disable dynamic method invocation from the URL zEY
Ey1
允许动态方法调用 ~C=`yj
}W<]fK
struts.freemarker.manager.classname TO[5h Y\
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class wSIt"g,%
org.apache.struts2.views.freemarker.FreemarkerManager接口名 4$.UVW\
) !ZA.sx
struts.i18n.encoding {b/60xl?
The encoding to use for localization messages $if(`8
国际化信息内码 ~"EkX
oG@P M+{
struts.i18n.reload *goi^Xp
Whether the localization messages should automatically be reloaded 21 cB_"
是否国际化信息自动加载 z!Jce}mx
3SQ
5C'E
struts.locale )X\3bPDJR
The default locale for the Struts application biGaP#"0
默认的国际化地区信息 GLc+`,.
?h>mrj
struts.mapper.class 1Sz5&jz
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >!? f6
{\|
org.apache.struts2.dispatcher.mapper.ActionMapper接口 xNxIqq<k
%XG X(
struts.multipart.maxSize @b!fs
The maximize size of a multipart request (file upload) ;
@Gm@d
multipart请求信息的最大尺寸(文件上传用) &$hfAG]"
>tP/"4c
struts.multipart.parser 7-e)V{A`w
The org.apache.struts2.dispatcher.multipart. dJNYuTZ'
MultiPartRequest parser implementation for a multipart request (file upload) o?{VGJH<v
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) >&?wo{b
[4xN:i
tvRa.3
struts.multipart.saveDir 0e vxRcrzz
The directory to use for storing uploaded files Kt}dTpVFr
设置存储上传文件的目录夹 pJ_Z[}d)c
FG#E?G
struts.objectFactory 5+%BZ
The com.opensymphony.xwork2.ObjectFactory implementation class zCvR/
com.opensymphony.xwork2.ObjectFactory接口(spring) :Fj4YP"
'U}i<^,c
struts.objectFactory.spring.autoWire ^r;}6
Whether Spring should autoWire or not o}WbW }&
是否自动绑定Spring Y!&dj95y
>47,Hq:2
struts.objectFactory.spring.useClassCache <#|3z8N2
Whether Spring should use its class cache or not x6Z$lhZ
是否spring应该使用自身的cache 9zO;sg;3
kV6>O C&^
struts.objectTypeDeterminer {AIZ,
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~sSB.g
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -ZihEyG?V
}aX).u
struts.serve.static.browserCache yJb;V#
If static content served by the Struts filter should set browser caching header properties or not j?z(fs-
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Y,E:?
103^\Av8
struts.serve.static qd{|"(9B
Whether the Struts filter should serve static content or not JI\u -+BE
是否struts过滤器应该提供静态内容 vgE5(fJh
PI0/=kS
struts.tag.altSyntax @Gn9x(?J
Whether to use the alterative syntax for the tags or not 9MM4 C
是否可以用替代的语法替代tags yMz@-B
}3[ [ONA
struts.ui.templateDir bJ. ((1$
The directory containing UI templates a.8 nWs^
UI templates的目录夹 cW&OVNj
Za}91z"
struts.ui.theme TS3 00F
The default UI template theme E?08=$^5%
默认的UI template主题 l^0
<a<P
p3^7Hr
struts.url.http.port >{GC@Cw
The HTTP port used by Struts URLs lBh {8a|2W
设置http端口 eW >k'ez
O Zt 'ovY
struts.url.https.port 'inWV* P*g
The HTTPS port used by Struts URLs I/^Lr_\
设置https端口 ?'_iqg3
NpRC3^
struts.url.includeParams L7Skn-*tnA
The default includeParams method to generate Struts URLs mbS
&>
在url中产生 默认的includeParams UhEJznfi
#lVVSrF,-
OH=Ffy F,
struts.velocity.configfile PwDQ<
The Velocity configuration file path qVM]$V#e
velocity配置文件路径 $<33E e:a
Uc9Uj
struts.velocity.contexts +U6!
bu>C
List of Velocity context names ]i$CE|~
velocity的context列表 _r,# l5~U
~kN6Hr*X
PiH#9XB
struts.velocity.manager.classname [|F.*06SK
org.apache.struts2.views.velocity.VelocityManager implementation class QCtG #/
org.apache.struts2.views.velocity.VelocityManager接口名 "sHD8TUX
Bq@G@Qi
struts.velocity.toolboxlocation $6oLiYFX;
The location of the Velocity toolbox R`$Odplh>
velocity工具盒的位置 HDy[/7"
struts.xslt.nocache VNytK_F0P
Whether or not XSLT templates should not be cached :wn![<`3q
是否XSLT模版应该被缓存 e dD(s5