struts2的struts.properties配置文件详解 ~<bZ1TD
(L&d!$,Dv
struts.action.extension Ui W>J
The URL extension to use to determine if the request is meant for a Struts action g!|kp?
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;6$jf:2m
n-;`Cy`k
struts.configuration k y7Gwc
The org.apache.struts2.config.Configuration implementation class wi=v}R_
org.apache.struts2.config.Configuration接口名 vk^xT
H1./x6Hr
struts.configuration.files S=5o
< 1
A list of configuration files automatically loaded by Struts lL3U8}vn
struts自动加载的一个配置文件列表 +r2-S~f3N
CA~-rv
struts.configuration.xml.reload ?6U0PChy
Whether to reload the XML configuration or not R-$!9mnr
是否加载xml配置(true,false) _Fl9>C"u
U[MA)41
struts.continuations.package )ez9"# MH'
The package containing actions that use Rife continuations W|mo5qrLS2
含有actions的完整连续的package名称 m-, x<bM?
PJH&
struts.custom.i18n.resources 3]S$ih&A
Location of additional localization properties files to load gM:".Ee
加载附加的国际化属性文件(不包含.properties后缀) q 2E_A
f
;n3&e0eC
struts.custom.properties Fx.=#bVX7
Location of additional configuration properties files to load Dp9+HA9t
加载附加的配置文件的位置 (!WD1w
nNn:-
kffcm/
struts.devMode ~]2K^bh8&
Whether Struts is in development mode or not + ePS14G
是否为struts开发模式 kxv1Hn"`{E
YaqJ,"GlT
struts.dispatcher.parametersWorkaround 7kEn \
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \4fQMG
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) c^W)07-X5y
a:w#s}bL
struts.enable.DynamicMethodInvocation &^jXEz;
Allows one to disable dynamic method invocation from the URL ` Sz}`+E
允许动态方法调用 G 3ptx!
D
NgPk&niM
struts.freemarker.manager.classname bk[!8-b/a
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class R6->t #n,
org.apache.struts2.views.freemarker.FreemarkerManager接口名 f@!.mDm]
i/Zd8+.n$
struts.i18n.encoding -iZ`Y?
The encoding to use for localization messages 3Y$GsN4ln
国际化信息内码 Q$"D]!G
FYQS)s
struts.i18n.reload ;2QP7PrSY
Whether the localization messages should automatically be reloaded |A(Iti{v
是否国际化信息自动加载 tCt#%7J;a
+ZP7{%
struts.locale Nh44]*
The default locale for the Struts application f/?P514h
默认的国际化地区信息 (tW`=]z-<
BI@[\aRLQ
struts.mapper.class $I?"lky
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >A"(KSNL
org.apache.struts2.dispatcher.mapper.ActionMapper接口 pQB."[n
%xLhZ\
struts.multipart.maxSize xAm6BB
c
The maximize size of a multipart request (file upload) Ny/MJ#Lq
multipart请求信息的最大尺寸(文件上传用) $F.a><1rY
[$UI8tV
struts.multipart.parser dM@1l1h/
The org.apache.struts2.dispatcher.multipart. J{G?-+`
MultiPartRequest parser implementation for a multipart request (file upload) @H8EWTZ
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) seJ^s@H5l
{'H(g[k
:ShT|n7
struts.multipart.saveDir jPkn[W#
6
The directory to use for storing uploaded files aN3;`~{9
设置存储上传文件的目录夹 e\/w'
J'r^/
struts.objectFactory GQ
;;bcj&
The com.opensymphony.xwork2.ObjectFactory implementation class B9S@(/"7
com.opensymphony.xwork2.ObjectFactory接口(spring) lyhiFkO
iH
A=0'Ks
struts.objectFactory.spring.autoWire Vxt+]5X
Whether Spring should autoWire or not (QB2T2x
是否自动绑定Spring MolgwVd
)+Pus~w
struts.objectFactory.spring.useClassCache 5"H=zJ=r
Whether Spring should use its class cache or not \~ wMfP8
是否spring应该使用自身的cache $ ocdI5
9lE_nc
struts.objectTypeDeterminer F:DrX_O%
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \fe]c :
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 a8Wwq?@
aw> #P
struts.serve.static.browserCache _o~nr]zx
If static content served by the Struts filter should set browser caching header properties or not 8q7b_Pq1U
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <gBA1oRz
<OPArht
struts.serve.static L}NSR
Whether the Struts filter should serve static content or not }<:}XlwT%
是否struts过滤器应该提供静态内容 w4Z'K&