struts2的struts.properties配置文件详解 *y":@T
CDwFVR'_Af
struts.action.extension f(@"[-[
The URL extension to use to determine if the request is meant for a Struts action xCmI7$uQ#
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ')Dp%"\?
9-X{x95]
struts.configuration +35)=Uov
The org.apache.struts2.config.Configuration implementation class '<*CD_2t-
org.apache.struts2.config.Configuration接口名 1{;[q3a
C[Y%=\6'0
struts.configuration.files \4]zNV ~x
A list of configuration files automatically loaded by Struts &r5&6p
struts自动加载的一个配置文件列表 mmpr]cT@'k
hIE%-gZ/
struts.configuration.xml.reload $?CBX27AV
Whether to reload the XML configuration or not qr<-eJf
是否加载xml配置(true,false) UH1S_:6
;r0|_mnf
struts.continuations.package 0|K/=dh5+
The package containing actions that use Rife continuations \E ? iw.}
含有actions的完整连续的package名称 C7XS6Nqu
!#_h2a
struts.custom.i18n.resources o|p;6
Location of additional localization properties files to load ,YAPCj
加载附加的国际化属性文件(不包含.properties后缀) d~P<M3#>
i_jax)m%
struts.custom.properties i+qLc6|S=2
Location of additional configuration properties files to load GDNh?R
加载附加的配置文件的位置 R9|2&pfm(M
3_R
c:`` Y:
struts.devMode B~'VDOG$Z
Whether Struts is in development mode or not ;?O883@r8
是否为struts开发模式 xqi*N13
b}}1TnS)
struts.dispatcher.parametersWorkaround ^R8U-V8:
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~_# Y,)S!z
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {{4p{
1b
%T_a
struts.enable.DynamicMethodInvocation {YO%JTQ
Allows one to disable dynamic method invocation from the URL a@V/sh
允许动态方法调用 8f6;y1!;
%FR^[H]
struts.freemarker.manager.classname XeIUdg4>R
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class h.}t${1ZC
org.apache.struts2.views.freemarker.FreemarkerManager接口名 AD!<%h:
+ 8K1]'t$
struts.i18n.encoding U`8^N.Snrp
The encoding to use for localization messages G2[IO $
国际化信息内码 6iV"Tl{z-
9wYtOQ{g
struts.i18n.reload a|6x!p2X
Whether the localization messages should automatically be reloaded Te U7W?M^
是否国际化信息自动加载 %M0mwty]
kS\.
struts.locale 4,*^QK
The default locale for the Struts application Ql6ai
默认的国际化地区信息 yBD2
DS,FVh".|
struts.mapper.class >b!X&JU
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class CL@h!h554_
org.apache.struts2.dispatcher.mapper.ActionMapper接口 :+%h
5shu76
struts.multipart.maxSize 33,JUQ2u
The maximize size of a multipart request (file upload) 9,EaN{GM
multipart请求信息的最大尺寸(文件上传用) yV+ E;
nTlv'_Y(
struts.multipart.parser kT }'"
The org.apache.struts2.dispatcher.multipart. jhEg#Q$
MultiPartRequest parser implementation for a multipart request (file upload) ]ZryY
EB
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &Lt$a_y>
Rm\'];
u6S0t?Udap
struts.multipart.saveDir 4htSwK+
The directory to use for storing uploaded files tMPXvE
设置存储上传文件的目录夹 L/iVs`qF
%Dr4~7=7a
struts.objectFactory a@_Cx
The com.opensymphony.xwork2.ObjectFactory implementation class e
ka@?`
com.opensymphony.xwork2.ObjectFactory接口(spring) :?:j$
=nWN
rM
>V=|9,
struts.objectFactory.spring.autoWire
UA!Gr3
Whether Spring should autoWire or not YaJ{"'}
是否自动绑定Spring N5 rG.6K
i\Q"a B"r
struts.objectFactory.spring.useClassCache c]>&6-;rf
Whether Spring should use its class cache or not N>nvt.`P
是否spring应该使用自身的cache |n6Q
`d|bH;w
struts.objectTypeDeterminer z)Q^j>%
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class kFIB lPV
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ng&EGM
?#EXG
struts.serve.static.browserCache J"2ODB5"
If static content served by the Struts filter should set browser caching header properties or not FG5c:Ep
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 HT,kx
WO(&<(?
struts.serve.static C"Y]W-Mgg
Whether the Struts filter should serve static content or not xjhAAM
是否struts过滤器应该提供静态内容 Zqs-I8y
a6k(O8Ank3
struts.tag.altSyntax 2bn@:71`
Whether to use the alterative syntax for the tags or not ">vYEkZ3
是否可以用替代的语法替代tags 4wj|
Rn~Xu)@e
struts.ui.templateDir ME10dr
The directory containing UI templates yDkDtO`K
UI templates的目录夹 61rh\<bn
n40MP5RxY
struts.ui.theme lKhh=Pc2
The default UI template theme SX=0f^
默认的UI template主题 <sCq
x/L
!E:Vn *k;
struts.url.http.port %Rsf6rJ
The HTTP port used by Struts URLs =Wy`X0h
设置http端口 .iN*V|n
J_[[BJ&}x
struts.url.https.port nM.?Q}yO~
The HTTPS port used by Struts URLs Nj-rZ%&
设置https端口 B%g :Z
Nb!6YY=Ez-
struts.url.includeParams ;7n*PBUJJ
The default includeParams method to generate Struts URLs ocuVDC
在url中产生 默认的includeParams UrcN?
PUZXmnB
v{{2<,l
struts.velocity.configfile hYUV9k:
The Velocity configuration file path ~B*\k^t`
velocity配置文件路径 vwH7/+
.q9|XDqQc
struts.velocity.contexts oJJk
List of Velocity context names 2SPFjpG8n
velocity的context列表 .f<VmUca
fYQi#0drn
+$QL0|RL
struts.velocity.manager.classname '/Cz{<,
org.apache.struts2.views.velocity.VelocityManager implementation class Ce'2lo
org.apache.struts2.views.velocity.VelocityManager接口名 . nF
kq.h\[
struts.velocity.toolboxlocation AW&s-b%P
The location of the Velocity toolbox l
75{JxZX
velocity工具盒的位置 O-lh\9{'R
struts.xslt.nocache 07"Oj9NlA
Whether or not XSLT templates should not be cached W]}V<S$
是否XSLT模版应该被缓存 %3+hz$E