struts2的struts.properties配置文件详解 ;u:A:Y4V
"3&bh>#qY
struts.action.extension ~__r-z
The URL extension to use to determine if the request is meant for a Struts action cDkq@H:
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <\44%M"iC-
V(lxkEu/Fj
struts.configuration 3^jkd)xw
The org.apache.struts2.config.Configuration implementation class [9<c;&$LU
org.apache.struts2.config.Configuration接口名 J Wh5gOXd
+#;t.&\80N
struts.configuration.files Z=[qaJ{]
A list of configuration files automatically loaded by Struts r$8(Q'
struts自动加载的一个配置文件列表 V4["+Y
n]3Lqe;
struts.configuration.xml.reload g-C)y
06
Whether to reload the XML configuration or not M]5)u=}S-
是否加载xml配置(true,false) ;h f{B7
!7rk>YrY
struts.continuations.package ES4[@RX
The package containing actions that use Rife continuations *#n#J[
含有actions的完整连续的package名称 Z2t'?N|_
5WlBec@
struts.custom.i18n.resources vtByC u5
Location of additional localization properties files to load &c AFKYt
加载附加的国际化属性文件(不包含.properties后缀) EDDld6O,
@K=:f
struts.custom.properties 8|cQW-L
Location of additional configuration properties files to load [-5l=j
r
加载附加的配置文件的位置
~ERA
&06pUp
iS
G5oBe6\C
struts.devMode &UFj
U%Z%
Whether Struts is in development mode or not =q\Ghqj1
是否为struts开发模式 sahXPl%;U
Ye=c;0V(w
struts.dispatcher.parametersWorkaround ?hFG+`"W
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +A;AX.mr
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) su}n3NsJ
@cS(Bb!(M
struts.enable.DynamicMethodInvocation >;sz(F3)
Allows one to disable dynamic method invocation from the URL dED&-e#
允许动态方法调用 E"'4=_
r|ID]}w
struts.freemarker.manager.classname }J ^+66{
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ZRy'lW
org.apache.struts2.views.freemarker.FreemarkerManager接口名 >)j`Q1Qc\
rOo|.4w
struts.i18n.encoding s7Z+--I)L
The encoding to use for localization messages _{C
=d3
国际化信息内码 n40&4n
WSsX*L
struts.i18n.reload ev4f9Fhu
Whether the localization messages should automatically be reloaded W2w A66MB
是否国际化信息自动加载 IaHu$` v
`
it<\r[=
struts.locale >zS<1
The default locale for the Struts application o>l/*i0I
默认的国际化地区信息 "\~d!"n|2
Zl\$9Q_
struts.mapper.class -;Ij ,
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class U/s! Tb>`
org.apache.struts2.dispatcher.mapper.ActionMapper接口 9Qb6ek
l+r3|b
struts.multipart.maxSize 7Eo;TNbb
The maximize size of a multipart request (file upload) %7v!aJ40
multipart请求信息的最大尺寸(文件上传用) s?yl4\]Muf
mHB0eB'l
struts.multipart.parser 7L4~yazmK
The org.apache.struts2.dispatcher.multipart. VprrklZ
MultiPartRequest parser implementation for a multipart request (file upload) ]r(&hqdR
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) WbwS!F<au
V |hr 9
-Q MO*PY
struts.multipart.saveDir GlOSCJZ
The directory to use for storing uploaded files KBg5_+l
设置存储上传文件的目录夹 QFg{.F?3q>
<HfmNhI85(
struts.objectFactory <- (n48
The com.opensymphony.xwork2.ObjectFactory implementation class \sEH)$R'
com.opensymphony.xwork2.ObjectFactory接口(spring) >mW*K _~
e6i m_ Tk
struts.objectFactory.spring.autoWire CeINODcT
Whether Spring should autoWire or not o:c:hSV
是否自动绑定Spring MC~<jJ,
\"|7o8
struts.objectFactory.spring.useClassCache vUR@P
-
Whether Spring should use its class cache or not {%BPP{OFk
是否spring应该使用自身的cache Yl`)%6'5|
(&!x2M
struts.objectTypeDeterminer (7A- cC
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class d",VOhW7)S
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 DEQ7u`6
j2`%sBo
struts.serve.static.browserCache .L8g(F(=:
If static content served by the Struts filter should set browser caching header properties or not L#`Vr$
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 r!&}4lHYi
s(8e)0Tl
struts.serve.static '&!:5R5 9
Whether the Struts filter should serve static content or not c2Yrg@) [
是否struts过滤器应该提供静态内容 v
8B4%1NE
-+z8bZ
struts.tag.altSyntax miB+'n"zS
Whether to use the alterative syntax for the tags or not fo_*Uva_
是否可以用替代的语法替代tags h#}'9oA
') K'Ea
struts.ui.templateDir 2rWPqG4e
The directory containing UI templates D$fWeG{f
UI templates的目录夹 #By~gcN
:zQNnq:|
struts.ui.theme D}OhmOu3
The default UI template theme >9Z7l63+}
默认的UI template主题
x0||'0I0
-J;;6aA
struts.url.http.port /wPW2<|"X.
The HTTP port used by Struts URLs .OZ\s%h;
设置http端口 TlCGP)VSj
5BS !6o;P'
struts.url.https.port rAZ~R PrW
The HTTPS port used by Struts URLs &W{<Yf9
设置https端口 z#GrwE,r
=h\uC).t&
struts.url.includeParams mCSt.n~
The default includeParams method to generate Struts URLs X@\ 9}*9
在url中产生 默认的includeParams
NArr2o2
5 89P$2e1X
W.^R/s8O%5
struts.velocity.configfile T-y5U},
The Velocity configuration file path P*/ig0_fM
velocity配置文件路径 9;ie[sU:u
fbW<c`L H
struts.velocity.contexts 30bdcDm,
List of Velocity context names "J{A}g[
velocity的context列表 d Z}|G-:
nk"nSXm3SR
'kHa_
struts.velocity.manager.classname Q#lFt,.y
org.apache.struts2.views.velocity.VelocityManager implementation class |w.h97fj
org.apache.struts2.views.velocity.VelocityManager接口名 D77s3AyHK
42=/$V
struts.velocity.toolboxlocation SedVp cb+
The location of the Velocity toolbox +R',$YzD
velocity工具盒的位置 ^+O97<#6C
struts.xslt.nocache B=HEi\55K
Whether or not XSLT templates should not be cached A2''v3-h8
是否XSLT模版应该被缓存 =}%Q}aPp