struts2的struts.properties配置文件详解 &w*.S@ ;
2etcSU(y>
struts.action.extension Q6_!I42Y`
The URL extension to use to determine if the request is meant for a Struts action i:&Y{iPQp
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @+syD
\x(J vDt
struts.configuration >9esZA^';
The org.apache.struts2.config.Configuration implementation class m qPWCFP
org.apache.struts2.config.Configuration接口名 # h/-
JZD27[b
struts.configuration.files 8niQG']
A list of configuration files automatically loaded by Struts fH`P8?](x
struts自动加载的一个配置文件列表 $A7[?Ai ?
?%JH4I2
struts.configuration.xml.reload @_FL,AC&m
Whether to reload the XML configuration or not X@JDfn?A
是否加载xml配置(true,false) RB\>$D
!z{bqPlFGG
struts.continuations.package O2:m)@
The package containing actions that use Rife continuations A>%fE 6FY
含有actions的完整连续的package名称 jXGr{n
*Y9"-C+
struts.custom.i18n.resources X3!btxa%t
Location of additional localization properties files to load [\V]tpl!
加载附加的国际化属性文件(不包含.properties后缀) #|A
@
TcpD*%wW
struts.custom.properties }dAb}0XK.
Location of additional configuration properties files to load {tu* ="d=
加载附加的配置文件的位置 aPcO9
s)375jCga
MGX,JW>L
struts.devMode ^\e:j7@z
Whether Struts is in development mode or not `2J6Dz"W
是否为struts开发模式 $Z+N* w~8
n1y#gC
struts.dispatcher.parametersWorkaround )}~k7bb}Y
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |I^\|5
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) J^
P/2a#a
,
y{o!w
struts.enable.DynamicMethodInvocation 9H1R0iWW
Allows one to disable dynamic method invocation from the URL 5|r3i \
允许动态方法调用 (FH4\ 't)
f3y_&I+zl
struts.freemarker.manager.classname @2CYv>
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @D9c
org.apache.struts2.views.freemarker.FreemarkerManager接口名 lLmVat(
[jDO8n/
struts.i18n.encoding MZ=U}
&F
The encoding to use for localization messages EK@yzJ%
国际化信息内码 ;?=nr 5;q
{8@?9Z9R{
struts.i18n.reload &KbtW_
Whether the localization messages should automatically be reloaded
/A_</GYs
是否国际化信息自动加载 @]H&(bw
~<Gs<c}z
struts.locale &^ =t%A%#
The default locale for the Struts application j:)
(`
默认的国际化地区信息 Yah3I@xGy
]'~'V2Ey
struts.mapper.class ^zsCF0
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class u-OwL1S+
org.apache.struts2.dispatcher.mapper.ActionMapper接口 L@CN0ezQs
U6jlv3
struts.multipart.maxSize o$d; Y2K
The maximize size of a multipart request (file upload) *S~. KW [
multipart请求信息的最大尺寸(文件上传用) B V+"uF
HQt=.#GW
struts.multipart.parser f:Nfw+/q
The org.apache.struts2.dispatcher.multipart. DG7FG--
MultiPartRequest parser implementation for a multipart request (file upload) 0z#+^
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) eK/[jxNO
&oTSff>p}
>bz}IcZP
struts.multipart.saveDir wMt?yc:X
The directory to use for storing uploaded files *N\U{)b\
设置存储上传文件的目录夹 \dIIZSN
``w,CP ?
struts.objectFactory 8@6:UR.)
The com.opensymphony.xwork2.ObjectFactory implementation class (mt,:hX
com.opensymphony.xwork2.ObjectFactory接口(spring) k W/3
Aq7r
i&mu=J[
struts.objectFactory.spring.autoWire W>wE8? _,
Whether Spring should autoWire or not YXrTm[P
是否自动绑定Spring m[ay
W
qci51y>#
struts.objectFactory.spring.useClassCache
ReZ|q5*
Whether Spring should use its class cache or not e_k1pox]l
是否spring应该使用自身的cache B
wtD!de$
4xtbP\=
struts.objectTypeDeterminer }(op;7
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qZKU=HM
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |5e/ .T$
1k{ E7eL
struts.serve.static.browserCache j\@s pbE@
If static content served by the Struts filter should set browser caching header properties or not l:j9lBS
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7S2Bm]fP
f
IQ$a>
struts.serve.static [FF%HRce,.
Whether the Struts filter should serve static content or not Z%(aBz7Et
是否struts过滤器应该提供静态内容 :ozHuHJ#
N+HN~'8r
struts.tag.altSyntax C*kZ>mbc
Whether to use the alterative syntax for the tags or not saU|.\l
是否可以用替代的语法替代tags cg1 <
e/#4)@]
struts.ui.templateDir s67$tlV
The directory containing UI templates kl3#&>e
UI templates的目录夹 @iC!Q>D
=J0FT2 d
struts.ui.theme isWB)$q
The default UI template theme c)iQ3_&=
默认的UI template主题 jpm}EOq<%
EJdq"6S
struts.url.http.port 2$qeNy
The HTTP port used by Struts URLs [#3:CDT
设置http端口 "Q2[A]4E
6NJ La|&n
struts.url.https.port AGK+~EjL@
The HTTPS port used by Struts URLs ?D57HCd`n
设置https端口 t~sW]<qjp
F[RhuNa&'W
struts.url.includeParams '~liDz*O
The default includeParams method to generate Struts URLs wpx,~`&
在url中产生 默认的includeParams r-4I{GPb
5XFhjVmEL
V%Y.N4H
struts.velocity.configfile %b@>riR(y
The Velocity configuration file path >[ lj8n
velocity配置文件路径 jDH)S{k
.N/4+[2p(
struts.velocity.contexts "/ @
;6
List of Velocity context names ^h^j:!76j
velocity的context列表 sE>'~+1_O
rUx%2O|qu
<XCH{Te1
struts.velocity.manager.classname cf0em!
org.apache.struts2.views.velocity.VelocityManager implementation class =jg!@H=_i
org.apache.struts2.views.velocity.VelocityManager接口名 YwB5Zqr
Cv;z^8PZJz
struts.velocity.toolboxlocation 0A5xG&
The location of the Velocity toolbox bsqoR8
velocity工具盒的位置 6kIq6rWF9
struts.xslt.nocache D=9x/ ) *G
Whether or not XSLT templates should not be cached F^`sIrZvs
是否XSLT模版应该被缓存 ,ZMYCl]