struts2的struts.properties配置文件详解 4gEw}WiP
Ui"$A/
struts.action.extension <#"_Qgdix
The URL extension to use to determine if the request is meant for a Struts action (gE<`b
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6b2h\+AP
!S7?:MJ?p\
struts.configuration Z$c&Y>@)
The org.apache.struts2.config.Configuration implementation class *C|*{!
org.apache.struts2.config.Configuration接口名 90F.9rh
"+ {2!
struts.configuration.files ?HOnDw.v1
A list of configuration files automatically loaded by Struts U7/
=|Z
struts自动加载的一个配置文件列表 'S74Ys=-0
Nf* .r
struts.configuration.xml.reload CD#U`jf
Whether to reload the XML configuration or not F@ pf._c
是否加载xml配置(true,false) K&{ _s
|;aZi?Ek[
struts.continuations.package "ivVIq2
The package containing actions that use Rife continuations t:oq't
含有actions的完整连续的package名称 BINHCZ
=^ Ws/k
struts.custom.i18n.resources FmF[S&gFRs
Location of additional localization properties files to load uF3{FYM{I
加载附加的国际化属性文件(不包含.properties后缀) Exv!!0Cd^
iu{;|E
struts.custom.properties WC_U'nTu4
Location of additional configuration properties files to load AK'3N1l`
加载附加的配置文件的位置 W:j9 KhvT
F#Pn]
I5[@C<b
struts.devMode Je"XIhBr
Whether Struts is in development mode or not :qR8 e J
是否为struts开发模式 N|"q6M!ZL
|FaK=e
struts.dispatcher.parametersWorkaround E.N>,N
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic s)3CosU
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2|1CGHj\
`B8`<3k/(
struts.enable.DynamicMethodInvocation <jFov`^
Allows one to disable dynamic method invocation from the URL ZF#lh]
允许动态方法调用 .*595SuF
\%}]wf}
struts.freemarker.manager.classname Kx[+$Qt
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )B-[Q#*A-
org.apache.struts2.views.freemarker.FreemarkerManager接口名 #@V<{/;49
e50xcf1u
struts.i18n.encoding 8eh3K8tL#
The encoding to use for localization messages yO\bVu5V
国际化信息内码 tNqSCjQ~_c
J.g6<n
struts.i18n.reload x6\VIP"9L
Whether the localization messages should automatically be reloaded i(e=
是否国际化信息自动加载 4u0?[v[Hu
n^55G>"0|
struts.locale
{fEb>
The default locale for the Struts application U"UsQYa_
默认的国际化地区信息 @kT@IQkri
}43qpJe8U
struts.mapper.class vz:VegS
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class MR@Qn[RdM
org.apache.struts2.dispatcher.mapper.ActionMapper接口 0[uOKFgE
G:|]w,^i
struts.multipart.maxSize 8WQc8
The maximize size of a multipart request (file upload) 0&kmP '
multipart请求信息的最大尺寸(文件上传用) /{[tU-}qJ
hCX/k<}I
struts.multipart.parser m>w{vqPwJ
The org.apache.struts2.dispatcher.multipart. Gf~^Xv!T
MultiPartRequest parser implementation for a multipart request (file upload) 3T 0'zJ2f
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =kOo(
Mxd7X<\$
Z;R/!Py.
struts.multipart.saveDir 0Nk!.gY
The directory to use for storing uploaded files OYa9f[ $
设置存储上传文件的目录夹 ?caHS2%?ae
vkYiO]y
struts.objectFactory D#Mz#\4o
The com.opensymphony.xwork2.ObjectFactory implementation class Lcy6G%A
com.opensymphony.xwork2.ObjectFactory接口(spring) t!FC) iY
.UN?Ak*R
struts.objectFactory.spring.autoWire ^x(s!4d]
Whether Spring should autoWire or not I&^hG\D
是否自动绑定Spring
l]
X*Q<REDB
struts.objectFactory.spring.useClassCache u
Vv%k5
Whether Spring should use its class cache or not EuVA"~PA
是否spring应该使用自身的cache *|6vCR
j39"iAn
struts.objectTypeDeterminer u?z,Vs"
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class w&hCt