struts2的struts.properties配置文件详解 b~Qd9Nf
U
=()T}b>
struts.action.extension &UWSf
The URL extension to use to determine if the request is meant for a Struts action )eFq0+6*)
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a*8^M\>m4
p^LUyLG`
struts.configuration 9tnW:Nw~
The org.apache.struts2.config.Configuration implementation class D;VFMP
org.apache.struts2.config.Configuration接口名 =a_B' ^`L
'WUevPmt
struts.configuration.files 8#Q=CTjF
A list of configuration files automatically loaded by Struts R ks3L
struts自动加载的一个配置文件列表 Tv;|K's'
hb>,\46}
struts.configuration.xml.reload @Y#{[@Hp%
Whether to reload the XML configuration or not ypuW}H%`
是否加载xml配置(true,false) $=j}JX}z
kCRP?sj
struts.continuations.package | Wrf|%p
The package containing actions that use Rife continuations !/w<F{cl
含有actions的完整连续的package名称 S*o%#ZJN
;UU+:~
struts.custom.i18n.resources ak?XE4-N
Location of additional localization properties files to load FS%Xq-c
加载附加的国际化属性文件(不包含.properties后缀) 0<+=Ew5Z
crJyk #_
struts.custom.properties \pzqUTk
Location of additional configuration properties files to load CapWn~*g
加载附加的配置文件的位置 O; qerE?i`
X9f!F2x
,R
j{^-k
struts.devMode
*Mt's[8
Whether Struts is in development mode or not B6gSt3w.
是否为struts开发模式 +G3&{#D
?
5]WpH0kzO
struts.dispatcher.parametersWorkaround * Yr)>;^
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _RFTm.9&
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) i0($@6Lh
T(<C8
struts.enable.DynamicMethodInvocation (R*K)(Nw[
Allows one to disable dynamic method invocation from the URL 3wEVjT-
允许动态方法调用
Tsez&R$k
*8zn\No<,
struts.freemarker.manager.classname +oY[uF
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class fjUyx:
org.apache.struts2.views.freemarker.FreemarkerManager接口名 +jFcq:`#UG
Rld1pX2v
struts.i18n.encoding CQo<}}-o
The encoding to use for localization messages %Ot22a
国际化信息内码 Q']
_3
i#t)tM"
struts.i18n.reload -E4e8'P;5
Whether the localization messages should automatically be reloaded /?%zNkcxu
是否国际化信息自动加载 ;}b.gpG
r* K[,
struts.locale lPh>8:qFM
The default locale for the Struts application 7_WD)Y2yS
默认的国际化地区信息 v1yNVs\}
8_MR7'C1hi
struts.mapper.class y>vr Uxgo
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7m6@]S6
org.apache.struts2.dispatcher.mapper.ActionMapper接口 'AX/?Srd
-hf)%o$
struts.multipart.maxSize CT@JNG$<"
The maximize size of a multipart request (file upload) .kSx>3
multipart请求信息的最大尺寸(文件上传用) @N`) Z3P+
Kr!(<i
struts.multipart.parser 0x Vue[ep
The org.apache.struts2.dispatcher.multipart. s[|sfqB1`
MultiPartRequest parser implementation for a multipart request (file upload) vMsb@@O\ \
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \gRX:i#n
a %"My;8
W'2|hP
struts.multipart.saveDir !5Ko^: +Y
The directory to use for storing uploaded files W8Z&J18AU
设置存储上传文件的目录夹 XV+s 5C
'~{^c}
struts.objectFactory GZ#6}/;b
The com.opensymphony.xwork2.ObjectFactory implementation class gaaW:* *y
com.opensymphony.xwork2.ObjectFactory接口(spring) 0^4uZeW?
ZPWY0&9
struts.objectFactory.spring.autoWire j4L )D
Whether Spring should autoWire or not f%0^89)
是否自动绑定Spring "VxZnT
vgSs]g
struts.objectFactory.spring.useClassCache @Iz vObK
Whether Spring should use its class cache or not %EYh5W
是否spring应该使用自身的cache P SDzs\s
CUgXpU*
struts.objectTypeDeterminer G\S\Qe{P~
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &k+G^ !=s#
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Paz
yY
xQX,1NbH5
struts.serve.static.browserCache jk2h"):B>
If static content served by the Struts filter should set browser caching header properties or not $v?+X20
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0 !yvcviw
XJ~_FiB
struts.serve.static `y; s1nL
Whether the Struts filter should serve static content or not
H
是否struts过滤器应该提供静态内容 ~d :Z|8
EOu\7;kE9
struts.tag.altSyntax p#W[he
Whether to use the alterative syntax for the tags or not & IVwm"
是否可以用替代的语法替代tags $Scb8<
TN}YRXtW+
struts.ui.templateDir ]q DhGt
The directory containing UI templates aJlSIw*Q,
UI templates的目录夹 +2!J 3{[J
[$_d|Z
struts.ui.theme D;.O# bS
The default UI template theme V`$Jan
默认的UI template主题 @O#4duM4Qz
CZ*c["x2
struts.url.http.port :1"{0gm
The HTTP port used by Struts URLs h%
BA,C
设置http端口 ;hi+.ng_
jA R@?X
struts.url.https.port hc}dS$=C
The HTTPS port used by Struts URLs vh3Xd\N
设置https端口 7q*L-Xe]k
f>i6f@
struts.url.includeParams (SV(L~T_
The default includeParams method to generate Struts URLs w}VS mt$F
在url中产生 默认的includeParams R4G$!6Ld
qepsR/0M
l$D]*_ jc,
struts.velocity.configfile >|%m#JG
The Velocity configuration file path D4[1CQ@}4D
velocity配置文件路径 t6&6kl
y*A#}b*0
struts.velocity.contexts 6]^;
s1!
List of Velocity context names B`)o?GcVN
velocity的context列表 }18}VjC!
]Ln2|$R
z"8%W?o>
struts.velocity.manager.classname ^OKCvdS
org.apache.struts2.views.velocity.VelocityManager implementation class rD)yEuYX
org.apache.struts2.views.velocity.VelocityManager接口名 Dk4Jg++
)tGeQXVhbJ
struts.velocity.toolboxlocation u"r~5
The location of the Velocity toolbox !0:uM)_k
velocity工具盒的位置 tL(B gku9
struts.xslt.nocache zRPXmu{t
Whether or not XSLT templates should not be cached RWtD81(oC'
是否XSLT模版应该被缓存 k`Nc<nN8