struts2的struts.properties配置文件详解 Y.\x.Hg
;~EQS.Qp
struts.action.extension
&cSVOsi
The URL extension to use to determine if the request is meant for a Struts action \xj;{xc
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +yp:douERi
H*'1bLzq
struts.configuration pA~}_
The org.apache.struts2.config.Configuration implementation class >%k6k1CZ
org.apache.struts2.config.Configuration接口名 yQE'!m
E4L?4>V@\
struts.configuration.files ]7O<|8n!d
A list of configuration files automatically loaded by Struts Lr:Qc#2
struts自动加载的一个配置文件列表 ?: yz/9(
du66a+@t
struts.configuration.xml.reload Zgo~"G
Whether to reload the XML configuration or not IHni1
是否加载xml配置(true,false) Gv_~@MN
s*ZE`/SM3
struts.continuations.package } #rTUX
The package containing actions that use Rife continuations t$18h2yOL
含有actions的完整连续的package名称 P[2!D)A
yQiY:SH
struts.custom.i18n.resources -GAF>
Location of additional localization properties files to load x9vSekV
加载附加的国际化属性文件(不包含.properties后缀) x,!Dd
1)56ec<c
struts.custom.properties sD:o
2(G*
Location of additional configuration properties files to load UX@%1W!8
加载附加的配置文件的位置 Lwr's'ao.
U`%t&7)
LE\=Y;%
struts.devMode ->8Kd1^F
Whether Struts is in development mode or not "XR=P>
xk
是否为struts开发模式 wlT8|
STp9Gh-
struts.dispatcher.parametersWorkaround q(?+01
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic rD].=.?1
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) m&:&z7^p
Nmj)TOEPW
struts.enable.DynamicMethodInvocation mG jB{Q+
Allows one to disable dynamic method invocation from the URL 5To@d|{
允许动态方法调用 Y~WdN<g
v Y0bK-
struts.freemarker.manager.classname ~5f&<,p!
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *nCA6i
org.apache.struts2.views.freemarker.FreemarkerManager接口名 QB*,+u4
dFm_"135
struts.i18n.encoding %
i4
5
The encoding to use for localization messages 2.D2
o
国际化信息内码 ABN4kM>%
tk&AZb,sP
struts.i18n.reload 566!T_
Whether the localization messages should automatically be reloaded _MBhwNBxZ
是否国际化信息自动加载 hOY@vm&
>}+{;d
struts.locale fg^AEn1i
The default locale for the Struts application #ibwD:{
默认的国际化地区信息 UK
':%LeL
]n!V
struts.mapper.class Mu\V3`j
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T/_u;My;
org.apache.struts2.dispatcher.mapper.ActionMapper接口 =AIFu\9#a`
H9mN nZ_k
struts.multipart.maxSize i]v3CY|3AI
The maximize size of a multipart request (file upload) ye^x>a['
multipart请求信息的最大尺寸(文件上传用) YThVG0I =
W,xdj! ^t
struts.multipart.parser ,/\`Rc^n
The org.apache.struts2.dispatcher.multipart. oY)eN?c
MultiPartRequest parser implementation for a multipart request (file upload) o,*m,Qc
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?zW'Hi
A2|Bbqd
KD kGQh#9
struts.multipart.saveDir V<QpC5
The directory to use for storing uploaded files ~}.C*;J
设置存储上传文件的目录夹 )|~&(+Q?]
}r:"X<`
struts.objectFactory B\J[O5},
The com.opensymphony.xwork2.ObjectFactory implementation class +
[w 0;W_
com.opensymphony.xwork2.ObjectFactory接口(spring) e~]P _53
sL$sj|" S
struts.objectFactory.spring.autoWire p&(0e,`z/
Whether Spring should autoWire or not 74Jx \(d
是否自动绑定Spring \ND]x]5d
:Y99L)+=/
struts.objectFactory.spring.useClassCache &}"kF\
Whether Spring should use its class cache or not $*C
}iJsF
是否spring应该使用自身的cache 9@*pC@I)
h4hAzFQ.s
struts.objectTypeDeterminer ?"yjgt7+y
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !j6k]BgZ
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 s41%A2Enh
<Wn~s=
struts.serve.static.browserCache suN6(p(.
If static content served by the Struts filter should set browser caching header properties or not w
<r*&
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +(+lbCW/
xV>
.]
struts.serve.static Xf4Q Lw/r
Whether the Struts filter should serve static content or not /!]K+6>u
是否struts过滤器应该提供静态内容 7X$CJ%6b
iC#a+G*N_M
struts.tag.altSyntax
3f`Uoh+
Whether to use the alterative syntax for the tags or not 56pj(}eq
是否可以用替代的语法替代tags )I%M]K]F
+ ~V%R{h
struts.ui.templateDir T<uX[BO-a
The directory containing UI templates ([8*Py|
UI templates的目录夹 `oxBIn*BD
mI&3y9; (
struts.ui.theme )z7CT|h7S
The default UI template theme `wi+/^);
默认的UI template主题 IVxJN(N^
-M{szH
struts.url.http.port 4e#g{,
The HTTP port used by Struts URLs G#7*O`
设置http端口 $O |Xq7dp
z
0?Me H#
struts.url.https.port [J2evi?
The HTTPS port used by Struts URLs zZ[kU1Fyv
设置https端口 `{#""I^_
qsj$u-xhX
struts.url.includeParams L` [iI
The default includeParams method to generate Struts URLs z>!./z]p
在url中产生 默认的includeParams s)\PY
{MtJP:8Jp
RPX.?;":
struts.velocity.configfile \#[DZOI~
The Velocity configuration file path ~BI`{/O=
velocity配置文件路径 94!}
Z>
/[/L%;a'p
struts.velocity.contexts #'/rFT4{v
List of Velocity context names (cVIjo+::
velocity的context列表 }0&Fu?sP
gbdzS6XW~
ub?dfS9$_
struts.velocity.manager.classname pW[TufTa
org.apache.struts2.views.velocity.VelocityManager implementation class -o/Vp>_UOE
org.apache.struts2.views.velocity.VelocityManager接口名 LuRCkKJ
/ :$WOQ
struts.velocity.toolboxlocation x1~AY/)v
The location of the Velocity toolbox gYt=_+-
velocity工具盒的位置 ^qL<=UC.
struts.xslt.nocache 'A[PUSEE
Whether or not XSLT templates should not be cached +P))*0(c_
是否XSLT模版应该被缓存 }X9&!A8z