struts2的struts.properties配置文件详解 fVJWW):
rN,T}M=2
struts.action.extension )SJ"IY\P
The URL extension to use to determine if the request is meant for a Struts action z0UtKE^b
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +~sqv?8
dU2:H}
struts.configuration 0]zMb^wo
The org.apache.struts2.config.Configuration implementation class
QQt4pDir>
org.apache.struts2.config.Configuration接口名 ?XV3Y3
F##xVmR~
struts.configuration.files L#S|2L_hC
A list of configuration files automatically loaded by Struts CaVVlL
struts自动加载的一个配置文件列表 %LuA:{EVD
M^lP`=sSv
struts.configuration.xml.reload 6`X}Z'4.Ox
Whether to reload the XML configuration or not i v.G
是否加载xml配置(true,false) f@k.4aS
r5y*SoD!
struts.continuations.package m
?*h\NaB
The package containing actions that use Rife continuations 5?0~7^de
含有actions的完整连续的package名称 Pj_*,L`mZ
{q^UWv?1
struts.custom.i18n.resources ,YJn=9pTl
Location of additional localization properties files to load &A=c[pc
加载附加的国际化属性文件(不包含.properties后缀) P&yB(M-z
F:~@e(
struts.custom.properties ay#f\P!1
Location of additional configuration properties files to load =2YXh,i
加载附加的配置文件的位置 :?
s{@7
Y ` Z,52
3"sXN)j
struts.devMode @<&u;8y-Cn
Whether Struts is in development mode or not o$Y#C{wC%
是否为struts开发模式 ErgWs Aw-
s LWVgD
struts.dispatcher.parametersWorkaround HA[7)T N1E
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic < FY%QB)h
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) [,{Nu EI
4K 8 (H9(
struts.enable.DynamicMethodInvocation *U$%mZS]1
Allows one to disable dynamic method invocation from the URL fe8hgTP|
允许动态方法调用 FNw]DJ]
z|t2;j[
struts.freemarker.manager.classname 8m?cvI
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class /<%EKu5
org.apache.struts2.views.freemarker.FreemarkerManager接口名 'rq@9$h1W
!,C8
struts.i18n.encoding xdVsbW)L2
The encoding to use for localization messages xo2jfz
国际化信息内码 SM1L^M3)
qlnA7cK!
struts.i18n.reload O<ybiPR
Whether the localization messages should automatically be reloaded }
7ND]y48
是否国际化信息自动加载 c^&4m[?C[u
aMVq%{U
struts.locale ~,Yd.?.TI
The default locale for the Struts application IfT: 9
&
默认的国际化地区信息 /x4L,UJ= P
p 16+(m
struts.mapper.class +DO<M1uE
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \#IKirf?
org.apache.struts2.dispatcher.mapper.ActionMapper接口 @}Q!K*
UFC^lv
struts.multipart.maxSize X\>/'fC$
The maximize size of a multipart request (file upload) qz.l
multipart请求信息的最大尺寸(文件上传用) U$S{j&?
}0f~hL24
struts.multipart.parser H7k@Br
The org.apache.struts2.dispatcher.multipart. 3w"_Onwk
MultiPartRequest parser implementation for a multipart request (file upload) L$rr:^J
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) RS@[ +! :t
g)!q4
-q
F)Z9Qlo
struts.multipart.saveDir u \<APn
The directory to use for storing uploaded files k3KT':*
设置存储上传文件的目录夹 sXNb
-8R SE4)
struts.objectFactory gdg``U;)p
The com.opensymphony.xwork2.ObjectFactory implementation class @yC3a)=$L
com.opensymphony.xwork2.ObjectFactory接口(spring) gI"cZ h3}
4j'`,a=
struts.objectFactory.spring.autoWire fwlicbs '
Whether Spring should autoWire or not LOr( HgyC
是否自动绑定Spring BR_fOIDc
<_]W1V:0
struts.objectFactory.spring.useClassCache $My~sN8
Whether Spring should use its class cache or not 0F.S[!I
是否spring应该使用自身的cache a 7=lZZ?
!6z{~Z:
struts.objectTypeDeterminer B@#vS=g
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class N1.fV -
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 >;R7r|^k
F/[m.!Eo
struts.serve.static.browserCache AX
Q.E$1g
If static content served by the Struts filter should set browser caching header properties or not I*$-[3/
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 d+6q%U
PHUeN]s#
struts.serve.static e}P@7e h
Whether the Struts filter should serve static content or not
A;*<
是否struts过滤器应该提供静态内容 ~Nf|,{[(5
==oJhB
struts.tag.altSyntax fL("MDt
Whether to use the alterative syntax for the tags or not cd=K=P}p
是否可以用替代的语法替代tags rq Uk_|Xa
8TK*VOf`
struts.ui.templateDir n,LM"N:
The directory containing UI templates kP5G}Bp
UI templates的目录夹 EziGkbpd@
I Gi9YpI&K
struts.ui.theme 1 o_6WU
The default UI template theme g \ou+M#
默认的UI template主题 kbJ4CF}H
B6KG\,'|
struts.url.http.port M*C1QQf\N
The HTTP port used by Struts URLs MmePhHf
设置http端口 a.RYRq4o
&49WfctT
struts.url.https.port $DtUTh3)
The HTTPS port used by Struts URLs %DA`.Z9#
设置https端口 b`,Sd.2=('
&
9
c^9<F
struts.url.includeParams e=eip?p
The default includeParams method to generate Struts URLs DyA/!%g
在url中产生 默认的includeParams 4x3 _8/=
M)AvcZNs
6Z2|j~
struts.velocity.configfile <h}x7y?
The Velocity configuration file path ='_3qn.
velocity配置文件路径 yF%e)6
`&xdS H
struts.velocity.contexts KaHe(
List of Velocity context names j]]5&u/l
velocity的context列表 Y6v#0pT
AZA5>Y
(I'{
pF)
struts.velocity.manager.classname T!HAE#xC
org.apache.struts2.views.velocity.VelocityManager implementation class {XUSw8W'
org.apache.struts2.views.velocity.VelocityManager接口名 H@~tJ\L
YnW9uy5
struts.velocity.toolboxlocation Sm?|,C3V
The location of the Velocity toolbox ?4Fev_5m
velocity工具盒的位置 w"#rwV&
struts.xslt.nocache Wm5[+z|2?9
Whether or not XSLT templates should not be cached Q~k|lTf
是否XSLT模版应该被缓存 m({q<&]Qp