struts2的struts.properties配置文件详解 qm}\?_
xXPUrv5zO
struts.action.extension "cQvd(kug
The URL extension to use to determine if the request is meant for a Struts action v,*Q]r0m
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 D+hB[*7Fs
#{~7G%GPY5
struts.configuration |Cq8%
The org.apache.struts2.config.Configuration implementation class DUo0w f#D^
org.apache.struts2.config.Configuration接口名 N*':U^/t4J
j88=f#<
struts.configuration.files 3B -NYJa
A list of configuration files automatically loaded by Struts xfes_v""
struts自动加载的一个配置文件列表 ?"u'#f_
)O -cw7 >
struts.configuration.xml.reload O&= KlnI:
Whether to reload the XML configuration or not FdM<;}6T
是否加载xml配置(true,false) g~|y$T
.xo_}Vw
struts.continuations.package 59~FpjJ
The package containing actions that use Rife continuations ~}9Bn)@
含有actions的完整连续的package名称 c-`37. J
mCK],TOA:
struts.custom.i18n.resources Mb~~A5
Location of additional localization properties files to load D2Vv\f
加载附加的国际化属性文件(不包含.properties后缀) pd7O`.3
Ri[S<GOMii
struts.custom.properties e@yx}:]h
Location of additional configuration properties files to load kMqD
iJ
加载附加的配置文件的位置 H8sK}1.
W0U`Kt&~a
/t$*W\PL@
struts.devMode ~@ ?"'!U
Whether Struts is in development mode or not rI *!"PL
是否为struts开发模式 5'62ulwMP=
NQg'|Pt(%
struts.dispatcher.parametersWorkaround b24di
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic
wFp~
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ` %l&zwj>
7x%S](m%
struts.enable.DynamicMethodInvocation ,}n=Z
Allows one to disable dynamic method invocation from the URL {clCn
允许动态方法调用 \+G.]|" Y
qT"drgpi3
struts.freemarker.manager.classname VZt;P%1;h
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \u{Jf'g
org.apache.struts2.views.freemarker.FreemarkerManager接口名 R
!Fx)xj
Kyu@>9Ok
struts.i18n.encoding ,cPkx~w0
The encoding to use for localization messages [6G=yp
国际化信息内码 {uEu>D$8
Z4\tY^NI
struts.i18n.reload +{S Maq
Whether the localization messages should automatically be reloaded L!?v BL
是否国际化信息自动加载 6W]OpM
QN3qF|))
struts.locale \)p4okpR
The default locale for the Struts application ^4RO
默认的国际化地区信息 :a=ro2NH
aD?# ,
struts.mapper.class Z(l9>A7!
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %Fs*#S
org.apache.struts2.dispatcher.mapper.ActionMapper接口 5Ws5X_?d
AL(n*,
struts.multipart.maxSize eSJAPU(D
The maximize size of a multipart request (file upload) -<]\l3E&J
multipart请求信息的最大尺寸(文件上传用) Av@&hD\
gHp'3SnS
struts.multipart.parser >c}:
The org.apache.struts2.dispatcher.multipart. q|R+x7x
MultiPartRequest parser implementation for a multipart request (file upload) zoR,RBU6
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $xLEA\s
e',hC0&S
4u@yJ?U
struts.multipart.saveDir (6e!09P&
The directory to use for storing uploaded files =VCi8jDkP
设置存储上传文件的目录夹 /]pX8
d
Dp%5$wF)8
struts.objectFactory W]} #\\$z
The com.opensymphony.xwork2.ObjectFactory implementation class u):X>??
com.opensymphony.xwork2.ObjectFactory接口(spring) jG
=(w4+
A J<iM)l|
struts.objectFactory.spring.autoWire X77A; US
Whether Spring should autoWire or not @gs26jX~2}
是否自动绑定Spring 37J\i ]
<GSQ2bX[
struts.objectFactory.spring.useClassCache ww-XMz h
Whether Spring should use its class cache or not |*lH9lWJ
是否spring应该使用自身的cache A$%@fO.b
],!\IqO
struts.objectTypeDeterminer j@%K*Gb`
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class A"Tc^Ij
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 p
Z0=
t^`<*H
struts.serve.static.browserCache I[tAT[ <
If static content served by the Struts filter should set browser caching header properties or not qPp1:a"
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0Ei\VVK>
LBW.*PHW
struts.serve.static c ,Qw;
Whether the Struts filter should serve static content or not tVC@6Z$
是否struts过滤器应该提供静态内容 ^nG1/}
Vww@eK%5Q
struts.tag.altSyntax ;+S2h-4
Whether to use the alterative syntax for the tags or not Z}]:x
`fXd
是否可以用替代的语法替代tags pA*D/P-
zfk'>_'
struts.ui.templateDir Na~g*)uT$
The directory containing UI templates +J\L4ri k
UI templates的目录夹 p*A^0DN'Fn
.q
AQPL
struts.ui.theme ~,(0h:8
The default UI template theme e-nWD
默认的UI template主题 Rh wt<
d)`nxnbMeM
struts.url.http.port i n[n Aa
The HTTP port used by Struts URLs 9itdRa==
设置http端口 dL1~]Z
y
[d!Af4
struts.url.https.port >VpP/Qf
The HTTPS port used by Struts URLs dM);LT8@
设置https端口 0S)"Q^6ny
>qSO,$
struts.url.includeParams z'5;f;
The default includeParams method to generate Struts URLs [V!^\g\6
在url中产生 默认的includeParams Ws2prh^e(
9OrA9r
},?-$eyX
struts.velocity.configfile 7H8GkuO
The Velocity configuration file path 44Seq
velocity配置文件路径 P^'>dOI0w
9+WY@du+
struts.velocity.contexts *Y|lO
List of Velocity context names Bbn832iMUY
velocity的context列表 VWnu#_(
I v 80,hW
z|t.y.JX
struts.velocity.manager.classname ;j[q?^ b
org.apache.struts2.views.velocity.VelocityManager implementation class Y{x[N}h
org.apache.struts2.views.velocity.VelocityManager接口名 {,nd_3"Vq
b;&Yw-\nZ;
struts.velocity.toolboxlocation `Gy>tD.#V-
The location of the Velocity toolbox XnNOj>!
velocity工具盒的位置 Z_eqM4{
struts.xslt.nocache Mt7X<?GZm
Whether or not XSLT templates should not be cached V^/h;/!^
是否XSLT模版应该被缓存 0C4*F