struts2的struts.properties配置文件详解 |du%c`wl
'lA}E
struts.action.extension K_)~&Cu*'
The URL extension to use to determine if the request is meant for a Struts action j}ob7O&U'w
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 g&xj(SMj-$
w8 :[w
struts.configuration *O~y6|U?
The org.apache.struts2.config.Configuration implementation class jL\j$'KC
org.apache.struts2.config.Configuration接口名 rC^5Z
3LLG#l)8
struts.configuration.files &<98nT
A list of configuration files automatically loaded by Struts T:@6(_Z
struts自动加载的一个配置文件列表 {kk%_q
l'EO@D/M
struts.configuration.xml.reload 7s?#y=M
Whether to reload the XML configuration or not BJux5Nh
是否加载xml配置(true,false) 0>BxS9?w
M\m:H3[
struts.continuations.package >fXtu:C-!J
The package containing actions that use Rife continuations MrHJ)x"hy
含有actions的完整连续的package名称 *pwkv7Zh
zX_F+"]THt
struts.custom.i18n.resources q8d](MaX
Location of additional localization properties files to load K`Kv .4
加载附加的国际化属性文件(不包含.properties后缀) t8-Nli*O
(NLw#)?
struts.custom.properties ?0/$RpFEM#
Location of additional configuration properties files to load =Q(J!f
加载附加的配置文件的位置 c36p+6rJk=
MT~^wI0a
'M~`IN`
struts.devMode (& SU)Uvu
Whether Struts is in development mode or not =l43RawAmu
是否为struts开发模式 #4bT8kq
) 1AAL0F\B
struts.dispatcher.parametersWorkaround Pb'(Y
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 00 x-
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) v-z%3x.f
^5E9p@d"J
struts.enable.DynamicMethodInvocation p$\>3\
Allows one to disable dynamic method invocation from the URL _s5^\~ao
允许动态方法调用 F9o7=5WAb
DSwb8q
struts.freemarker.manager.classname ~Q_7HJ=^$
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ^yPZ$Q
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?2&= +QaT
&K0b3AWc
struts.i18n.encoding HQP.7.w7 5
The encoding to use for localization messages $,~Ily7w
国际化信息内码 0beP7}$
Mm@G{J\\
struts.i18n.reload [o<hQ`&
Whether the localization messages should automatically be reloaded 4tCM2it%
是否国际化信息自动加载 33DP?nI}
t/;0/ql\
struts.locale =Mx"+/Yo*
The default locale for the Struts application Hnt*,C.0
默认的国际化地区信息 $~6MR_Yq
cRf F!EV
struts.mapper.class 32 i6j
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^Ye(b7Gd
org.apache.struts2.dispatcher.mapper.ActionMapper接口 $"vz>SuB
j<~Wp$\i7>
struts.multipart.maxSize 1M&Lb.J6
The maximize size of a multipart request (file upload) G~5pMyOR
multipart请求信息的最大尺寸(文件上传用) !-OZ/^l|O`
jcqUY+T$
struts.multipart.parser fc3 nQp7
The org.apache.struts2.dispatcher.multipart. ] x)>q
MultiPartRequest parser implementation for a multipart request (file upload) Nb$0pc1J<
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #1haq[Uv7
|,,#DSe
#<)[{+f[t
struts.multipart.saveDir `;}`>!8j
The directory to use for storing uploaded files Acw`ytV
设置存储上传文件的目录夹 B9NUafK=
0E26J@jcZ7
struts.objectFactory CBd%}il
The com.opensymphony.xwork2.ObjectFactory implementation class &'/"=lK
com.opensymphony.xwork2.ObjectFactory接口(spring) Jt5V{9:('
`e,}7zGR
struts.objectFactory.spring.autoWire F[}#7}xjA
Whether Spring should autoWire or not 5Hu[*
是否自动绑定Spring nCi
]6;Y
&