struts2的struts.properties配置文件详解 #4MBoN(3
}VS3L_
;}/
struts.action.extension O<PO^pi
The URL extension to use to determine if the request is meant for a Struts action 6vuq1
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [Aj Q#;#Q
jUv!9Y}F
struts.configuration 4(e59ZgY
The org.apache.struts2.config.Configuration implementation class
;__9TN
org.apache.struts2.config.Configuration接口名 ~vmdXR`'T
7Dzuii?1
struts.configuration.files !-2R;yo12
A list of configuration files automatically loaded by Struts 'j^xbikr
struts自动加载的一个配置文件列表 ]V %.I_
D0k
8^
struts.configuration.xml.reload \P} p5k[
Whether to reload the XML configuration or not H1<>NWm!v7
是否加载xml配置(true,false) 3~,d+P
h~&gIub
struts.continuations.package UDhG :
The package containing actions that use Rife continuations =9oPowq
含有actions的完整连续的package名称 I}e3zf>
i|w8.}0
struts.custom.i18n.resources !CXt*/~
Location of additional localization properties files to load ]2#
加载附加的国际化属性文件(不包含.properties后缀) bfB\h*XO
'1,,)U#6E
struts.custom.properties F(4?tX T
Location of additional configuration properties files to load t*@2OW`!
加载附加的配置文件的位置 rg0ma
V/cP4{L
bCref$|
struts.devMode 3iw{SEY
Whether Struts is in development mode or not Nx{$}
是否为struts开发模式 >AoK/(yL.
L;gO;vO
struts.dispatcher.parametersWorkaround Cm$.<CV
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic gu #-O?B
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) o,U9}_|A
]k9)G*
struts.enable.DynamicMethodInvocation mNmLyU=d
Allows one to disable dynamic method invocation from the URL {x'GJtpb
允许动态方法调用 V.os
-.g|l\
struts.freemarker.manager.classname NCxqh <
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class RoCfJ65
org.apache.struts2.views.freemarker.FreemarkerManager接口名 0|R# Tb;Y
;a-$D]Db
struts.i18n.encoding +/#Ei'do
The encoding to use for localization messages uOa26kE4
国际化信息内码 C6O8RHg
??n*2s@t
struts.i18n.reload /Q,{?';~
Whether the localization messages should automatically be reloaded W@yJAQ
是否国际化信息自动加载 c/B'jPt
66^ycZCH
struts.locale b-3*Nl _%
The default locale for the Struts application TKk-;Y=N
默认的国际化地区信息 qwIa?!8o
4iW'kuK
struts.mapper.class wApMzZ(X2y
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class *Z m^
~Vo
org.apache.struts2.dispatcher.mapper.ActionMapper接口 )tCX
y4
-n'F v@U
struts.multipart.maxSize nW;g28
The maximize size of a multipart request (file upload) aM7uBx\8 5
multipart请求信息的最大尺寸(文件上传用) >A0k 8T
"NgoaG~!YO
struts.multipart.parser sXd8rj:o
The org.apache.struts2.dispatcher.multipart. rr#K"SP
MultiPartRequest parser implementation for a multipart request (file upload) Vd=yr'?
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =6aS&B(SN
spasB=E
)DYI
.
struts.multipart.saveDir "t^URp3
The directory to use for storing uploaded files %0? M?Jf
设置存储上传文件的目录夹 e</$ s
^(*n]
struts.objectFactory oI^4pwn h
The com.opensymphony.xwork2.ObjectFactory implementation class #Rg|BfV-
com.opensymphony.xwork2.ObjectFactory接口(spring) PjN =k;
nFe%vu8a
struts.objectFactory.spring.autoWire %,hV[[ @.
Whether Spring should autoWire or not
aR,}W\6M
是否自动绑定Spring TYI7<-Mp:[
}K8/-d6
struts.objectFactory.spring.useClassCache wvrrMGU)a
Whether Spring should use its class cache or not #
O4gg
是否spring应该使用自身的cache JHf
1SrJ6W @j[
struts.objectTypeDeterminer 4%1D}9hO6
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rQ=,y>-*
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 l4TpH|k
'ejvH;V3i
struts.serve.static.browserCache 3Vp#a:
If static content served by the Struts filter should set browser caching header properties or not 0flg=U9
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ['%69dPh
xoOJauSX1
struts.serve.static U%h);!<
Whether the Struts filter should serve static content or not xQw7 :18wQ
是否struts过滤器应该提供静态内容 V7TVt,-3
WD'#5]#Y
struts.tag.altSyntax N{-]F|XX
Whether to use the alterative syntax for the tags or not 8ssJ<LP
是否可以用替代的语法替代tags c\% r38
tK
k#LWB
struts.ui.templateDir ?BhMjsy.
The directory containing UI templates 5=e@d:Sz
UI templates的目录夹 WcC?8X2
ZNYH#mJX*
struts.ui.theme p$ bnK]
The default UI template theme [frq
'c
默认的UI template主题 B75k^ohfj
mrV!teP
struts.url.http.port N?X^O#[
The HTTP port used by Struts URLs "bDs2E+W
设置http端口 d~h:~
kh%{C]".1
struts.url.https.port jYiv'6z
The HTTPS port used by Struts URLs 9o>8o
设置https端口 Z'H5,)j0R
?8W("W
struts.url.includeParams g#]wLm#
The default includeParams method to generate Struts URLs .(Qx{r$
在url中产生 默认的includeParams ,RN:^5 p
p">EHWc}D
w1UA?+43
struts.velocity.configfile j[Uxa
The Velocity configuration file path 9}z0J
velocity配置文件路径 QM?#{%31
&sF^Fgg{
struts.velocity.contexts r!,}Z=cGe
List of Velocity context names fvb=#58N_
velocity的context列表 udeoW-_
i|1^+;
xG;-bJu
struts.velocity.manager.classname D/h/Y) Y
org.apache.struts2.views.velocity.VelocityManager implementation class Jjl`_X$CB
org.apache.struts2.views.velocity.VelocityManager接口名 )Fb>8<%
4[r/}/iGo
struts.velocity.toolboxlocation ~{}#)gGU
The location of the Velocity toolbox Y<0 4RV
velocity工具盒的位置 #2iD'>bQ
struts.xslt.nocache wp7!>%s{
Whether or not XSLT templates should not be cached |a{Q0:
是否XSLT模版应该被缓存 }-~T<egF