struts2的struts.properties配置文件详解
f<9H#S:
w;0NtV|
struts.action.extension |!8[Vg^Wh
The URL extension to use to determine if the request is meant for a Struts action ncb?iJ/b^
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @!'Pr$`
5FtbZ1L
struts.configuration IGEf*!
The org.apache.struts2.config.Configuration implementation class ye KzI~
org.apache.struts2.config.Configuration接口名 8NudY3cU!
H:#b(&qw2
struts.configuration.files LT!B]y
A list of configuration files automatically loaded by Struts YoGnk^$
struts自动加载的一个配置文件列表 {,*G}/9<
n%I%Kbw
struts.configuration.xml.reload go m<V?$
Whether to reload the XML configuration or not *6e`km
是否加载xml配置(true,false) E:4`x_~qQ
B@HW@j
struts.continuations.package QOlm#S
The package containing actions that use Rife continuations Wd_bDZQ
含有actions的完整连续的package名称 Vk y~yTL)\
{#:js
struts.custom.i18n.resources a-4'jT:
Location of additional localization properties files to load Q7&Yy25
加载附加的国际化属性文件(不包含.properties后缀) {CR~G2Z
+ Q
If7=
struts.custom.properties cn v4!c0
Location of additional configuration properties files to load cE/7B'cR
加载附加的配置文件的位置 b(_PCVC
ct3QtX0B
xYc)iH6&
struts.devMode oR5hMu;j+
Whether Struts is in development mode or not ]N NLr;p
是否为struts开发模式 i?z3!`m
Y]{<IF:
struts.dispatcher.parametersWorkaround =2s5>Oz+
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic gq*- v:P>
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) m}T^rX%m_
hc5M)0d
struts.enable.DynamicMethodInvocation Oq(_I
b)9
Allows one to disable dynamic method invocation from the URL yX,2`&c
允许动态方法调用 RU,f|hB4
?t'ZX~k
struts.freemarker.manager.classname WiH%URFB
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Nb>|9nu
O
org.apache.struts2.views.freemarker.FreemarkerManager接口名 LU_@8i:
~cz]Rhq
struts.i18n.encoding i5?)E7-
The encoding to use for localization messages fa=#S
国际化信息内码 5`{ +y]
/u<lh.
hPW
struts.i18n.reload U
u(ysN4`
Whether the localization messages should automatically be reloaded |A8Ar 7)
是否国际化信息自动加载 g^NdN46%
a_^3:}i~D
struts.locale DifRpj I-0
The default locale for the Struts application #]vq
<Y
默认的国际化地区信息 IPbdX@FeV
l,1 }1{k&
struts.mapper.class 1.o-2:]E
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?g}n$%*5y!
org.apache.struts2.dispatcher.mapper.ActionMapper接口 >@[`,
@es}bKP
struts.multipart.maxSize i)1E[jc{p!
The maximize size of a multipart request (file upload)
yUq,9.6Ig
multipart请求信息的最大尺寸(文件上传用) Hig=PG5I
?Mp~^sgp'
struts.multipart.parser !aeL*`;
The org.apache.struts2.dispatcher.multipart. LbJtU!
MultiPartRequest parser implementation for a multipart request (file upload) &jl'1mZ
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Bg-C:Ok2'
$N5VoK
"z69jxXo
struts.multipart.saveDir i6kW"5t
The directory to use for storing uploaded files FZ #ngrT
设置存储上传文件的目录夹 +o?.<[>!GR
U_ V0
struts.objectFactory >f^&^28
The com.opensymphony.xwork2.ObjectFactory implementation class <.HHV91
com.opensymphony.xwork2.ObjectFactory接口(spring) H.7gSB 1
WnLgpt2G
struts.objectFactory.spring.autoWire jm =E_86_
Whether Spring should autoWire or not z<+".sD'
是否自动绑定Spring S&6}9r
@@*->
struts.objectFactory.spring.useClassCache DvG. G+mo#
Whether Spring should use its class cache or not '<