struts2的struts.properties配置文件详解 d\ I6Wn
mzf~qV^T
struts.action.extension ~4+ICCbH
The URL extension to use to determine if the request is meant for a Struts action R$h
B9BK
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 BOflhoUX
B?%e-xV-
struts.configuration 15z(hzU?#
The org.apache.struts2.config.Configuration implementation class IayF<y,8
org.apache.struts2.config.Configuration接口名 !'eh@BU;
s%QCdU ]
struts.configuration.files tWyl&,3?1
A list of configuration files automatically loaded by Struts oeYUsnsbi
struts自动加载的一个配置文件列表 2=
Y8$-
w=_q<1a
struts.configuration.xml.reload ' hDs.Wnu
Whether to reload the XML configuration or not CKnPMvmz
是否加载xml配置(true,false) 2T?8{yO7
YEa<zhO8
struts.continuations.package B/*\Ih9y
The package containing actions that use Rife continuations s
!IvUc7'
含有actions的完整连续的package名称 8e5imei
}<qZXb1
struts.custom.i18n.resources b*(,W
Location of additional localization properties files to load p;qFMzyS9
加载附加的国际化属性文件(不包含.properties后缀) wpWZn[j
I`77[
struts.custom.properties `_()|; !y
Location of additional configuration properties files to load o)f$ 7.
加载附加的配置文件的位置 oI5^.Dr FW
`>4"i+NFF8
e?7y$H-
struts.devMode y@@h )P#
Whether Struts is in development mode or not ( Sjlm^bca
是否为struts开发模式 z }Lf]w?
Y[N@ )E_G
struts.dispatcher.parametersWorkaround >Hu3Guik]
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic B)*1[Jf{4
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :9DyABK=Cv
\JC_"gqt
struts.enable.DynamicMethodInvocation ?bH`
Allows one to disable dynamic method invocation from the URL Mp QsM-iW
允许动态方法调用 Dz,|sHCmk
j0^1BVcj
struts.freemarker.manager.classname O5MV&Zb(
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class "574%\#4z
org.apache.struts2.views.freemarker.FreemarkerManager接口名 0Bt>JbGs4
eiCmd
=O7
struts.i18n.encoding Q4Nut
The encoding to use for localization messages !LQzf(s;
国际化信息内码 I<Cm$8O?
9n49p?
struts.i18n.reload GkxQEL
Whether the localization messages should automatically be reloaded "Lyb4# M
是否国际化信息自动加载 PWeWz(]0Z4
j u&v4]
struts.locale <*I*#WI&B
The default locale for the Struts application n%;4Fm?
默认的国际化地区信息 s{OV-H
`z`=!1
struts.mapper.class `,O"^zR)z
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %ikPz~(
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ~|[i64V<^
![!,i\x
struts.multipart.maxSize Q,M,^_
The maximize size of a multipart request (file upload) R, #szTu
multipart请求信息的最大尺寸(文件上传用) 8`s*+.LI!
_%3p&1ld
struts.multipart.parser f9OY>|a9
The org.apache.struts2.dispatcher.multipart. *kTj,&x[
MultiPartRequest parser implementation for a multipart request (file upload) g*Pn_Yo[.
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 2%v6h
p' 6h9/
6B]i}nFH{+
struts.multipart.saveDir DJ0jtv6nQ-
The directory to use for storing uploaded files )gz]F_
设置存储上传文件的目录夹 _R^ZXtypd
$VjMd f
struts.objectFactory 1Q=L/keP
The com.opensymphony.xwork2.ObjectFactory implementation class /oZvm
com.opensymphony.xwork2.ObjectFactory接口(spring) &1Y7Ne
uJ=d!Kn
struts.objectFactory.spring.autoWire WZn"I&Z
Whether Spring should autoWire or not ~1XC5.*-
是否自动绑定Spring
nI4oQE
z0x^HDAeC
struts.objectFactory.spring.useClassCache Lxn-M5RPQ
Whether Spring should use its class cache or not (/^?$~m"
是否spring应该使用自身的cache S'`G7ht
|'lNR)5
struts.objectTypeDeterminer E^Ch;)j|
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class mN
l[D
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口
PZvc4
2s=zT5
struts.serve.static.browserCache GDs/U1[*
If static content served by the Struts filter should set browser caching header properties or not tJ*/5k
&
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {3SK|J`
Q,:h`%V
struts.serve.static +vH#xc\'
Whether the Struts filter should serve static content or not -]-0]*oAp
是否struts过滤器应该提供静态内容 &> _aY #
j+>[~c;0)
struts.tag.altSyntax -tx%#(?wH
Whether to use the alterative syntax for the tags or not [VLq/lg*
是否可以用替代的语法替代tags I %sw(uoE
"$b{EYq6
struts.ui.templateDir N
A_8<B^
The directory containing UI templates N?8nlrDQ
UI templates的目录夹 bl^pMt1fv
'K}2 m
struts.ui.theme EiP N44(
The default UI template theme ]T(qk
默认的UI template主题 oCLM'\
E:O/=cT
struts.url.http.port e\O625
The HTTP port used by Struts URLs ADM!4L(s4}
设置http端口 P8H2v_)X&
l: kW|
struts.url.https.port B
qINU
The HTTPS port used by Struts URLs w11L@t[5W8
设置https端口 O>I%O^
+3M1^:
struts.url.includeParams ?v-!`J>EF#
The default includeParams method to generate Struts URLs {u0sbb(
在url中产生 默认的includeParams @\:@_}Z`_}
PN=5ICT
c,]fw2
struts.velocity.configfile yRDtPK"E-
The Velocity configuration file path O'(D:D?
velocity配置文件路径 s'd\"WaQV
D+N@l"U{
struts.velocity.contexts _RS
CyV
List of Velocity context names f
=A#:d
velocity的context列表 \ [M4[Qlq
.Wi%V"
[w-#
!X2y
struts.velocity.manager.classname ?!$Dr0r
org.apache.struts2.views.velocity.VelocityManager implementation class !s !el;G
org.apache.struts2.views.velocity.VelocityManager接口名 KNN$+[_;H4
hD7vjg&Z
struts.velocity.toolboxlocation !HtW~8|:
The location of the Velocity toolbox oA:`=f%\
velocity工具盒的位置 .
Y$xNLoP[
struts.xslt.nocache ]dV$H
Whether or not XSLT templates should not be cached l)~$/#k
是否XSLT模版应该被缓存 >]A#_p