struts2的struts.properties配置文件详解 3:"]Rn([P
#X:
'aj98
struts.action.extension k^$+n_
The URL extension to use to determine if the request is meant for a Struts action nI*/Mhx
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 9/ SXs0
KPSh#x&I
struts.configuration d;Hn#2C
The org.apache.struts2.config.Configuration implementation class Z') pf
org.apache.struts2.config.Configuration接口名 `<^VR[Mx
OQ :dJe6
struts.configuration.files
s6
( z
A list of configuration files automatically loaded by Struts G{aT2c
struts自动加载的一个配置文件列表 UH@as
H@X oqgI
struts.configuration.xml.reload rA0,`}8\
Whether to reload the XML configuration or not ggtDN{t
是否加载xml配置(true,false) Z'pQ^MO
qLncn}oNM
struts.continuations.package , xx6$uZ
The package containing actions that use Rife continuations q,<[hBri-
含有actions的完整连续的package名称 GwsY-jf
k)S.]!u&G
struts.custom.i18n.resources zWw2V}U!
Location of additional localization properties files to load uBg 8h{>
加载附加的国际化属性文件(不包含.properties后缀) @/J[t
tC8(XMVx
struts.custom.properties 3<|`0pt}
Location of additional configuration properties files to load ^x*nq3^h\
加载附加的配置文件的位置 iK;dU2h
RVtQ20e";r
U]qav,^[
struts.devMode v8>v.}y
Whether Struts is in development mode or not |1Dc!V'?"
是否为struts开发模式 SEQ%'E5-'
'"pd
struts.dispatcher.parametersWorkaround [\)oo
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ||2Q~*:
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >,C4rC+:XN
,p{`pma
struts.enable.DynamicMethodInvocation 5yh/0i5 |
Allows one to disable dynamic method invocation from the URL zHB_{(o7
允许动态方法调用 I4H`YOD%
#)+- lPe
struts.freemarker.manager.classname $
E1Tb{'
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class si1*Wt<3Bc
org.apache.struts2.views.freemarker.FreemarkerManager接口名 !2Dy_U=
NW$H"}+o
struts.i18n.encoding GYRYbiwqdi
The encoding to use for localization messages BOlAm*tFt
国际化信息内码 NX* O_/
K5 3MMH[q#
struts.i18n.reload ${~|+zdB
Whether the localization messages should automatically be reloaded |YJCWFbs8
是否国际化信息自动加载 ^jdL@#k00
*E>.)B i
struts.locale 3K/Df#
The default locale for the Struts application =<f-ob8,
默认的国际化地区信息 p?(L'q"WK
TmRxKrRs
struts.mapper.class KcGsMPJ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class xIbMs4'iEx
org.apache.struts2.dispatcher.mapper.ActionMapper接口 XR# ;{p+b
8$P>wCK\l
struts.multipart.maxSize KM?1/KZ/~
The maximize size of a multipart request (file upload) /z."l!u6
multipart请求信息的最大尺寸(文件上传用) 9~AWn g
L6:h.1 U$
struts.multipart.parser =?@Q-(bp
The org.apache.struts2.dispatcher.multipart. `qpc*enf0
MultiPartRequest parser implementation for a multipart request (file upload) PY\PUMF>
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) XaI;2fMGI
Y8s;w!/
jdRq6U^
struts.multipart.saveDir N?r>%4
The directory to use for storing uploaded files c|p,/L09L
设置存储上传文件的目录夹 O_@2;iD^^
V*n==Nb5L
struts.objectFactory kka"C]!
The com.opensymphony.xwork2.ObjectFactory implementation class vL_zvXA
com.opensymphony.xwork2.ObjectFactory接口(spring) #mc!Wt10
~2}Pl)
struts.objectFactory.spring.autoWire <)m%*9{
Whether Spring should autoWire or not /9ZcM]X B
是否自动绑定Spring uZjI?Z.A
<zB*'m
struts.objectFactory.spring.useClassCache VC&c)X
Whether Spring should use its class cache or not `"y`AY/N
是否spring应该使用自身的cache Fxd{ Zk`
nnCug
struts.objectTypeDeterminer V%
axeqs
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class R"xp%:li
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 s3t!<9[m
Ub)I66
struts.serve.static.browserCache )qM|3],
If static content served by the Struts filter should set browser caching header properties or not )q^ Bj$
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;b~~s.+
+cg
{[f,J;
struts.serve.static Hhv$4;&X
Whether the Struts filter should serve static content or not \ElX~$fS
是否struts过滤器应该提供静态内容 iyM^[/-R6
hw,^G5m
struts.tag.altSyntax +$pJ5+v
Whether to use the alterative syntax for the tags or not UmP'L!
是否可以用替代的语法替代tags :EHQ .^
_vrWj<wyf
struts.ui.templateDir QlzQ]:dWC
The directory containing UI templates g()m/KS<
UI templates的目录夹 b~Z=:'m8
=HE
m)
struts.ui.theme 9N
Le&o
The default UI template theme f'{>AKi=C
默认的UI template主题 kV)'a
U6{dI@|B
struts.url.http.port 1L[S*X
The HTTP port used by Struts URLs km>o7V&4G
设置http端口 S<oQ}+4[~
:R+],m il
struts.url.https.port \iZ1W
The HTTPS port used by Struts URLs TETsg5#
设置https端口 5u,sx664
zqGYOm$r
struts.url.includeParams Z{}+)Q*Q
The default includeParams method to generate Struts URLs D@hmO]5c
在url中产生 默认的includeParams &%e"9v2`
M {x ie
.BL:h&h|y
struts.velocity.configfile Nmf#`+7gCI
The Velocity configuration file path C4_t_N
velocity配置文件路径 bOXh|u_3i
Y'_ D<Mp
struts.velocity.contexts MVAc8d S
List of Velocity context names `a-T95IFy
velocity的context列表 z:jF)N
959jp85
Tka="eyIj3
struts.velocity.manager.classname Ijro;rsEKM
org.apache.struts2.views.velocity.VelocityManager implementation class QD VA*6F
org.apache.struts2.views.velocity.VelocityManager接口名 G'C^C[_W
0=zS&xM
struts.velocity.toolboxlocation neH"ks5
The location of the Velocity toolbox ?+tZP3'
velocity工具盒的位置 B&j+fi
struts.xslt.nocache YVp0}m
Whether or not XSLT templates should not be cached J0bs$
是否XSLT模版应该被缓存 4c@F.I