struts2的struts.properties配置文件详解 XFi9qL^
8w~X4A,
struts.action.extension =
jTC+0u
The URL extension to use to determine if the request is meant for a Struts action i1Y<[s
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 o%$R`;
p`'3Il3
struts.configuration )0=H)k0
The org.apache.struts2.config.Configuration implementation class ]zI*}(adu
org.apache.struts2.config.Configuration接口名 ;NGSJfn
66po SZR@
struts.configuration.files k?_uv
A list of configuration files automatically loaded by Struts k:&B
b"
struts自动加载的一个配置文件列表 ]'z 5%'
`a@YbuLd
struts.configuration.xml.reload ];QX&";Z
Whether to reload the XML configuration or not +t(Gt0+
是否加载xml配置(true,false) !{A#\~,
Jn20^YG
struts.continuations.package 3+!G9T!
The package containing actions that use Rife continuations 0uI=8j
含有actions的完整连续的package名称 /@", 5U#
LE g#W
struts.custom.i18n.resources uao#=]?)
Location of additional localization properties files to load =!($=9
加载附加的国际化属性文件(不包含.properties后缀) {=+'3p
x(:alG%#
struts.custom.properties Kw`}hSE>o
Location of additional configuration properties files to load ~Vc`AcWP
加载附加的配置文件的位置 :]8!G- Z
2HDWlUTNVO
yz%o?%@
struts.devMode Yb'%J@T}
Whether Struts is in development mode or not '.I0n
是否为struts开发模式 t;t;+M|W
n9k-OGJ
struts.dispatcher.parametersWorkaround W}WDj:
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ^,Ft7 JAn
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) SYgkYR
2Xv$
struts.enable.DynamicMethodInvocation 6<YAoo
Allows one to disable dynamic method invocation from the URL t]ID
允许动态方法调用 0 l+Jq
k
jx<;##R8
struts.freemarker.manager.classname :79u2wSh
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ]'0}fuV
org.apache.struts2.views.freemarker.FreemarkerManager接口名 <Q_E3lQy/
48.4GwL7
struts.i18n.encoding 1CS\1[E
The encoding to use for localization messages i8=+<d
国际化信息内码 <qBM+m$|)
xqv&^,ic
struts.i18n.reload #eKH'fE
Whether the localization messages should automatically be reloaded "?'9\<>
是否国际化信息自动加载 M|UCV_omN
IJLuu@kRm,
struts.locale H4W!@"e
The default locale for the Struts application <#)Q.P
默认的国际化地区信息 g!`^!Q/($
sLc,Dx"+
struts.mapper.class N <M6~
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class bDq<]h_7
org.apache.struts2.dispatcher.mapper.ActionMapper接口 xr31<4B
WFvVu3
struts.multipart.maxSize ".kH5(:
The maximize size of a multipart request (file upload) pR!m
multipart请求信息的最大尺寸(文件上传用) |Pv)&'B"
k:z)Sw
struts.multipart.parser "XU)(<p
The org.apache.struts2.dispatcher.multipart. U(hIT9
MultiPartRequest parser implementation for a multipart request (file upload) ?',GR aD
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <lRjh7
)~ ^`[`
x}uDW
struts.multipart.saveDir p uW
The directory to use for storing uploaded files s6Il3Kf
设置存储上传文件的目录夹 `X(H,Q}*;
)c<[@::i
struts.objectFactory QvlVjDIy
The com.opensymphony.xwork2.ObjectFactory implementation class yL23Nqe
com.opensymphony.xwork2.ObjectFactory接口(spring) j/1f|x
Z5@E|O &
struts.objectFactory.spring.autoWire mJsU7bD`
Whether Spring should autoWire or not 12l1u[TlS
是否自动绑定Spring @u:q#b
+)_#j/
struts.objectFactory.spring.useClassCache jPs{Mr<
Whether Spring should use its class cache or not 6h1pPx7zU
是否spring应该使用自身的cache K}p0$Lc
P}he}k&IR
struts.objectTypeDeterminer C-&s$5MzGb
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \cHFV
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 pV$A?b"?*
D&D-