struts2的struts.properties配置文件详解 l<58A7
/[
5gX^A
struts.action.extension On9A U:\
The URL extension to use to determine if the request is meant for a Struts action @k,#L`3^
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 P~ >OS5^
"c%0P"u
struts.configuration F rfM3x6UM
The org.apache.struts2.config.Configuration implementation class gwuI-d^
org.apache.struts2.config.Configuration接口名 'CM|@Zz%
Tztu}t]N
struts.configuration.files ;u_X)
A list of configuration files automatically loaded by Struts l*Gvf_UH
struts自动加载的一个配置文件列表 @<hb6bo,N
-A^ _{4X
struts.configuration.xml.reload +SR+gE\s0
Whether to reload the XML configuration or not t&C1Oo}=3
是否加载xml配置(true,false) _7Ju
] vHF~|/-
struts.continuations.package >
PRFWO
The package containing actions that use Rife continuations ;#W2|'HD
含有actions的完整连续的package名称 5}l[>lF
u5`u>.!
struts.custom.i18n.resources oM>l#><nq
Location of additional localization properties files to load ~D j8z+^
加载附加的国际化属性文件(不包含.properties后缀) oGnSPI5KGC
we//|fA<
struts.custom.properties cJ=6r
:
Location of additional configuration properties files to load $f
<(NM6?
加载附加的配置文件的位置 ]nn98y+
%D{6[8
i
&nSh ]KK
struts.devMode ]g3JZF-
Whether Struts is in development mode or not @alK;\
是否为struts开发模式 zZPO&akB"
:1QI8%L'$i
struts.dispatcher.parametersWorkaround =7=]{Cx[
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Uiw2oi&_
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3wF;GG
nfbR
P t
struts.enable.DynamicMethodInvocation GY'%+\*tj
Allows one to disable dynamic method invocation from the URL #jvtUS \
允许动态方法调用 hR?{3d#x2
Mq156TL
struts.freemarker.manager.classname hn
GZ=
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class e'NJnPO
org.apache.struts2.views.freemarker.FreemarkerManager接口名 m e$Z~/Akm
AlaW=leTe
struts.i18n.encoding 5{X<y#vAC0
The encoding to use for localization messages {UI+$/v#
国际化信息内码 y%cP1y)
hE D}h![
struts.i18n.reload g
wRZ%.Cn
Whether the localization messages should automatically be reloaded |tH4:%Q'
是否国际化信息自动加载 Q~
w|#
Rsm^Z!sn
struts.locale Vx u0F]%
The default locale for the Struts application tCH!my_
默认的国际化地区信息 rpha!h>w1%
~Fcm[eoC
struts.mapper.class !c
Hum
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class k(nW#*N_
org.apache.struts2.dispatcher.mapper.ActionMapper接口 q6luUx,@m
_1\v
struts.multipart.maxSize _
]ipajT
The maximize size of a multipart request (file upload) D#C~pdp
multipart请求信息的最大尺寸(文件上传用) $bR~+C
eu-*?]&Di
struts.multipart.parser [q[Y~1o/&H
The org.apache.struts2.dispatcher.multipart. P/eeC"
MultiPartRequest parser implementation for a multipart request (file upload) BL}\D;+t
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) IFL*kB
&DX! f
EI%89i`3^
struts.multipart.saveDir A}9`S6 @@
The directory to use for storing uploaded files ~qKY) "gG
设置存储上传文件的目录夹 0v?"tOT!
%J?xRv!
struts.objectFactory Q(?#'<.#
The com.opensymphony.xwork2.ObjectFactory implementation class kVMg 1I@
com.opensymphony.xwork2.ObjectFactory接口(spring) &U#|uc!+
QZ
struts.objectFactory.spring.autoWire *L^,|
Whether Spring should autoWire or not Z@S3ZGe
是否自动绑定Spring .|70;
|0b`fOS
struts.objectFactory.spring.useClassCache i[3'ec3
Whether Spring should use its class cache or not [}=B8#Jl-C
是否spring应该使用自身的cache ![=yi
tB
f}P3O3Yv&
struts.objectTypeDeterminer 6A-|[(NS
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 904}Jh,
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 G5 WVr$
O<?R)NH-P
struts.serve.static.browserCache 14yv$,
If static content served by the Struts filter should set browser caching header properties or not ^6V[=!& H
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "ze|W\Bv!
&j"?\f?
struts.serve.static db7B^|Di
Whether the Struts filter should serve static content or not g8% &RG
是否struts过滤器应该提供静态内容 #q=Efn'
583|blL
struts.tag.altSyntax '-~~-}= sJ
Whether to use the alterative syntax for the tags or not 1>h]{%I
是否可以用替代的语法替代tags u&7[n_
zRr*7G
struts.ui.templateDir #)O65GI
The directory containing UI templates aX'*pK/-
UI templates的目录夹 sDlO#
%P|/A+Mg"
struts.ui.theme +=</&Tm
The default UI template theme %7.30CA|#
默认的UI template主题 hRhe& ,v
tT_\ i6My
struts.url.http.port {JMVV_}n
The HTTP port used by Struts URLs 5U$0F$BBp
设置http端口 ]N?kG`[
^u ~Q/4
struts.url.https.port 0aB;p7~&
The HTTPS port used by Struts URLs igPX#$0XU
设置https端口 W^l-Y%a/o
2E'UZ
m
struts.url.includeParams !%c\N8<>GD
The default includeParams method to generate Struts URLs )jP1or
在url中产生 默认的includeParams Yc?*dUV
e(t\g^X
@:#eb1<S
struts.velocity.configfile p<"m[Dt]
The Velocity configuration file path zQd
2
velocity配置文件路径 64tvP^kp
8{sGNCvU
struts.velocity.contexts x7[BK_SY
List of Velocity context names 0\P1; ak%
velocity的context列表 Ad_hKO
M8(t'jN
4H&+dRI"
struts.velocity.manager.classname eng'X-x
org.apache.struts2.views.velocity.VelocityManager implementation class AoxA+.O
org.apache.struts2.views.velocity.VelocityManager接口名 U>N1Od4vTO
m9rp8r*e
struts.velocity.toolboxlocation T_4/C2
The location of the Velocity toolbox ,k3FRes3
velocity工具盒的位置 ISvpQ 3{)s
struts.xslt.nocache 0 kW,I
Whether or not XSLT templates should not be cached ]}Yl7/gM1}
是否XSLT模版应该被缓存 "4{r6[dn