struts2的struts.properties配置文件详解 8;4vr@EV
zPe4WE|
struts.action.extension Pg-~^"?y
The URL extension to use to determine if the request is meant for a Struts action jx!)N>
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 i^G/)bq
[g]ks
struts.configuration AEX]_1TG
The org.apache.struts2.config.Configuration implementation class ]3
YJEP
org.apache.struts2.config.Configuration接口名 k.rP}76
H?sl_3-#
struts.configuration.files ta> g:
A list of configuration files automatically loaded by Struts K%Mm'$fTw
struts自动加载的一个配置文件列表 MxuwEV|^
}IC$Du#
struts.configuration.xml.reload d;Z<")
Whether to reload the XML configuration or not +h pXMO%?
是否加载xml配置(true,false) )pjd*+V
X1]&j2WR
struts.continuations.package c ^G\w+_
The package containing actions that use Rife continuations F:%= u
=
含有actions的完整连续的package名称 30*^ERO
F8 ;M++
struts.custom.i18n.resources W8,XSUl
Location of additional localization properties files to load 4;M
加载附加的国际化属性文件(不包含.properties后缀) /R^HRzTO
o$'Fz[U
struts.custom.properties p>Ju)o
Location of additional configuration properties files to load ,ZJI]Q=!
加载附加的配置文件的位置 };+ '
4};!nYey!
Y$--Hp4
struts.devMode sRE$*^i
Whether Struts is in development mode or not = PqQJE}
是否为struts开发模式 U;?%rM6
~=Z&l
struts.dispatcher.parametersWorkaround :@wO'
o
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic qDM/
6xO
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Yi{[llru
q+x4Od3
struts.enable.DynamicMethodInvocation o$\{&:y
Allows one to disable dynamic method invocation from the URL r[eZV"
允许动态方法调用 #~Lh#@h
VD,F?L!
struts.freemarker.manager.classname X9/V;!
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?Gp~i]
org.apache.struts2.views.freemarker.FreemarkerManager接口名 uwj/]#`
=9\=5_V
struts.i18n.encoding UY5ia4_D
The encoding to use for localization messages "}\2zub9
国际化信息内码 +#6WORH0S
prlnK
struts.i18n.reload [NFg9y;{h
Whether the localization messages should automatically be reloaded `V w9j,G
是否国际化信息自动加载 Fw+JhIVP
q5BJsw
struts.locale $.QnM
The default locale for the Struts application #v:<\-MjN
默认的国际化地区信息 6NO=NL
enF.}fo]
struts.mapper.class ?p. dc~tZ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class x~$P.X7(~
org.apache.struts2.dispatcher.mapper.ActionMapper接口 T?) U|
Q~,E
K
struts.multipart.maxSize Al3Hu-Hf;`
The maximize size of a multipart request (file upload) Wv77ef
multipart请求信息的最大尺寸(文件上传用) u4IgPCTZ+
j*I0]!-
struts.multipart.parser nv{ou[vQ
The org.apache.struts2.dispatcher.multipart. <s9Sx>Zb
MultiPartRequest parser implementation for a multipart request (file upload) 6aM`qz)
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) z Rz#0
%N/I;`
E5jK}1t4V
struts.multipart.saveDir -gu)d5b
The directory to use for storing uploaded files -njxc{b
设置存储上传文件的目录夹 }.NR+:0
ZB`!@/3X
struts.objectFactory (^qcX;-
The com.opensymphony.xwork2.ObjectFactory implementation class ]}ff*W
com.opensymphony.xwork2.ObjectFactory接口(spring) \z:p"eua z
PX?tD:,[-
struts.objectFactory.spring.autoWire -3wg9uZ&
Whether Spring should autoWire or not ,PJl32
是否自动绑定Spring i/C#fIB2
HjGT{o
struts.objectFactory.spring.useClassCache PgB=<#9
Whether Spring should use its class cache or not ^[&*B#(
是否spring应该使用自身的cache bp_3ETK]P
xW/JItF
struts.objectTypeDeterminer W;~^3Hz6
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7; TS
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 8Ral%I:gr
/W:}p(>4a
struts.serve.static.browserCache x[WT)
If static content served by the Struts filter should set browser caching header properties or not |8`}yRsQ
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 m1\>v?=K
bCd! ap+#
struts.serve.static wLkHU"'
Whether the Struts filter should serve static content or not w V;y]'
是否struts过滤器应该提供静态内容 &Radpb2p6
at7/KuY!~
struts.tag.altSyntax ai#EFo+#
Whether to use the alterative syntax for the tags or not lCd^|E
是否可以用替代的语法替代tags tSYeZ~
_32ltnBX
struts.ui.templateDir 5mER&SX
The directory containing UI templates :".!6~:2
UI templates的目录夹 <Y~V!9(~{Q
)byQ=-<1
struts.ui.theme pNVao{::5
The default UI template theme Q{>9Dg
默认的UI template主题 JC>}(yQA
KC }B\~ +
struts.url.http.port s15f <sp
The HTTP port used by Struts URLs IEC:zmkn
设置http端口 H{yPi7 P
#Sn&Wo
struts.url.https.port ^$?8!WE
The HTTPS port used by Struts URLs `e`4[I
设置https端口
[POy"O
P-+ ^YN,
struts.url.includeParams (&njZdcb*
The default includeParams method to generate Struts URLs 6|_ S|N
在url中产生 默认的includeParams T0tG1/O\
Rw$ @%o%
!Y\hF|[z
struts.velocity.configfile !u7WCw.D m
The Velocity configuration file path s-8>AW
ep
velocity配置文件路径 HF47Lc*c
^.-P]I]
struts.velocity.contexts 9F,jvCM63
List of Velocity context names veK
velocity的context列表 ISq^V
tH W"eag
?.4.Ubc\
struts.velocity.manager.classname PN\2 ^@>_
org.apache.struts2.views.velocity.VelocityManager implementation class v- {kPc=:#
org.apache.struts2.views.velocity.VelocityManager接口名 f5sk,Z
a,}{f]
struts.velocity.toolboxlocation F." L{g
The location of the Velocity toolbox F"0tv$
velocity工具盒的位置 q=[0`--cd
struts.xslt.nocache WX?|iw
I~
Whether or not XSLT templates should not be cached N0.-#Qa
是否XSLT模版应该被缓存 xX|-5cM;