struts2的struts.properties配置文件详解 u@ #%SX
,#3Aaw
struts.action.extension EHm*~Sd
The URL extension to use to determine if the request is meant for a Struts action e,_Sj(R8
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0lg'QG>
(4/"uj5
struts.configuration `y.4FA4"8
The org.apache.struts2.config.Configuration implementation class *u"%hXR
org.apache.struts2.config.Configuration接口名 nsU7cLf"^V
Jj>Rzj!m
struts.configuration.files
S
W%>8
A list of configuration files automatically loaded by Struts bXF8V
struts自动加载的一个配置文件列表 [+dCA
=JzzrM|V*
struts.configuration.xml.reload E4892B:`
Whether to reload the XML configuration or not q| 1%G Nb
是否加载xml配置(true,false) ~&D
=;M/
`mz}D76~#
struts.continuations.package K9%rr_ja!
The package containing actions that use Rife continuations 04Zdg:[3-!
含有actions的完整连续的package名称 zMbFh_dcq
18rV Acj
struts.custom.i18n.resources Y:TfD{Xgc
Location of additional localization properties files to load sT2`y$'
加载附加的国际化属性文件(不包含.properties后缀) =f!A o:Uc
RxYENG]/6
struts.custom.properties %QEBY>|lI
Location of additional configuration properties files to load >ceC8"}J5M
加载附加的配置文件的位置 N'ER!=l)
=|1_6.tz
O|8@cO
struts.devMode n~ad#iN
Whether Struts is in development mode or not `~)?OTzU#
是否为struts开发模式 P ljPhAce
#RR;?`,L}
struts.dispatcher.parametersWorkaround t"GnmeH
i
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4uOR=+/l
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |JIlp"[
K-TsSW$}
struts.enable.DynamicMethodInvocation -@(LN%7!C
Allows one to disable dynamic method invocation from the URL %"mI["{
允许动态方法调用 ojnO69v
&@oI/i&0B
struts.freemarker.manager.classname lOVcXAe}
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class YFm%W@
org.apache.struts2.views.freemarker.FreemarkerManager接口名 oqF?9<Vgc,
% akW43cE
struts.i18n.encoding q x)\{By
The encoding to use for localization messages PzSLE>Q
国际化信息内码 FJtmRPP[r
_`?cBu`
struts.i18n.reload 1*hE bO
Whether the localization messages should automatically be reloaded _dd! nU\A|
是否国际化信息自动加载 .>R`#@+I
8)9-*Bzj
struts.locale TS6xF?
The default locale for the Struts application ,M3hE/rb/
默认的国际化地区信息 3(V0,L'1
qo3+=*"V
struts.mapper.class _{k*JT2
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >B0AJW/u
org.apache.struts2.dispatcher.mapper.ActionMapper接口 QNx]8r
}qECpKa0
struts.multipart.maxSize RQ8d1US
The maximize size of a multipart request (file upload) Nq`;\E.M
multipart请求信息的最大尺寸(文件上传用) qG;tD>jy
62R";# K
struts.multipart.parser ,:(s=JN+
The org.apache.struts2.dispatcher.multipart. C;m"W5+
MultiPartRequest parser implementation for a multipart request (file upload) ZEI)U,
I.
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) C5dM`_3L
c%pf,sm'
E42)93~C
struts.multipart.saveDir rt*x[5<
The directory to use for storing uploaded files 88_ef7w
设置存储上传文件的目录夹 b:F;6X0~Hl
PEvY3F}_rh
struts.objectFactory +S4>}2N33
The com.opensymphony.xwork2.ObjectFactory implementation class tI{]&dev
com.opensymphony.xwork2.ObjectFactory接口(spring) 3Y38lP:>h
rq3f/_#L!O
struts.objectFactory.spring.autoWire r=n{3o+
Whether Spring should autoWire or not 17KQ
是否自动绑定Spring 9$HKP9G
8<Iq)A]'Z
struts.objectFactory.spring.useClassCache % vUU
Fub
Whether Spring should use its class cache or not I9qZE=i
是否spring应该使用自身的cache _rYW|*cIF
s;TB(M~i[
struts.objectTypeDeterminer (%L/|F_
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >M2~p&Si
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !}h)
|
>S:(BJMo
struts.serve.static.browserCache Qz|T0\=V
If static content served by the Struts filter should set browser caching header properties or not c@[Trk m
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 G7&TMg7i
M5WB.L[@q
struts.serve.static 2@tnOs(*
Whether the Struts filter should serve static content or not mh}D[K=~%
是否struts过滤器应该提供静态内容 LH4#p%Pb%
0C :8X
struts.tag.altSyntax =|i_T%a
Whether to use the alterative syntax for the tags or not j ^j"w(a
是否可以用替代的语法替代tags ly`
A,dh
=Iop
struts.ui.templateDir |-V:#1wR.]
The directory containing UI templates 6{.U7="
UI templates的目录夹 (y]Z *p:EW
9 o,`peH
struts.ui.theme o+.L@3RT4
The default UI template theme bI
;I<Qa
默认的UI template主题 MBt\"b#t
?P+Uv
struts.url.http.port (/I6Wa
The HTTP port used by Struts URLs L/jaUt[,
设置http端口 nvndgeSy
%mmV#vwp
struts.url.https.port GrG'G(NQ
The HTTPS port used by Struts URLs gV.? Myy
设置https端口 ^ l#6Es
GV0@We~
struts.url.includeParams 1+*sEIC "
The default includeParams method to generate Struts URLs 5/n L[4Z
在url中产生 默认的includeParams 2ul8]=
&6s&nx
)$S=iL8(
struts.velocity.configfile BmV`<Q,
The Velocity configuration file path .4v?/t1
velocity配置文件路径 qvc<_k^
W2X`%Tx0
struts.velocity.contexts m:)&:Y0 (a
List of Velocity context names W|8VE,"7
velocity的context列表 Q8`V0E\~
7vZO;FGtG
F 6sQeU
struts.velocity.manager.classname y\_+,G0
org.apache.struts2.views.velocity.VelocityManager implementation class /o4e
n
org.apache.struts2.views.velocity.VelocityManager接口名 SWzqCF
n}a`|Nbk
struts.velocity.toolboxlocation A4f"v)vM
The location of the Velocity toolbox =%~- M
velocity工具盒的位置 ftRFG
struts.xslt.nocache +TqrvI.
Whether or not XSLT templates should not be cached nV8'QDQ:Al
是否XSLT模版应该被缓存 TXi|