struts2的struts.properties配置文件详解 (o^?i2)g
fVJWW):
struts.action.extension .vie#,la
The URL extension to use to determine if the request is meant for a Struts action pwRCfR)" X
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 7gx?LI_e
o?^Rw*u0/
struts.configuration ByacSN
The org.apache.struts2.config.Configuration implementation class z3{Cp:Mn
org.apache.struts2.config.Configuration接口名 HP\5gLVXY
6),!sO?
struts.configuration.files g""Ep
A list of configuration files automatically loaded by Struts B}J0d
struts自动加载的一个配置文件列表 V{fG~19
j@{ B 8
struts.configuration.xml.reload TiR00#b
Whether to reload the XML configuration or not . I."q
是否加载xml配置(true,false) OlgM7Vrl
m;0ZV%c*j
struts.continuations.package 6ld /E
The package containing actions that use Rife continuations :sttGXQX
含有actions的完整连续的package名称 q0b*#j
Tv9\`F[
struts.custom.i18n.resources !Sl_qL
Location of additional localization properties files to load }D-jTZlC
加载附加的国际化属性文件(不包含.properties后缀) '.jYu7
dK4w$~j{k
struts.custom.properties lqmr`\@)
Location of additional configuration properties files to load Ir=G\/A
加载附加的配置文件的位置 +.g j/uy*
DG}s`'
VB`% u=
struts.devMode fYW9Zbov-
Whether Struts is in development mode or not n:f&4uKoG<
是否为struts开发模式 h"[:$~/UJ
T^A[m0mk
struts.dispatcher.parametersWorkaround /.~zk(-&h
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _h 6c[*
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) c7.M\f P
>hzSd@J&
struts.enable.DynamicMethodInvocation ,N
nh$F
Allows one to disable dynamic method invocation from the URL (/E@.z[1
允许动态方法调用 0\,!
4K 8 (H9(
struts.freemarker.manager.classname *U$%mZS]1
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class de;CEm<n
org.apache.struts2.views.freemarker.FreemarkerManager接口名 D/=k9[b!
a}iP +#;
struts.i18n.encoding zFQm3 !.
The encoding to use for localization messages oArXP\#
国际化信息内码 j6j4M,UI43
#. 71O#!
struts.i18n.reload SE(c_ sX
Whether the localization messages should automatically be reloaded Dy:r)\KX
是否国际化信息自动加载 h6}rOchj
]]e>Jym
struts.locale ah,"c9YX
The default locale for the Struts application wk{]eD%
默认的国际化地区信息 LB[?kpy
`xZ,*G7(*
struts.mapper.class |9p0"#4u
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class CSz+cS
org.apache.struts2.dispatcher.mapper.ActionMapper接口 :F9Oj1lM%
bkz/V/ Y
struts.multipart.maxSize +(W7hK4ip
The maximize size of a multipart request (file upload) ;rNX
multipart请求信息的最大尺寸(文件上传用) c|Z6p{)V
GB;_!69I
struts.multipart.parser p=^6V"'
The org.apache.struts2.dispatcher.multipart. t,Q"Pt?
MultiPartRequest parser implementation for a multipart request (file upload) qe22 kE#
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) H7k@Br
G_zK .N
ZAn9A>5_
struts.multipart.saveDir t/3HX]B_
The directory to use for storing uploaded files $sUn'62JlU
设置存储上传文件的目录夹 F)Z9Qlo
u \<APn
struts.objectFactory k3KT':*
The com.opensymphony.xwork2.ObjectFactory implementation class sXNb
com.opensymphony.xwork2.ObjectFactory接口(spring) -8R SE4)
uvw1 _j?
struts.objectFactory.spring.autoWire oX'@,(6)
Whether Spring should autoWire or not nyxoa/
是否自动绑定Spring i29a1nD4Hm
9p1@Lfbj
struts.objectFactory.spring.useClassCache >&k`NXS|V
Whether Spring should use its class cache or not $=`d[04
是否spring应该使用自身的cache - P"
YLS*uXB&.
struts.objectTypeDeterminer $My~sN8
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class t*dq*(3"c
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 a 7=lZZ?
!6z{~Z:
struts.serve.static.browserCache B@#vS=g
If static content served by the Struts filter should set browser caching header properties or not N1.fV -
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 >;R7r|^k
NjPQT9&3h
struts.serve.static AX
Q.E$1g
Whether the Struts filter should serve static content or not I*$-[3/
是否struts过滤器应该提供静态内容 d+6q%U
PHUeN]s#
struts.tag.altSyntax e}P@7e h
Whether to use the alterative syntax for the tags or not
A;*<
是否可以用替代的语法替代tags ~Nf|,{[(5
Mz+vT0
struts.ui.templateDir )vpYVr-
The directory containing UI templates wQ~]VVRN
UI templates的目录夹 ggm'9|
lL
50PU
struts.ui.theme lR9uD9Dr
The default UI template theme n,LM"N:
默认的UI template主题 e Qk5:{[
?RW1%+[
struts.url.http.port DrbjklcUU
The HTTP port used by Struts URLs $o9@ ?2
设置http端口 g \ou+M#
kbJ4CF}H
struts.url.https.port B6KG\,'|
The HTTPS port used by Struts URLs YW&`PJ9o
设置https端口 }Z t#OA
$
z-:>[Sn
struts.url.includeParams Hs_7oy|P
The default includeParams method to generate Struts URLs uBn35%
在url中产生 默认的includeParams Rha|Rk~
3N|6?'m
E@#<p-@~
struts.velocity.configfile A)Rh
Bi
The Velocity configuration file path HgBu:x?&
velocity配置文件路径 SqdI($F\:
-M_>]ubG
struts.velocity.contexts xI/8[JW*
List of Velocity context names z.?slYe[
velocity的context列表 #0\* 86
k#7A@Vb
euW
struts.velocity.manager.classname A zp!;+
org.apache.struts2.views.velocity.VelocityManager implementation class +_u~Np
org.apache.struts2.views.velocity.VelocityManager接口名 ^4'!B
+}F
Fs(S!;
struts.velocity.toolboxlocation "dE[X`
}=
The location of the Velocity toolbox )qOcx
I
velocity工具盒的位置 H
SGz-
struts.xslt.nocache ,A)Z.OWOq
Whether or not XSLT templates should not be cached ET 0(/Zz
是否XSLT模版应该被缓存 ,?Zy4-