struts2的struts.properties配置文件详解 6Igz:eX
B:Oa}/H
struts.action.extension )u&|_&g{}J
The URL extension to use to determine if the request is meant for a Struts action F~vuM$+d
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 C3f' {}
J1U/.`Oy
struts.configuration W+c<2?d:
The org.apache.struts2.config.Configuration implementation class }-{H Y
org.apache.struts2.config.Configuration接口名 oCv.Ln1;Z
.hb:s,0mP
struts.configuration.files hh%-(HaLX3
A list of configuration files automatically loaded by Struts @i_FTN
struts自动加载的一个配置文件列表 ~vhE|f
!*&V-4
struts.configuration.xml.reload Et_bH%0
Whether to reload the XML configuration or not |^I0dR/w:
是否加载xml配置(true,false) 2,oKVm+
7F7{)L
struts.continuations.package p4rL}Jm&
The package containing actions that use Rife continuations (,\+tr8r8
含有actions的完整连续的package名称 [S%_In
HRCT}
struts.custom.i18n.resources CsR$c,8X.
Location of additional localization properties files to load {]!mrAjD
加载附加的国际化属性文件(不包含.properties后缀) mDABH@R
M)+H{5bt
struts.custom.properties =ho}oL,ZO
Location of additional configuration properties files to load lv<*7BCp
加载附加的配置文件的位置 65P0,b6"OT
myQagqRx
2;`1h[,-^
struts.devMode /9*B)m"
Whether Struts is in development mode or not
(N6i4
g6
是否为struts开发模式 xh,qNnGGi
KP^V>9q
struts.dispatcher.parametersWorkaround G6P?2@
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]@c+]{
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) wu!59pL
bHYy }weZ
struts.enable.DynamicMethodInvocation 4r#= *
Allows one to disable dynamic method invocation from the URL 8 +/rlHp
允许动态方法调用 {hjhL: pg
-UEZ#Q
struts.freemarker.manager.classname 6Q@j
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &j`} vg
org.apache.struts2.views.freemarker.FreemarkerManager接口名 '~<m~UXvD#
z&)A,ryW0
struts.i18n.encoding .Iw AK/QS
The encoding to use for localization messages Lc,Pom
国际化信息内码 ;O6;.5q&
py!|\00}
struts.i18n.reload t;Sb/ 3
Whether the localization messages should automatically be reloaded NjScc%@y
是否国际化信息自动加载 e7Z32P0ls
Q7\w+ANf0
struts.locale [< ?s?Ci
The default locale for the Struts application _$YkM,
默认的国际化地区信息 <n];mfh1
}Yzco52
struts.mapper.class )JLdO*H
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class nI-w}NQ
org.apache.struts2.dispatcher.mapper.ActionMapper接口 g"DG]/ev
*boR`[Ond
struts.multipart.maxSize SiRaFj4s"
The maximize size of a multipart request (file upload) KIf dafRL
multipart请求信息的最大尺寸(文件上传用) gMmaK0uhS
kk@fL
struts.multipart.parser x b~yM%*c
The org.apache.struts2.dispatcher.multipart. cWsNr'MS*
MultiPartRequest parser implementation for a multipart request (file upload) vhW2PzHFRi
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Xll}x+'uZK
O)*+="Rg
O!#g<`r{K
struts.multipart.saveDir uAJx.>$b
The directory to use for storing uploaded files NZLxHD]mp
设置存储上传文件的目录夹 I<mV+ex
:D6
ON"6
struts.objectFactory m)t;9J5
The com.opensymphony.xwork2.ObjectFactory implementation class b9J_1Gl]
com.opensymphony.xwork2.ObjectFactory接口(spring) ]"hFC<w
OJuG~euy
struts.objectFactory.spring.autoWire wj^3N7_:w
Whether Spring should autoWire or not V)HG(k
是否自动绑定Spring kR-SE5`Jk
O7m(o:t x3
struts.objectFactory.spring.useClassCache mbTEp*H
Whether Spring should use its class cache or not Lv;^My
是否spring应该使用自身的cache -`kW&I0
vXf!G`D
struts.objectTypeDeterminer dO<ERY
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !mJ"gg
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {0wIR_dGX
JV^=v@Z3
struts.serve.static.browserCache $oID(P
If static content served by the Struts filter should set browser caching header properties or not KE5kOU;
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 (ylTp]~mR-
6 l|DU7i
struts.serve.static 30#s aGV
Whether the Struts filter should serve static content or not d9fC<Tp
是否struts过滤器应该提供静态内容
NI76U
_~l5u8{^ 6
struts.tag.altSyntax QC
OM_$ y
Whether to use the alterative syntax for the tags or not A Ru2W1g
是否可以用替代的语法替代tags 7Jyy z,!5
&ZlVWK~v
struts.ui.templateDir 45@ I *`
The directory containing UI templates w7.V6S$Ga
UI templates的目录夹 bQg:zww
p J!
mw\:
struts.ui.theme h,u,^ r
The default UI template theme `!;_ho
默认的UI template主题 ,i?nWlh+
sk<3`x+
struts.url.http.port 0y'H~(
The HTTP port used by Struts URLs lHY+}v0
设置http端口 ?4#Li~q
K*vt;L
struts.url.https.port .GPT!lDc
The HTTPS port used by Struts URLs j?3wvw6T
设置https端口 XSwl Tg
7?!d^$B
struts.url.includeParams 93)sk/j
The default includeParams method to generate Struts URLs 5FPM`hLT
在url中产生 默认的includeParams &v/dj@
MO]F1E?X
6RU~"C
struts.velocity.configfile #>("CAB02T
The Velocity configuration file path )5Q~I,dP
velocity配置文件路径 kYP#SH/
\g&,@'uh
struts.velocity.contexts \g`\`e53?
List of Velocity context names }z'8Bu
velocity的context列表 `!3SF|x&
$D~0~gn~
2. NN8PPD"
struts.velocity.manager.classname xf\ C|@i
org.apache.struts2.views.velocity.VelocityManager implementation class Fo (fWvz
org.apache.struts2.views.velocity.VelocityManager接口名 gS!:+G%
a_^\=&?'
struts.velocity.toolboxlocation kr^P6}'
The location of the Velocity toolbox ]NQfX[
velocity工具盒的位置 kUL'1!j7
struts.xslt.nocache u"r`3P`
Whether or not XSLT templates should not be cached _P#|IAq*
是否XSLT模版应该被缓存 [r\Du|R-*