struts2的struts.properties配置文件详解 k3wAbGp
9xm' 0 '
struts.action.extension wO
{-qrN
The URL extension to use to determine if the request is meant for a Struts action &p2fMVWJ7
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 !Yan}{A,
=fr_` "?k
struts.configuration _<i*{;kR6
The org.apache.struts2.config.Configuration implementation class #U j~F
org.apache.struts2.config.Configuration接口名 7xmif YC
#c:b8rw
struts.configuration.files ZBAtRs
A list of configuration files automatically loaded by Struts 3bW(VvgcL4
struts自动加载的一个配置文件列表 x#{.mN
R2[-Q"|Ra
struts.configuration.xml.reload Ev7fvz =
Whether to reload the XML configuration or not .j)f'<;%
是否加载xml配置(true,false) (\M&Q-xZ
ZNEWUt{+;^
struts.continuations.package ~Z#jIG<?g
The package containing actions that use Rife continuations g/ict2!
含有actions的完整连续的package名称 9cm9;
D8''q%
struts.custom.i18n.resources V
2WcPI^
Location of additional localization properties files to load *To5\|
加载附加的国际化属性文件(不包含.properties后缀) KLn.vA.
;{k`nv_6
struts.custom.properties G*;6cV19
Location of additional configuration properties files to load eJ23$VM+9
加载附加的配置文件的位置 Cg!]x
o
h NCoX*icd
XeT{y]lkd
struts.devMode &m>sGCZ
Whether Struts is in development mode or not 3 O)^Hq+9
是否为struts开发模式 nBA0LIb
voHFU#Z$
struts.dispatcher.parametersWorkaround WTcrfs)T
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic hvS4"%\
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Zh]FL8[
nc
(haYY]W\
struts.enable.DynamicMethodInvocation U<*8KiI
Allows one to disable dynamic method invocation from the URL b&V}&9'[M;
允许动态方法调用 I;<aJo6Yl
=R
<X!@
struts.freemarker.manager.classname /T_ G9zc
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `IQ76Xl
org.apache.struts2.views.freemarker.FreemarkerManager接口名 LZB=vc|3/
O*ql!9}E{
struts.i18n.encoding x(Us
O}
The encoding to use for localization messages C;6Nu W
国际化信息内码 fQ,L~:Y =
I,@f*o
struts.i18n.reload 18AKM
Whether the localization messages should automatically be reloaded pUz;e#J|
是否国际化信息自动加载 RnX:T)+o
^atX/
struts.locale cN5,\I.
The default locale for the Struts application !A\Qwg>
默认的国际化地区信息 \MA4>
$bd&$@sA
struts.mapper.class dt -=7mz#
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class JAK+v
org.apache.struts2.dispatcher.mapper.ActionMapper接口 f2JeXsOI
cq=ker zQ
struts.multipart.maxSize Nx8~Rn
The maximize size of a multipart request (file upload) ~P47:IZf
multipart请求信息的最大尺寸(文件上传用) QD}'2{M!
\NEXtr`Th
struts.multipart.parser >2[\WF*"X
The org.apache.struts2.dispatcher.multipart. 1$*ZN4
MultiPartRequest parser implementation for a multipart request (file upload) "0(H! }D
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) U '#Xwax
<&+\X6w[
,p,$(V
struts.multipart.saveDir SGd[cA
K o
The directory to use for storing uploaded files _^ 2rRz
设置存储上传文件的目录夹 fU )@Lj1Wo
#]iSh(|8
struts.objectFactory a}Dx"zl;
The com.opensymphony.xwork2.ObjectFactory implementation class FSs<A@
com.opensymphony.xwork2.ObjectFactory接口(spring) D[7+xAwS
TA.ugF)h
struts.objectFactory.spring.autoWire .^fVm
Whether Spring should autoWire or not MrW#~S|ED
是否自动绑定Spring
d%y)/5
=q%Q^
struts.objectFactory.spring.useClassCache r{V=)h
Whether Spring should use its class cache or not %V +hm5Q
是否spring应该使用自身的cache <Oi65O_X
f8T6(cA
struts.objectTypeDeterminer Eu4-=2!4
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =peodj^
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _%xe:X+ M
^4WNP
struts.serve.static.browserCache {!lC$ SlJ
If static content served by the Struts filter should set browser caching header properties or not w$X"E*~>8
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 DcO$&)Eb
}-ly'4=l
struts.serve.static 6z6\-45
Whether the Struts filter should serve static content or not a,GOS:?O5
是否struts过滤器应该提供静态内容 <Be:fnPX7
(V:z7
struts.tag.altSyntax )<?^~"h
Whether to use the alterative syntax for the tags or not 5d7AE^SHsH
是否可以用替代的语法替代tags V!Px975P
ScgaWJ
struts.ui.templateDir xp!MA
The directory containing UI templates 56;^
NE4
UI templates的目录夹 /Ria"lLv
% Rv;e
struts.ui.theme /E/Z0<l7
The default UI template theme qSg#:;(O
默认的UI template主题 J<"=c
z$
y_>l'{w3^
struts.url.http.port n#2tFuPE
The HTTP port used by Struts URLs ^~3u|u
设置http端口 @B@`V F
vn]e`O>y
struts.url.https.port MY8[)<q"
The HTTPS port used by Struts URLs <6
HrHw_
设置https端口 S2TyNZbQ
x6i7x"
struts.url.includeParams <sALA~p|0
The default includeParams method to generate Struts URLs 7Rba@ cs9
在url中产生 默认的includeParams Xjy5Yj
U?bQBHIC
PQ u_]cXI
struts.velocity.configfile Ix-bJE6+I,
The Velocity configuration file path >FVBn;1
velocity配置文件路径 {Dc{e5K
N(6Q`zs
struts.velocity.contexts >1}RiOd3
List of Velocity context names 4"om;+\
velocity的context列表 I%^Bl:M
|ODi[~y
FZvh]ZX
struts.velocity.manager.classname :7WeR0*%
org.apache.struts2.views.velocity.VelocityManager implementation class Y#VtZTcT
org.apache.struts2.views.velocity.VelocityManager接口名 CAbeb+O
9J*M~gKbz
struts.velocity.toolboxlocation X
j>?P/=Z
The location of the Velocity toolbox pR3@loFQ`o
velocity工具盒的位置 >@Nn_d
struts.xslt.nocache m-<"`:+
Whether or not XSLT templates should not be cached %nRz~3X|+v
是否XSLT模版应该被缓存 9JDdOjqo