struts2的struts.properties配置文件详解 DA[-(
s
O^oFH
OpFh
struts.action.extension nQg6
j Zf
The URL extension to use to determine if the request is meant for a Struts action %,>> <8
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /1Rm^s)2z
hIPDJ1a
struts.configuration ^K&&O{
The org.apache.struts2.config.Configuration implementation class t~X wF(";
org.apache.struts2.config.Configuration接口名 a<c % Xy/
_Z5l
Nu
struts.configuration.files uVOOw&q_
A list of configuration files automatically loaded by Struts 0.|tKetHq
struts自动加载的一个配置文件列表 ~eqX<0hf@
RH>b,
struts.configuration.xml.reload ].2q.7Yur
Whether to reload the XML configuration or not Wi hOGdUS6
是否加载xml配置(true,false) xdp{y=,[
+<@7x16
struts.continuations.package %E~4 Ur
The package containing actions that use Rife continuations `%F.]|Y0
含有actions的完整连续的package名称 WB$Z<m:
jcFh2
struts.custom.i18n.resources <E6]8SQE
Location of additional localization properties files to load b*r1Jn"h
加载附加的国际化属性文件(不包含.properties后缀) CI$F#j
fd*=`+P
struts.custom.properties -Qqb/y
Location of additional configuration properties files to load OsvAm'B
加载附加的配置文件的位置 Y( D d7`c
LK/gG6n5M0
XQ,IEj|
struts.devMode =F8uuYX%m
Whether Struts is in development mode or not 7f[nNng
是否为struts开发模式 #`v`e"
BJ~Q\Si6
struts.dispatcher.parametersWorkaround ~F>oNbJIv
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic kzgHp,;R{
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) t3v*P6
pg*'2AT
struts.enable.DynamicMethodInvocation #j iQa"
Allows one to disable dynamic method invocation from the URL 0>VgO{X
允许动态方法调用 k`2 K?9\
xWn.vSos
struts.freemarker.manager.classname D-A#{e _
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ANn{*h
org.apache.struts2.views.freemarker.FreemarkerManager接口名 7^as~5'&-
;Z
C18@
struts.i18n.encoding GAtK1%nPD
The encoding to use for localization messages aztP`S$h
国际化信息内码 4D9lZa}
{HvR24#
struts.i18n.reload Af
^6
Whether the localization messages should automatically be reloaded bo\|mvB~
是否国际化信息自动加载 {Kd9}CDAZ
fx%'7/+
struts.locale bHWy9 -
The default locale for the Struts application X#1So .}c
默认的国际化地区信息 }B^s!y&b
(Qq! u
struts.mapper.class oQWS$\Rr.
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class R 5bt~U
org.apache.struts2.dispatcher.mapper.ActionMapper接口 G-bG}9vc]
[WX+/pm7>
struts.multipart.maxSize X1#D}
The maximize size of a multipart request (file upload) tNmH*"wR<
multipart请求信息的最大尺寸(文件上传用) B;hc|v{(
0%`\8
struts.multipart.parser A{mbL2AxwC
The org.apache.struts2.dispatcher.multipart. R b\=\
MultiPartRequest parser implementation for a multipart request (file upload) f+%J=Am
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $vlgiJ&f
fcD$km
u%VO'}Gz
struts.multipart.saveDir f![x7D$
The directory to use for storing uploaded files f(?>z!n0
设置存储上传文件的目录夹 z`>a,X
p^ 9QYR
struts.objectFactory JR'Q Th:z
The com.opensymphony.xwork2.ObjectFactory implementation class \TC&/'7}
com.opensymphony.xwork2.ObjectFactory接口(spring) XV).
cW|.a
I2YQIY+
struts.objectFactory.spring.autoWire 4UC/pGZY
Whether Spring should autoWire or not pk: ruf`)
是否自动绑定Spring eV1O#FLbi
@\u)k
struts.objectFactory.spring.useClassCache T!(I\wz;Bo
Whether Spring should use its class cache or not g%1!YvS3v
是否spring应该使用自身的cache V |#B=W
V{ra,a*
struts.objectTypeDeterminer $axaI$bE
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class L1P]T4a@)
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 h7[VXE
A<y3Tc?Q
struts.serve.static.browserCache V:QfI
If static content served by the Struts filter should set browser caching header properties or not ZV_mP'1*
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?n\~&n'C
mK@\6GOMYP
struts.serve.static 5(u7b
Whether the Struts filter should serve static content or not q6\z]8)
是否struts过滤器应该提供静态内容 K)l{3\9l|
"*kWM
struts.tag.altSyntax F@"Xd9q?
Whether to use the alterative syntax for the tags or not SO]x^+[
是否可以用替代的语法替代tags IOvYvFUUJ
htMsS4^Kvd
struts.ui.templateDir y !47!Dn
The directory containing UI templates k[A=:H1"
UI templates的目录夹 R:0Fv9bwS
kH-1l>":
struts.ui.theme ZMg%/C
The default UI template theme ]$y"|xqR
默认的UI template主题 >F Z6\
[q9TTJ@2
struts.url.http.port A6q,"BS^d
The HTTP port used by Struts URLs f.V0uBDN
设置http端口 qaG%PH}a
P,_GTs3/G
struts.url.https.port *)L%pH>`
The HTTPS port used by Struts URLs D@>P%k$$s>
设置https端口 j%]i#iqF
?u'JhZ
struts.url.includeParams fnL!@WF
The default includeParams method to generate Struts URLs |X~T</{8i
在url中产生 默认的includeParams V6BCW;
j
7a;g7.
N#Qby4w >
struts.velocity.configfile , $78\B^
The Velocity configuration file path ^^3
>R`
velocity配置文件路径 xO"5bj
tG^Oj:
struts.velocity.contexts Ds&)0Iwf
List of Velocity context names `(W
V pP?
velocity的context列表 pFGdm3pV
;vQ7[Pv.j
)
;-AT^
struts.velocity.manager.classname 5p
U(A6RtS
org.apache.struts2.views.velocity.VelocityManager implementation class qNC.|R
org.apache.struts2.views.velocity.VelocityManager接口名 csH1X/3ha\
qGl+KI
struts.velocity.toolboxlocation vb5tyY0c
The location of the Velocity toolbox `r+e!o
velocity工具盒的位置 v|t^th,
struts.xslt.nocache rZ w&[ G
Whether or not XSLT templates should not be cached u2 -%~Rlo
是否XSLT模版应该被缓存 |+cyb<(V J