struts2的struts.properties配置文件详解 t9()?6H\
, eZL&n
struts.action.extension X+K$y:UZ
The URL extension to use to determine if the request is meant for a Struts action {q:o}<-L+
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3rZ" T
ft[g1
struts.configuration HYPFe|t/
The org.apache.struts2.config.Configuration implementation class {P#&e>)v{
org.apache.struts2.config.Configuration接口名 WLWE%bDP
y6o^ Knl
struts.configuration.files EhybaRy;C
A list of configuration files automatically loaded by Struts %zyMWC
struts自动加载的一个配置文件列表 [hS?d.D
v; ;X2 a1k
struts.configuration.xml.reload _rqOzE)
Whether to reload the XML configuration or not [,a O*7N
是否加载xml配置(true,false) AAdRuO{l1
ys;e2xekg
struts.continuations.package v[6 BESu
The package containing actions that use Rife continuations d/(=q
含有actions的完整连续的package名称 0{Kl5>Z9M
5e,Dk0d
struts.custom.i18n.resources y+?tUSPP
Location of additional localization properties files to load g}3c r.
加载附加的国际化属性文件(不包含.properties后缀) 7Yxy2[
K.R2)o`
struts.custom.properties \sC0om,
Location of additional configuration properties files to load ,/W<E
加载附加的配置文件的位置 $YSD%/c
tTyu,%/m
&u"*vG (U[
struts.devMode :*&wnQMKR
Whether Struts is in development mode or not =O)JPo&iwY
是否为struts开发模式 S53%*7K.
H]=3^ g64
struts.dispatcher.parametersWorkaround 0 \LkJ*i
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ^^?DYC
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2a=WT`xf?
Lx?bO`=qg7
struts.enable.DynamicMethodInvocation vEzzdDwi6
Allows one to disable dynamic method invocation from the URL ].dTEzL9X
允许动态方法调用
|k/; .
AD?DIE(v
struts.freemarker.manager.classname sp**Sg)
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class kM3BP&
3m1
org.apache.struts2.views.freemarker.FreemarkerManager接口名 &OhKx
@gi
Y
struts.i18n.encoding HB`pK'gz
The encoding to use for localization messages y-n\;d>[(
国际化信息内码 P1)
80<t
GYO\l.%V5y
struts.i18n.reload )1fQhdO}x
Whether the localization messages should automatically be reloaded g=Qga09
是否国际化信息自动加载 BE"nyTQ
jq0tMTb%L
struts.locale |}M']Vz
The default locale for the Struts application cZ!s/^o?f
默认的国际化地区信息 Jl]]nOBQ/
: l>Ue&
struts.mapper.class Q5,@P?
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b(Z%#*e
org.apache.struts2.dispatcher.mapper.ActionMapper接口 3(5RUI-
|O4A+S
struts.multipart.maxSize 9uS7G *
The maximize size of a multipart request (file upload) 6ZG)`u".("
multipart请求信息的最大尺寸(文件上传用) oy r2lfz*
Yip9K[
struts.multipart.parser 5R=lTx/Hj
The org.apache.struts2.dispatcher.multipart. 0[1!K&(L
MultiPartRequest parser implementation for a multipart request (file upload) Eq8OAuN
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) f0D Ch]
bg
HaheU
/M3D[aR<d
struts.multipart.saveDir Q"Ec7C5eM
The directory to use for storing uploaded files GcU/
设置存储上传文件的目录夹 !%u#J:z2
7&At_l_
struts.objectFactory M)J *Df0@
The com.opensymphony.xwork2.ObjectFactory implementation class ]~qN<x
com.opensymphony.xwork2.ObjectFactory接口(spring) H*\[:tPa
y:A0!75
struts.objectFactory.spring.autoWire *cf"l
Whether Spring should autoWire or not aydal9M
是否自动绑定Spring |?|
u-y
Z>,X$Y6<
struts.objectFactory.spring.useClassCache b;t]k9:"L
Whether Spring should use its class cache or not Q
jBCkx]g
是否spring应该使用自身的cache ?
w?k-v
~d8>#v=Q`
struts.objectTypeDeterminer o(``7A@7a
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tbPPI)lu
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 O5{XT]:
f
oVD+\~Y
struts.serve.static.browserCache ]T51;j'48
If static content served by the Struts filter should set browser caching header properties or not Eo Urc9G2
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Q'a N|^w"f
j?,*fp8
struts.serve.static GiZ'IDV
Whether the Struts filter should serve static content or not A C^[3
是否struts过滤器应该提供静态内容 *i{.@RX?
~1'468
struts.tag.altSyntax Qf|}%}%fp
Whether to use the alterative syntax for the tags or not vs@:L)GW\
是否可以用替代的语法替代tags e\_6/j7'
X}-H=1T?
struts.ui.templateDir "r
V4[MVxt
The directory containing UI templates 0tqR wKL
UI templates的目录夹 >>bYg
5tU"|10m3
struts.ui.theme Mdrv/x{
The default UI template theme ?03Zy3/
默认的UI template主题 V
3]p3
mG~y8nUtp
struts.url.http.port a1`cI5n
The HTTP port used by Struts URLs zzQH@D1
设置http端口 9`v:$(I
$M`;."
struts.url.https.port 0:Y`#0qK
The HTTPS port used by Struts URLs H27Oq8
设置https端口 >1U@NK)HfY
=+h!JgY/L
struts.url.includeParams _Af4ct;ng
The default includeParams method to generate Struts URLs d95N$n
在url中产生 默认的includeParams 5SL>q`t.bd
87(^P3;@
b2=Q~=Wc
struts.velocity.configfile R[9PFMn
The Velocity configuration file path lq8ko@
velocity配置文件路径 =Xjuz:9D~
8Qz7uPq
struts.velocity.contexts d+2O^of:T
List of Velocity context names 9H}iX0O
velocity的context列表 8}oDRN!J
iB3+KR
cNr][AzU@
struts.velocity.manager.classname Mto~ /
org.apache.struts2.views.velocity.VelocityManager implementation class q&$0i
org.apache.struts2.views.velocity.VelocityManager接口名 ;9 &1JX
Eb[H3v48,
struts.velocity.toolboxlocation Wx|6A#cg!
The location of the Velocity toolbox ;~:Ryl M
velocity工具盒的位置 ~<aeA'>OA
struts.xslt.nocache _d0-%B
9m
Whether or not XSLT templates should not be cached #oroY.o
是否XSLT模版应该被缓存 aho<w+l@