struts2的struts.properties配置文件详解 `/`iLso&-
sNcU>qjj6
struts.action.extension U,Uy0s2r
The URL extension to use to determine if the request is meant for a Struts action od5nRb
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 `2LmLFkb
{9-9!jN{"
struts.configuration A%?c1`ZxF
The org.apache.struts2.config.Configuration implementation class cTzR<Yr
org.apache.struts2.config.Configuration接口名 ?upd
z-b78A/8
struts.configuration.files :aomDK*
A list of configuration files automatically loaded by Struts i{TPf1OY`M
struts自动加载的一个配置文件列表 J]XLWAM
CHZ/@gc
struts.configuration.xml.reload <5}I6R;
Whether to reload the XML configuration or not @'):rFr@F
是否加载xml配置(true,false) `4snTM!v&
IN<nZ?D#
struts.continuations.package w8R7Ksn(
The package containing actions that use Rife continuations gd]S;<Jh
含有actions的完整连续的package名称 HcJ!(
o$l8"Uv
struts.custom.i18n.resources pfHjs3A=
Location of additional localization properties files to load egSs=\
加载附加的国际化属性文件(不包含.properties后缀) L.yM"
j5" L
struts.custom.properties dsx<ZwZN>
Location of additional configuration properties files to load G4*&9Wo
加载附加的配置文件的位置 0C>_aj
Yl>Y.SO
;tVd+[8
struts.devMode m"/..&'GC
Whether Struts is in development mode or not D
(8Z90
是否为struts开发模式 `^[Tu 1
{<@ud0A:\
struts.dispatcher.parametersWorkaround JDZuT#
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ^67}&O^1 ,
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) l0`bseN<
0m]QQGvJ{
struts.enable.DynamicMethodInvocation &V$cwB
Allows one to disable dynamic method invocation from the URL h&CZN !
允许动态方法调用 2ua!<^,
7yT/t1)
struts.freemarker.manager.classname fh3uo\`@
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class XPqGv=CN
org.apache.struts2.views.freemarker.FreemarkerManager接口名 =v?P7;T
R&;x_4dr^
struts.i18n.encoding GiX3c^V"1
The encoding to use for localization messages nRB3VsL
国际化信息内码 R*2N\2
3IQI={:k|D
struts.i18n.reload +DXP&Q
Whether the localization messages should automatically be reloaded ?!U.o1
是否国际化信息自动加载 e+-#/i*
6q8}8;STTY
struts.locale IB|6\uKn
The default locale for the Struts application DJ<+" .v!
默认的国际化地区信息 .O'~s/h
aT IzfqCM
struts.mapper.class ]s0wJD=
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ZCj1Cz]"l<
org.apache.struts2.dispatcher.mapper.ActionMapper接口 SyI~iW#Y1
\By_mw
struts.multipart.maxSize mY/"rm
The maximize size of a multipart request (file upload) Q"~%T@e
multipart请求信息的最大尺寸(文件上传用) 8Cp@k=
Z\`SDC
struts.multipart.parser O2ktqAWx@
The org.apache.struts2.dispatcher.multipart. >I5Wf/$
MultiPartRequest parser implementation for a multipart request (file upload) VnkhY
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) J/K~8sc
Q"u2<
(|Gwg \r
struts.multipart.saveDir 7r'_p$
The directory to use for storing uploaded files rf|Nu3AJ
设置存储上传文件的目录夹 VFZ?<m
,M?8s2?
struts.objectFactory 9%|skTgIqH
The com.opensymphony.xwork2.ObjectFactory implementation class ^
'|y^t
com.opensymphony.xwork2.ObjectFactory接口(spring) t?-a JU
r'#!w3*Cy
struts.objectFactory.spring.autoWire O.X;w<F/V
Whether Spring should autoWire or not ;@ixrj0u
是否自动绑定Spring \3^V-/SJf
],0I`!\
struts.objectFactory.spring.useClassCache dR.?Kv(,E
Whether Spring should use its class cache or not R/"-r^j
是否spring应该使用自身的cache ;f[##=tm
3Fn}nek
struts.objectTypeDeterminer ejyx[CF
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9q$^x/z!
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 I*Dj@f`
z-kv{y*Hu
struts.serve.static.browserCache s<# BxN
If static content served by the Struts filter should set browser caching header properties or not h7fytO
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |3E|VGm~
N}%AUm/L
struts.serve.static *j]Bo,AC
Whether the Struts filter should serve static content or not AQ(n?1LU
是否struts过滤器应该提供静态内容 7L&,Na
0]*W0#{Zj
struts.tag.altSyntax [<U=)!Swg
Whether to use the alterative syntax for the tags or not y
`FZ 0FI
是否可以用替代的语法替代tags Q njK<}M9
W[DoQ @q
struts.ui.templateDir 1aS:bFi`
The directory containing UI templates nlhv
UI templates的目录夹 WgR%mm^
@OT$* Qh
struts.ui.theme i0wBZ i?
The default UI template theme @d~]3T
默认的UI template主题 :Ob^b3<t
u9v,B$S
struts.url.http.port zLe(#8G
The HTTP port used by Struts URLs Z7pX%nj_
设置http端口 wMN;<