struts2的struts.properties配置文件详解 |@sUN:G4k
52C>f6w
struts.action.extension r_@;eh
The URL extension to use to determine if the request is meant for a Struts action sn@gchO9s
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,=Xr'7w,
*6df|q
struts.configuration yS@c2I602
The org.apache.struts2.config.Configuration implementation class q$(aMO&J
org.apache.struts2.config.Configuration接口名 k9~NIvnB`
!L2R0Y:a
struts.configuration.files L1VUfEG-
A list of configuration files automatically loaded by Struts Ha[Bf*
struts自动加载的一个配置文件列表 brl(7_2
r0+lH:G*q
struts.configuration.xml.reload vCb3Ra~L`
Whether to reload the XML configuration or not )%- FnW
是否加载xml配置(true,false) =XzrmPu
\v)Dy)Vhg2
struts.continuations.package K#%L6=t$<
The package containing actions that use Rife continuations :p;!\4)u
含有actions的完整连续的package名称 Ew*_@hVC
Oq7M1|{
struts.custom.i18n.resources V\W?@V9g-
Location of additional localization properties files to load x{*g^f
加载附加的国际化属性文件(不包含.properties后缀) d/v{I
SGXXv
struts.custom.properties f<=<:+
Location of additional configuration properties files to load S*Qip,u
加载附加的配置文件的位置 A0m
:"5i/Cx
ONH!ms(kb
struts.devMode AME3hA
Whether Struts is in development mode or not s{(aW5$!s
是否为struts开发模式 cV\(Z6u
3=RV Jb
struts.dispatcher.parametersWorkaround |F=!0Id<
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic YiJnh47
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ({v$!AAv
^
|z|kc
struts.enable.DynamicMethodInvocation B5GT^DaT
Allows one to disable dynamic method invocation from the URL JF!JY( U,
允许动态方法调用 Ew5(U`]
mKugb_d?
struts.freemarker.manager.classname b|^g51v
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class R9A8)dDz
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]i(tou-[i
jVC`38|
struts.i18n.encoding ;PCnEs
The encoding to use for localization messages NoTEbFrV
国际化信息内码 cY8XA6
#` Q3Z}C
struts.i18n.reload ![h+R@_(
Whether the localization messages should automatically be reloaded j]U sb_7
是否国际化信息自动加载 cXU8}>qY7
s6bILz-u
struts.locale K1>X%f^
The default locale for the Struts application W/!M
eTU&E
默认的国际化地区信息 $M{MOehZ
AFE6@/'
struts.mapper.class Q97F5ru6
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ZKy)F-yX
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Cuu yG8
rH*1bDL
struts.multipart.maxSize I,TJV)B
The maximize size of a multipart request (file upload) R[KF${X4
multipart请求信息的最大尺寸(文件上传用) q.0Evr:
zx` %)r
struts.multipart.parser -FQ!
The org.apache.struts2.dispatcher.multipart. )[fjZG[
MultiPartRequest parser implementation for a multipart request (file upload) 'NJGez'b,
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) j5Kw0Wy7
mN^w?R41m
jz,Mm,Gi
struts.multipart.saveDir 7k,pUC-w7c
The directory to use for storing uploaded files ,;;7+|`
设置存储上传文件的目录夹 NwAvxN<R(f
jf&B5>-x
struts.objectFactory e_RLKFv7
The com.opensymphony.xwork2.ObjectFactory implementation class DrI"YX
com.opensymphony.xwork2.ObjectFactory接口(spring) nhV\<
# &zM.O1Q
struts.objectFactory.spring.autoWire
~o{GQ>
Whether Spring should autoWire or not F6
mc<