struts2的struts.properties配置文件详解 -5A@FGh
+MOUO$;fGt
struts.action.extension uJG^>B?`b
The URL extension to use to determine if the request is meant for a Struts action 7/(C1II.Q
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 u~?]/-.TY
$g#j,
struts.configuration dL")E|\\k
The org.apache.struts2.config.Configuration implementation class ~s{$&N
org.apache.struts2.config.Configuration接口名 oZ%t! Fl1
rQK2&37-,@
struts.configuration.files tiwhG%?2
A list of configuration files automatically loaded by Struts _y`'T;~OY
struts自动加载的一个配置文件列表 A0S6 4(
94W9P't
struts.configuration.xml.reload -4b9(
Whether to reload the XML configuration or not Yc#o GCt
是否加载xml配置(true,false) XaD}J:X q
BZsw(l4/0'
struts.continuations.package b n^^|i
The package containing actions that use Rife continuations Lm'Ony^F
含有actions的完整连续的package名称 &&[j/d}J
q{c6DCc ]\
struts.custom.i18n.resources %@*diJ
Location of additional localization properties files to load hdN3r{
加载附加的国际化属性文件(不包含.properties后缀) \u,hS*v0
uZ Id.+Rk
struts.custom.properties g}' "&Y
Location of additional configuration properties files to load LP_!g
加载附加的配置文件的位置 RXgi>Hz
Q=~e|
Oa7`Y`6
struts.devMode L4SFu.J'
Whether Struts is in development mode or not z-(dT
是否为struts开发模式 (a`z:dz}
k`.-PU
struts.dispatcher.parametersWorkaround fYx$3a.
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic m+DkO{8F
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2c!?!:s
W32mAz;
struts.enable.DynamicMethodInvocation Ik=KEOz
Allows one to disable dynamic method invocation from the URL I2|iqbX40Q
允许动态方法调用 ~oT0h[<
" S#0QH%5
struts.freemarker.manager.classname ^#exsXy
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class sKjg)3Sl
org.apache.struts2.views.freemarker.FreemarkerManager接口名 nb'],({:9
LUKdu&M
struts.i18n.encoding UX2`x9
The encoding to use for localization messages sh}=#eb
国际化信息内码 kYxn5+~
Vjj30f
struts.i18n.reload 62%.ddM4
Whether the localization messages should automatically be reloaded 6E@r9U
是否国际化信息自动加载 sqac>v
&^qD<eZ!Eq
struts.locale #)=P/N1
The default locale for the Struts application lGjmw"/C
默认的国际化地区信息 Hc^b}A y7
lh~!cOm\=E
struts.mapper.class T
-C2V$1
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T\8|Q@
org.apache.struts2.dispatcher.mapper.ActionMapper接口 z9&$Xao
N}VKH5U|
struts.multipart.maxSize 3HFsR)
The maximize size of a multipart request (file upload) &cayhL/%
multipart请求信息的最大尺寸(文件上传用) `<y2l94tL
|53Zg"!
struts.multipart.parser TS$ 2K
The org.apache.struts2.dispatcher.multipart. e}kEh+4
MultiPartRequest parser implementation for a multipart request (file upload) cl1h;w9s
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) cL<
lkFv5^%
5cgDHs
struts.multipart.saveDir =|pQA~UU#
The directory to use for storing uploaded files io$AGi
设置存储上传文件的目录夹 \ tF><
&`pd&U{S*
struts.objectFactory 8>6+]]O
The com.opensymphony.xwork2.ObjectFactory implementation class o}7`SYn
com.opensymphony.xwork2.ObjectFactory接口(spring) %@kmuz??
V8`t7[r
struts.objectFactory.spring.autoWire MPT*[&\-
Whether Spring should autoWire or not 2m[z4V@`
是否自动绑定Spring E]6;nY?
+<|6y46
struts.objectFactory.spring.useClassCache =+'4u
Whether Spring should use its class cache or not rC[*x}
是否spring应该使用自身的cache @lDoMm,m'
j5G8IP_Wx
struts.objectTypeDeterminer <8+.v6DCd
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class C:0Ra^i ?L
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 DE^{8YX,
+VI2i~
struts.serve.static.browserCache vv"_u=H
If static content served by the Struts filter should set browser caching header properties or not oh :g
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 xQ^zX7
$3W[fC
struts.serve.static ygWo9?
Whether the Struts filter should serve static content or not oOmPbAY
是否struts过滤器应该提供静态内容 qOV#$dkY
O9dIobu4
struts.tag.altSyntax 2u *o/L+
Whether to use the alterative syntax for the tags or not o[O-|XL_
是否可以用替代的语法替代tags F%+/j5~^
I|n<B"Q6^
struts.ui.templateDir >j|.pi
The directory containing UI templates 9`$fU)K[Pl
UI templates的目录夹 go@UE2qw
MHpPb{^
struts.ui.theme 1ePZs$
The default UI template theme g"FG7E&
默认的UI template主题 /3L1Un*
#dtYa
struts.url.http.port iLws;3UX;x
The HTTP port used by Struts URLs S c_*L<$
设置http端口 @vCPX=c
4=%Uv^M
struts.url.https.port #78p#E
The HTTPS port used by Struts URLs q+>{@tP9
设置https端口 m5v9:5{
Zq}w}v
struts.url.includeParams 6
GO7[?U<
The default includeParams method to generate Struts URLs z\sy~DM;>
在url中产生 默认的includeParams 8G6PcTqv"
-sh S?kV
9H_2Y%_
struts.velocity.configfile "<Dn%r
The Velocity configuration file path i"_)91RA
velocity配置文件路径 #Ne<=ayS
G{pfyfF
struts.velocity.contexts m$NBG w
List of Velocity context names P|!GXkS
velocity的context列表 `kpX}cKK}
X2}\i5{
hJ (Q^Z
struts.velocity.manager.classname 5IOOV Yl
org.apache.struts2.views.velocity.VelocityManager implementation class Q&opnvN
org.apache.struts2.views.velocity.VelocityManager接口名 lQ<2Vw#Yl
C5CUMYU
struts.velocity.toolboxlocation IgI*mDS&b
The location of the Velocity toolbox >8"oO[U5>
velocity工具盒的位置 /XeDN-{
struts.xslt.nocache 0k@4;BY u
Whether or not XSLT templates should not be cached &BY%<h0c
是否XSLT模版应该被缓存 d(3F:dbk