struts2的struts.properties配置文件详解 /n3Qcht
`Q!#v{
struts.action.extension +td]g9Ie
The URL extension to use to determine if the request is meant for a Struts action !XqU'xxC
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 xCYK"v6\
4/?@ %
struts.configuration #WlTE&
The org.apache.struts2.config.Configuration implementation class crbph.0
org.apache.struts2.config.Configuration接口名 [q!/YL3%
W'Y?X]xr
struts.configuration.files wsEOcaie
A list of configuration files automatically loaded by Struts o FS2*u
struts自动加载的一个配置文件列表 xiy=D5N.=
V=de3k&p
struts.configuration.xml.reload i1 >oRT{Z
Whether to reload the XML configuration or not I
R|[&} z
是否加载xml配置(true,false) gjL+8Rk
H{et2J<H
struts.continuations.package ''?iJFR
The package containing actions that use Rife continuations (&!RX.i
含有actions的完整连续的package名称 )&s9QBo{b
C7=N`s}
struts.custom.i18n.resources 3]li3B'
Location of additional localization properties files to load c\le8C3
加载附加的国际化属性文件(不包含.properties后缀) ufn%sA
vI20G89E
struts.custom.properties E"zC6iYZ;
Location of additional configuration properties files to load Gq]/6igzX
加载附加的配置文件的位置 MS`XhFPS.
4Ifz-t/
tNG[|Bi#
struts.devMode ;Sl%I+?
Whether Struts is in development mode or not ):]5WHYg
是否为struts开发模式 !<vy!pXg
QmC#1%@a
struts.dispatcher.parametersWorkaround -)Hc^'.
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]YrgkC35
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) t"nxny9&
`b KJ
struts.enable.DynamicMethodInvocation kD
me>E=
Allows one to disable dynamic method invocation from the URL }z F,dst
允许动态方法调用 F<4>g+Ag
UCo`l~K)qg
struts.freemarker.manager.classname $/crb8-C
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class "$.B@[iY@
org.apache.struts2.views.freemarker.FreemarkerManager接口名 .sSbU^U
TF?~vS%@P
struts.i18n.encoding 'iU+mRLp
The encoding to use for localization messages +`7!4gxwK!
国际化信息内码 a$3 ]`
#sE:xIR
struts.i18n.reload QIfP%,LT
Whether the localization messages should automatically be reloaded *z^Au7,&
是否国际化信息自动加载 (QS 0
6a704l%#hb
struts.locale pf&U$oR4
The default locale for the Struts application `SA1V),~
默认的国际化地区信息 2O}X-/H
@<yY Mo7
struts.mapper.class 0jt@|3
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7NkMr8[}F
org.apache.struts2.dispatcher.mapper.ActionMapper接口
i (`Q{l
VAp 1{
struts.multipart.maxSize a@-bw4SD
The maximize size of a multipart request (file upload) 0J6* U[
multipart请求信息的最大尺寸(文件上传用) 81!gp7c
P('bnDU
struts.multipart.parser Js(MzL
The org.apache.struts2.dispatcher.multipart. p!EG:B4
MultiPartRequest parser implementation for a multipart request (file upload) +F~B"a
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) p*l=rni4
jW{bP_,"
L)
UCVm
struts.multipart.saveDir </b_Rar
The directory to use for storing uploaded files +1r><do;
设置存储上传文件的目录夹 NZ?dJ"eq7
\}AJ)v*<
struts.objectFactory tF\_AvL_8
The com.opensymphony.xwork2.ObjectFactory implementation class ?@<Tzk]a.
com.opensymphony.xwork2.ObjectFactory接口(spring) 'wWuR@e#&
.EC~o
struts.objectFactory.spring.autoWire PAH#yM2Ic
Whether Spring should autoWire or not n] t3d
是否自动绑定Spring :\C/mT3xL)
?J-D6;
struts.objectFactory.spring.useClassCache >DN^',FEm
Whether Spring should use its class cache or not .*Bd'\:F/q
是否spring应该使用自身的cache NN5G
'|i
oi8M6l
struts.objectTypeDeterminer cM\BEhh
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7`e<H 8g
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 p.H`lbVY
7I*rtc&Kb
struts.serve.static.browserCache 9i
D&y)$"
If static content served by the Struts filter should set browser caching header properties or not aimf,(+
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 TmK8z
":qS9vW
struts.serve.static 9<
S
Whether the Struts filter should serve static content or not orbz`IQc
是否struts过滤器应该提供静态内容 Lhrlz,1
k=G c#SD5_
struts.tag.altSyntax ",' Zr<T
Whether to use the alterative syntax for the tags or not 0#ON}l)>
是否可以用替代的语法替代tags Kjpsz] ;
foB&H;A4oC
struts.ui.templateDir a54S,}|
The directory containing UI templates #B
q|^:nj
UI templates的目录夹 Vt-V'`Y
~f( #S*Ic
struts.ui.theme rDu?XJA
The default UI template theme t3C#$>
默认的UI template主题 $"k1^&&E
[E"3?p
struts.url.http.port B9,
The HTTP port used by Struts URLs ywB0
D`s'
设置http端口 *~w?@,}
vE)d0l"
struts.url.https.port EW3--33s
The HTTPS port used by Struts URLs QUg<~q)Oq
设置https端口 ]7RK/Zu i
_d+` Gw
struts.url.includeParams F!2VTPm9z
The default includeParams method to generate Struts URLs uKB V`I
在url中产生 默认的includeParams FI)0.p
A0Q1"b=
r 5+ MjR
struts.velocity.configfile ju4wU;Nu
The Velocity configuration file path }uO2x@
velocity配置文件路径 Ri}JM3\J
iR8;^C.aT
struts.velocity.contexts @&9<)1F
List of Velocity context names ]eX(K5 A
velocity的context列表 o =F!&]+
W9bpKmc
`8TL*.9
struts.velocity.manager.classname a)6?:nY$
org.apache.struts2.views.velocity.VelocityManager implementation class ^,[gO#hgz
org.apache.struts2.views.velocity.VelocityManager接口名 Xob(4
52F3r:Rk
struts.velocity.toolboxlocation B74]hgK
The location of the Velocity toolbox Hl8\*#;C&>
velocity工具盒的位置 kq(]7jU$[
struts.xslt.nocache h*sL' fJ]
Whether or not XSLT templates should not be cached $cLZ,N24
是否XSLT模版应该被缓存 6^FUuj.