struts2的struts.properties配置文件详解 ,Tegrz&G
rwP)TJh"
struts.action.extension [)GRP
The URL extension to use to determine if the request is meant for a Struts action d^!k{Qx'
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 f5b|,JJ
3!fR'L/i
struts.configuration dzAumWoh
The org.apache.struts2.config.Configuration implementation class SG|AJ9
org.apache.struts2.config.Configuration接口名 \ERxr
C/qKa[mg
struts.configuration.files @fp@1n
A list of configuration files automatically loaded by Struts k3@d
=k
struts自动加载的一个配置文件列表
<HN+pi
yI#qkl-
struts.configuration.xml.reload jl(D;JnF
Whether to reload the XML configuration or not E QU@';~8
是否加载xml配置(true,false) UXdc'i g
Qj_)^3`e
struts.continuations.package x>TIx[x
The package containing actions that use Rife continuations HR8YPU5
含有actions的完整连续的package名称 I
*sT*;U
V6HZvuXV!
struts.custom.i18n.resources ,Ww}xmq1H
Location of additional localization properties files to load "5
~{
加载附加的国际化属性文件(不包含.properties后缀) sCzpNJ"8
A:GqR;;"x>
struts.custom.properties HJ]e%og
Location of additional configuration properties files to load Y9<[n)>+
加载附加的配置文件的位置 +ZW>JjP*
iQ8{N:58DN
d v[.u{#tP
struts.devMode f:&JKB)N
Whether Struts is in development mode or not r,0D I
是否为struts开发模式 %aK[Yvo6
ol/@)k^s>
struts.dispatcher.parametersWorkaround 7 =}tJ
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'h'pM#D
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Tgtym"=xd
DzE^FY
struts.enable.DynamicMethodInvocation ^\Q,ACkZb
Allows one to disable dynamic method invocation from the URL 2)|=+DN;
允许动态方法调用 GQY"
+xa8]
YtSYe%
struts.freemarker.manager.classname 2\k!DF
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *P/A&"i[E
org.apache.struts2.views.freemarker.FreemarkerManager接口名 l9=Ka{$^*
;w"h n*
struts.i18n.encoding 9c k"JMla
The encoding to use for localization messages Dbj?l;'1
国际化信息内码 -bOtF%
CkNR{?S
struts.i18n.reload w`f66*@Q1
Whether the localization messages should automatically be reloaded mH ju$d
是否国际化信息自动加载 SH =S>
I5l%X{u"N
struts.locale 9=]HOUn
The default locale for the Struts application [qRww]g;P|
默认的国际化地区信息 =0Y0o_
UR_Ty59
struts.mapper.class sfw*_}y
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class x,10o
org.apache.struts2.dispatcher.mapper.ActionMapper接口 3MHpP5C
p19(>|$J
struts.multipart.maxSize Ew
PJ|Z^
The maximize size of a multipart request (file upload) <_|@~^u
multipart请求信息的最大尺寸(文件上传用) ?zutU w/m
*v K~t|z
struts.multipart.parser a B MV6'
The org.apache.struts2.dispatcher.multipart. 5Wa)_@qI)`
MultiPartRequest parser implementation for a multipart request (file upload) XA;PWl5!
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \M@IKE
2SD
Z
w/(T
struts.multipart.saveDir (n?f016*%d
The directory to use for storing uploaded files !9$}1_,is
设置存储上传文件的目录夹 db_?da;!`
HP[B%
struts.objectFactory {-m e;ayk
The com.opensymphony.xwork2.ObjectFactory implementation class O4oN)
com.opensymphony.xwork2.ObjectFactory接口(spring) 'R+^+urq^
4To$!=
struts.objectFactory.spring.autoWire e\[q3J
Whether Spring should autoWire or not b' M"To@
是否自动绑定Spring 2INpo
,pTZ/#vP#
struts.objectFactory.spring.useClassCache W?4:sLC#3
Whether Spring should use its class cache or not Y#V(CIDe
是否spring应该使用自身的cache YB 7A5
urx?p^c
struts.objectTypeDeterminer Khi6z&