struts2的struts.properties配置文件详解 yt. f!"
SXQ@;=]xV
struts.action.extension 3Bejp+xX
The URL extension to use to determine if the request is meant for a Struts action A/!<kp{S
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ci`zR9Ks
~ct2`M$TL(
struts.configuration py]KTRzy
The org.apache.struts2.config.Configuration implementation class lwVk(l
Z
org.apache.struts2.config.Configuration接口名 i*X{^A73"
9Hu
d|n
struts.configuration.files ]53O}sH>
A list of configuration files automatically loaded by Struts tC^ 1}
struts自动加载的一个配置文件列表 '9 'l=Sh
gXLCRn!iR
struts.configuration.xml.reload A'GlCp
Whether to reload the XML configuration or not 5gSylts8
是否加载xml配置(true,false) {1jpLdCbV^
vwVVBG;t
struts.continuations.package yB.G=90
The package containing actions that use Rife continuations <O.Kqk*
nq
含有actions的完整连续的package名称 doBNghS
Ski G2n]
struts.custom.i18n.resources 4avc=Y5
Location of additional localization properties files to load C`)_i3
^
加载附加的国际化属性文件(不包含.properties后缀) b 8>q;
gc##V]OD
struts.custom.properties 7skljw(
Location of additional configuration properties files to load ZT6V/MD7T.
加载附加的配置文件的位置 0x\2#i
cg,Ua!c
@@Q6TB
struts.devMode (z/jMMms
Whether Struts is in development mode or not j?xk&
是否为struts开发模式 Zb."*zL
U2bzUxK
struts.dispatcher.parametersWorkaround @}(SR\~N]
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _lXt8}:+
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) zDB"r
dXl]Pe|v
struts.enable.DynamicMethodInvocation t)} \9^Uo
Allows one to disable dynamic method invocation from the URL |=O1Hn
允许动态方法调用 R"Kz!NTB
'@bJlJB9>
struts.freemarker.manager.classname '99@=3AB:`
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class A;,Dg=FL/
org.apache.struts2.views.freemarker.FreemarkerManager接口名 L?8^aG
E tx`K5Tr]
struts.i18n.encoding #1[z;Mk0
The encoding to use for localization messages OqBC/p
B
国际化信息内码 p;0 PxL=
#F!Kxks
struts.i18n.reload fz3lR2~G
Whether the localization messages should automatically be reloaded }%$OU = T
是否国际化信息自动加载 ?KB@Zm+#~
_42Z={pZZq
struts.locale F}D3,&9N
The default locale for the Struts application .#0H{mk
默认的国际化地区信息 MGQ,\55"
Wwhgo.Wx
struts.mapper.class V.8%|-d
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class vM(Xip7
org.apache.struts2.dispatcher.mapper.ActionMapper接口 3rNc1\a;
Yl~$V(
struts.multipart.maxSize "]#'QuR
The maximize size of a multipart request (file upload) ul@3
Bt
multipart请求信息的最大尺寸(文件上传用) *g_w I%l
UW6VHA>
struts.multipart.parser =WK04\H
The org.apache.struts2.dispatcher.multipart. e[{mVhg4E
MultiPartRequest parser implementation for a multipart request (file upload) 'w.}2(
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) d; =u
!^iwQ55e2A
2 z7}+lH
struts.multipart.saveDir qfYG.~`5
The directory to use for storing uploaded files t`YWwI.
设置存储上传文件的目录夹 =u=Kw R
u]M\3V.
struts.objectFactory 99u/fk L
The com.opensymphony.xwork2.ObjectFactory implementation class
WK==j1
com.opensymphony.xwork2.ObjectFactory接口(spring) &yU>2=/T
5/?P|T
struts.objectFactory.spring.autoWire @7W?8
Whether Spring should autoWire or not ,?(ciO)
是否自动绑定Spring `\N]wlB2/b
Xwq]f:@V
struts.objectFactory.spring.useClassCache j;\[pg MR/
Whether Spring should use its class cache or not Ie@Jb{x
是否spring应该使用自身的cache !n<o)DsZR
JoJukoy}F
struts.objectTypeDeterminer g1{/ 5{XI
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class XA{F:%
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 m5*[t7@%
VRbQdiZ{
struts.serve.static.browserCache [b/o$zR
If static content served by the Struts filter should set browser caching header properties or not % (<(Y
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 aGK@)&h$
xS8,W
struts.serve.static _TUm$#@Y`
Whether the Struts filter should serve static content or not g)R1ObpZ
是否struts过滤器应该提供静态内容 o=_c2m
BpH%STEN
struts.tag.altSyntax VEs5;]#<2D
Whether to use the alterative syntax for the tags or not G\=_e8(
是否可以用替代的语法替代tags ,lm=M5b
Z\ )C_p\-
struts.ui.templateDir +sf .PSz$
The directory containing UI templates !^WHZv4
UI templates的目录夹 h5GU9M
zvO:"w}
struts.ui.theme W5SN I>|E
The default UI template theme &= eYr{
默认的UI template主题 8(lR!!=q
{^m Kvc
struts.url.http.port S6sq#kcH
The HTTP port used by Struts URLs G1d(,4Xp
设置http端口 bL1m'^r
|cd-!iJX-
struts.url.https.port F!yV8XQ
The HTTPS port used by Struts URLs zzIr2so
设置https端口 ~<)vKk
#xT!E:W'
struts.url.includeParams 5=L} \ankn
The default includeParams method to generate Struts URLs -RMi8{
在url中产生 默认的includeParams Ef@,hX
q
\O
Ou
!SxG(*u
struts.velocity.configfile 6BAW
The Velocity configuration file path pC(sS0J
velocity配置文件路径 6F|j(LB
y1pu R7
struts.velocity.contexts qP1FJ89H
List of Velocity context names Vn|1v4U!
velocity的context列表 ~h)&&'a
lV6dm=k
PsnGXcj
struts.velocity.manager.classname J7+w4q~cB`
org.apache.struts2.views.velocity.VelocityManager implementation class 8P2 J2IU
org.apache.struts2.views.velocity.VelocityManager接口名 )Gk`[*q ;
O !&,5 Dy
struts.velocity.toolboxlocation F9flSeN
The location of the Velocity toolbox L0NA*C
velocity工具盒的位置 fU+Pn@'
struts.xslt.nocache ,6,]#R
:J
Whether or not XSLT templates should not be cached m3.sVI0I
是否XSLT模版应该被缓存 Q(Gl{#b