struts2的struts.properties配置文件详解 cTQ._|M
XAN.Plk
struts.action.extension 0oe2X1.%
The URL extension to use to determine if the request is meant for a Struts action j;I(w [@P
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 WfHa
nlZJ}xZ
struts.configuration P%;lHC #i
The org.apache.struts2.config.Configuration implementation class @~}~;}0x
org.apache.struts2.config.Configuration接口名 L}7 TM:%
?{P$|:ha
struts.configuration.files 'Ck:=V%}g
A list of configuration files automatically loaded by Struts FX!Qd&kl1
struts自动加载的一个配置文件列表 m@']%X*(,
N cp
struts.configuration.xml.reload Yx&d\/9
Whether to reload the XML configuration or not m%nRHT0KAf
是否加载xml配置(true,false) b7y#uL1AE
D!8v$(#hR
struts.continuations.package Uz=ol.E
The package containing actions that use Rife continuations >)HKruSW.
含有actions的完整连续的package名称 BMtk/r/
shEAr*u
struts.custom.i18n.resources N85ZbmU~
Location of additional localization properties files to load FNs$k=*8
加载附加的国际化属性文件(不包含.properties后缀) U02
_S,UpR~2W
struts.custom.properties Gx*B(t]4y
Location of additional configuration properties files to load k;K-6<^h
加载附加的配置文件的位置 0+k..l
+R7pdi
A-, hm=?
struts.devMode 6E2#VT>@/
Whether Struts is in development mode or not |h\A5_0_
是否为struts开发模式 _4T7Vg''
KAi_+/]K_
struts.dispatcher.parametersWorkaround =sso )/3
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic R?y_tho4A
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `dWnu3r;
5LZs_%#
struts.enable.DynamicMethodInvocation hkRqtpYK
Allows one to disable dynamic method invocation from the URL DXFDs=u
允许动态方法调用 3.9/mztS
Dk&(QajL
struts.freemarker.manager.classname ~pHuh#>
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class j{johV+`8
org.apache.struts2.views.freemarker.FreemarkerManager接口名 %<r}V<OeR
<m0=bm{j
struts.i18n.encoding E@6gTx*
The encoding to use for localization messages W*?qOq
{
国际化信息内码 3dJiu
Z;[xaP\S
struts.i18n.reload S;u.Ds&
Whether the localization messages should automatically be reloaded 49HP2E
是否国际化信息自动加载 qL
<@PC.5
hgbf"J6V8
struts.locale \6bvk _
The default locale for the Struts application Igw2n{})w
默认的国际化地区信息 ^*+j7A.n
{?q`9[Z
struts.mapper.class ^/cqE[V~,
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class s IBP$9
org.apache.struts2.dispatcher.mapper.ActionMapper接口 #K*p1}rf
!/ dH"h
struts.multipart.maxSize A'Z!l20_
The maximize size of a multipart request (file upload) hL&7D@
multipart请求信息的最大尺寸(文件上传用) Vk*XiEfKm>
s>1\bio*I
struts.multipart.parser `GlOl-
The org.apache.struts2.dispatcher.multipart. !? H:?
MultiPartRequest parser implementation for a multipart request (file upload) !1K.HdK
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) m2/S(f
45x4JG
.wUnN8crQ
struts.multipart.saveDir _
nz^+
The directory to use for storing uploaded files \t`Vq JLyu
设置存储上传文件的目录夹 atW^^4:
hsJ^Au=})w
struts.objectFactory =M9R~J!
The com.opensymphony.xwork2.ObjectFactory implementation class K4H27SH
com.opensymphony.xwork2.ObjectFactory接口(spring) Y]Z&
X"mPRnE330
struts.objectFactory.spring.autoWire }2\Hg
Whether Spring should autoWire or not &
P%#
是否自动绑定Spring bKsEXS
[z"oi'"fQ
struts.objectFactory.spring.useClassCache y+= s/c
Whether Spring should use its class cache or not Yakrsi/jV}
是否spring应该使用自身的cache G$)tp^%]
}'86hnW
struts.objectTypeDeterminer BHS@whj
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }}u`*&,g
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 f3^qO9R
f:y:: z
struts.serve.static.browserCache P #8+1iC1
If static content served by the Struts filter should set browser caching header properties or not I[gPW7&S@
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 4E}Q<?UYSt
b6H7>x
struts.serve.static 8|$g"?CU
Whether the Struts filter should serve static content or not I 9?X
是否struts过滤器应该提供静态内容 ;CoD5F!
\TnK<83
struts.tag.altSyntax H3pZfdh?w
Whether to use the alterative syntax for the tags or not pIug$Ke_%
是否可以用替代的语法替代tags *b!.9p K
}6 u)wF5
struts.ui.templateDir T~SkFZ
The directory containing UI templates 0LP0q9S:9
UI templates的目录夹 EP<{3fy
A[`c+&
struts.ui.theme ~(NFjCUY?
The default UI template theme 8Fbt >-N<\
默认的UI template主题 #6mw CA|
=h?%<2t9<
struts.url.http.port G(o6/
The HTTP port used by Struts URLs tNOOaj9mw
设置http端口 [#SO}'1n
l}T@Cgt
struts.url.https.port 4PR&67|AH_
The HTTPS port used by Struts URLs V?>&9D"m
设置https端口 k8SY=HP
F x$W3FIO]
struts.url.includeParams YACx9K H
The default includeParams method to generate Struts URLs blP8"(U
在url中产生 默认的includeParams NXz/1ut%
BPKrRex
gx eu2HG
struts.velocity.configfile nE0I [T(
The Velocity configuration file path $GQEdVSNo
velocity配置文件路径 - K"L6m|
_5p]Arg?}&
struts.velocity.contexts E@l@f
List of Velocity context names n:?a=xY
velocity的context列表 E0aFHC[
jROh3kq
X4Uy3 TV>
struts.velocity.manager.classname _{}^]ZB
org.apache.struts2.views.velocity.VelocityManager implementation class Q&@<?K9
org.apache.struts2.views.velocity.VelocityManager接口名 -]YsiE?r
6Bd:R}yZP7
struts.velocity.toolboxlocation 7|[Dr@.S
The location of the Velocity toolbox C\;%IGn
velocity工具盒的位置 }N,v&B
struts.xslt.nocache <]#_&Na
Whether or not XSLT templates should not be cached W'E3_dj+
是否XSLT模版应该被缓存 VG$%Vs