struts2的struts.properties配置文件详解 *(.^$Iq4
XFAt\g
struts.action.extension BjJ gQ`X
The URL extension to use to determine if the request is meant for a Struts action j?) `VLZ
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4J|t}
KKJ [
struts.configuration w[[@&T\`
The org.apache.struts2.config.Configuration implementation class /4BXF4ksi,
org.apache.struts2.config.Configuration接口名 s(LqhF[N2]
qinQ5 t
struts.configuration.files PBnn,#
A list of configuration files automatically loaded by Struts b<cM[GaV~
struts自动加载的一个配置文件列表 n.>'&<H>9
\-id[zKb
struts.configuration.xml.reload 5Cka."bQ
Whether to reload the XML configuration or not &b8D'XQu
是否加载xml配置(true,false) J%B?YO,
~i#xjD5
struts.continuations.package H
pfI
The package containing actions that use Rife continuations ^Exq=oV
含有actions的完整连续的package名称 R6.#gb8^oS
4
V*)0?oYE
struts.custom.i18n.resources g o Z#
Location of additional localization properties files to load lY?d*qED
加载附加的国际化属性文件(不包含.properties后缀)
H;L&G|[
FeRuZww._J
struts.custom.properties G\AQql(f4
Location of additional configuration properties files to load $^ 3 f}IzA
加载附加的配置文件的位置 +JVfnTd
9xp
;$14
U2u>A
r
struts.devMode ;S j* {
Whether Struts is in development mode or not #=3]bg
是否为struts开发模式 tTamFL6
B 1.@K }
struts.dispatcher.parametersWorkaround h:90K
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >GRuS\B
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) [!
BH3J!
,Ou)F;r
struts.enable.DynamicMethodInvocation _xsYcw~)
Allows one to disable dynamic method invocation from the URL |sAg@kM
允许动态方法调用 __npX_4%S
8~>3&jX
struts.freemarker.manager.classname 4!|ar?Zy
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Rgu^>
~
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Ey%NqOs0#
n\Nl2u& m
struts.i18n.encoding nVD
YAg'
The encoding to use for localization messages I78pul8!
国际化信息内码 gQwmYe
T]`"
Xl8
struts.i18n.reload #YdU,y=B
Whether the localization messages should automatically be reloaded #Xly5J
是否国际化信息自动加载 +(0eOO'\M
X=~QE}x
struts.locale TXv#/@
The default locale for the Struts application ^u{$$.&
默认的国际化地区信息 5 <poN)"
"Q4{6FH+mB
struts.mapper.class [j39A`t7
o
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class I^=M>_s4
org.apache.struts2.dispatcher.mapper.ActionMapper接口 LLiX%XOh
4G ?k31,k
struts.multipart.maxSize pDQ,v"
The maximize size of a multipart request (file upload) ,fRb6s-
multipart请求信息的最大尺寸(文件上传用) /8T{bJ5
=j-{Mxb3
struts.multipart.parser j/&7L@Y
The org.apache.struts2.dispatcher.multipart. /FY_LM
MultiPartRequest parser implementation for a multipart request (file upload) pz+#1=b]
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?*=Jq
tTal<4
uDR(^T{g#
struts.multipart.saveDir L\I/2aiE
The directory to use for storing uploaded files ~MF. M8
设置存储上传文件的目录夹 _nUuiB>
,*US) &x
struts.objectFactory "^`AS"z'
The com.opensymphony.xwork2.ObjectFactory implementation class 62) F
com.opensymphony.xwork2.ObjectFactory接口(spring) vr$[
ko$R%W&T
struts.objectFactory.spring.autoWire =8-e1R/
Whether Spring should autoWire or not -L@=j
是否自动绑定Spring T=vI'"w
N{0 D <"
struts.objectFactory.spring.useClassCache rcCMx"L=
Whether Spring should use its class cache or not :M16ijkx
是否spring应该使用自身的cache cqDnZ`|6
I6+5 mv\
struts.objectTypeDeterminer ryPzq}#
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class nM#\4Q[}Jh
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +}]xuYzo
-VL3em|0
struts.serve.static.browserCache ! WNr09`
If static content served by the Struts filter should set browser caching header properties or not o'G")o
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^)WGc/
uP.3(n[&
struts.serve.static *" wsMO
Whether the Struts filter should serve static content or not .3#Tw'% G
是否struts过滤器应该提供静态内容 V0>,Kxk
4?`7XJ0a
struts.tag.altSyntax 0t8-oui
Whether to use the alterative syntax for the tags or not A#}IbcZ|b
是否可以用替代的语法替代tags B^Vb=* QRo
*:iFhKFU
struts.ui.templateDir +m_quQ/ys
The directory containing UI templates zrcSPh
UI templates的目录夹 pV_2JXM~@
d}1R<Q;F
struts.ui.theme ;TYkJH"
The default UI template theme ^c*'O0y[D
默认的UI template主题 WE\V<MGS/
+NQw^!0qy
struts.url.http.port #-{4F?DA]y
The HTTP port used by Struts URLs z[th@!3
设置http端口 9kcAMk1K
;tO (,^
struts.url.https.port *&7Av7S
The HTTPS port used by Struts URLs ne%ckW?ks
设置https端口 278
6tZF,
|#k1a:
struts.url.includeParams (sY?"(~j?T
The default includeParams method to generate Struts URLs m6s32??m
在url中产生 默认的includeParams DF<_Ns!
:2La,
a4?:suX$
struts.velocity.configfile UPH:$Fk&
The Velocity configuration file path 7P=j2;7 v
velocity配置文件路径 *+5AN306
RDZl@ps8
struts.velocity.contexts #8cY,%<S]
List of Velocity context names @X:P`?("^
velocity的context列表 e(sQgtM6
vtmvvv
:WE(1!P@
struts.velocity.manager.classname [E+#+-n7
org.apache.struts2.views.velocity.VelocityManager implementation class }{s<!b
org.apache.struts2.views.velocity.VelocityManager接口名 : -OHD#>%
99vm7"5 hQ
struts.velocity.toolboxlocation =F6J%$
The location of the Velocity toolbox BDpeAF8z
velocity工具盒的位置 ]*?qaIdqu
struts.xslt.nocache |:C=j/f
Whether or not XSLT templates should not be cached !ce:S!P
是否XSLT模版应该被缓存 1qtu,yIf