struts2的struts.properties配置文件详解 T"NDL[*
ZE!dg^-L
struts.action.extension "i}?jf
{a
The URL extension to use to determine if the request is meant for a Struts action !5/jDvh
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Q|O! cEW/
|Zn|?#F
struts.configuration $eI=5
The org.apache.struts2.config.Configuration implementation class [KT'aGK$
org.apache.struts2.config.Configuration接口名 D(m2^\O[
CflGj0oy8
struts.configuration.files ~; emUU
A list of configuration files automatically loaded by Struts \G!TC{6
struts自动加载的一个配置文件列表 "'@iDq%y
_aR_[
struts.configuration.xml.reload L~,x~sLd
Whether to reload the XML configuration or not /]mfI&l+9
是否加载xml配置(true,false) ~ PO)>;
<Ag`pZ<s
struts.continuations.package N<e=!LV
The package containing actions that use Rife continuations '\&t3?;
含有actions的完整连续的package名称 z^KMYvH
g
e)Be*J]4
struts.custom.i18n.resources 4FWb5b!A=
Location of additional localization properties files to load XJs*DK
加载附加的国际化属性文件(不包含.properties后缀) -UHa;WH
@F+zME
struts.custom.properties
S#kA$yO
Location of additional configuration properties files to load '`/Qr~]
加载附加的配置文件的位置 Vm_waa
`<0{U]m
M[C9P.O%w
struts.devMode K!JXsdHK
Whether Struts is in development mode or not .5i\L OTd
是否为struts开发模式 3XCePA5z
(zVT{!z
struts.dispatcher.parametersWorkaround Ic%c%U=i
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 2=&4@c|cn
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Stzv
SnK#YQCDt
struts.enable.DynamicMethodInvocation P|>pm]>C
Allows one to disable dynamic method invocation from the URL 4H<@da}
允许动态方法调用 .ykCmznf*
u@;6r"8q
struts.freemarker.manager.classname LQ7.RK
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Xx=jN1=,
org.apache.struts2.views.freemarker.FreemarkerManager接口名 U]aH4N
K>"]*#aBv
struts.i18n.encoding GW]b[l
The encoding to use for localization messages WSt&?+Y
国际化信息内码 x*Lm{c5+
u~WE}VC
struts.i18n.reload ^1#"FU2cP
Whether the localization messages should automatically be reloaded Qh4<HQ<9
是否国际化信息自动加载 O%1X[
?k5m1,fHW
struts.locale ^""Ss
The default locale for the Struts application r+4<Lon~
默认的国际化地区信息 3kTOWIX
d)_fI*:f
struts.mapper.class m0: IFE($
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class XM9}ax
org.apache.struts2.dispatcher.mapper.ActionMapper接口 oi@hZniP?
!9 B`
struts.multipart.maxSize O}Ipg[h
The maximize size of a multipart request (file upload) xnBU)#<]S
multipart请求信息的最大尺寸(文件上传用) 9`A}-YA!
7S
+YQ$_
struts.multipart.parser tAI<[M@
The org.apache.struts2.dispatcher.multipart. D 7D:?VoR
MultiPartRequest parser implementation for a multipart request (file upload) W^es"\
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5uVSbo.
7K 8tz}
j}uVT2ZE%
struts.multipart.saveDir *J ]2"~_.
The directory to use for storing uploaded files Ju0W
设置存储上传文件的目录夹 ?)8OC(B8q
yX-h|Cr"
struts.objectFactory NrHh(:
The com.opensymphony.xwork2.ObjectFactory implementation class H pZD^h?L
com.opensymphony.xwork2.ObjectFactory接口(spring) MJ=(rp=YU9
_iJ8*v8A
struts.objectFactory.spring.autoWire jD`p;#~8
Whether Spring should autoWire or not 9S.J%*F7
是否自动绑定Spring ;tBc&LJ?
WOv m%sX
struts.objectFactory.spring.useClassCache {^Y0kvnd
Whether Spring should use its class cache or not *!~jHy8F
是否spring应该使用自身的cache $KmhG1*s
#RJFJb/
struts.objectTypeDeterminer sX8?U,u
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7U@;X~c
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 U_X /
w7(jSPB
struts.serve.static.browserCache P?.j
w I
If static content served by the Struts filter should set browser caching header properties or not lY.{v]i }
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 (jV_L1D
"JH
/ODm
struts.serve.static o
0-3[W'x<
Whether the Struts filter should serve static content or not Cwb}$=p'
是否struts过滤器应该提供静态内容 QR.] ?t;1
{JJq/[j
struts.tag.altSyntax Y&G]M
Whether to use the alterative syntax for the tags or not \Q
CH.~]
是否可以用替代的语法替代tags <b5J"i&m
_o'3v=5T
struts.ui.templateDir 7sC8|+
The directory containing UI templates W=[..d
UI templates的目录夹 Y$@?Y/rhR
2[O\"a%
struts.ui.theme &s+F+8"P+
The default UI template theme B{In
"R8
默认的UI template主题 &!adW@y
fsA-}Qc
struts.url.http.port f|U
J%}$v;
The HTTP port used by Struts URLs @CxXkR
设置http端口 e5"?ol0
^Hdru]A$2
struts.url.https.port &fIx2ZM[
The HTTPS port used by Struts URLs zFR=inI
设置https端口 -C>q,mDJZ
iG.qMf.
struts.url.includeParams _#kjiJj*
The default includeParams method to generate Struts URLs y[pU8QSt
在url中产生 默认的includeParams 53i7:1[uV
r8k.I4
qv+8wJ((
struts.velocity.configfile }"sZ)FE
The Velocity configuration file path M)<4|x
velocity配置文件路径 ,{pC1A@s
"EE=j$8u+
struts.velocity.contexts wG,"ZN
List of Velocity context names S~Z`?qHWh
velocity的context列表 jRCf!RO
tH}$j
8|*=p4_fn
struts.velocity.manager.classname !,I530eh7
org.apache.struts2.views.velocity.VelocityManager implementation class o:.6{+|N
org.apache.struts2.views.velocity.VelocityManager接口名 P ]prrKZe,
f`[gRcZ-
struts.velocity.toolboxlocation zRz7*o&l
The location of the Velocity toolbox .3tyNjsn\
velocity工具盒的位置 T##_?=22I
struts.xslt.nocache -kv'C6gB
Whether or not XSLT templates should not be cached Me.t_)
是否XSLT模版应该被缓存 +FYQ7UE