struts2的struts.properties配置文件详解 rmabm\QY
Qy70/on9
struts.action.extension #>- rKv.A
The URL extension to use to determine if the request is meant for a Struts action |wLQ)y*
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 cbwzT0
*$cp"
struts.configuration :jUuw:\
The org.apache.struts2.config.Configuration implementation class YAPD7hA
org.apache.struts2.config.Configuration接口名 /GXO2zO
9{TOFjsF
struts.configuration.files ReE3742@
A list of configuration files automatically loaded by Struts 3?%kawO&
struts自动加载的一个配置文件列表 <>e<Xd:77{
ks r5P~
struts.configuration.xml.reload #!5Nbe
Whether to reload the XML configuration or not e`~q;?:
是否加载xml配置(true,false) WuNu}Ibl}m
kyjH~mK4
struts.continuations.package yBe/UFp+
The package containing actions that use Rife continuations _bd#C
含有actions的完整连续的package名称 PR'FSTg
]bR'J\Fwl
struts.custom.i18n.resources :5*<QJuI#A
Location of additional localization properties files to load 6=g7|}
加载附加的国际化属性文件(不包含.properties后缀) vJCL
m/}*
s Y6'y'a95
struts.custom.properties 5rWRE-
Location of additional configuration properties files to load ua[\npz5
加载附加的配置文件的位置 #_7c>gn
%nC Uct@c
?hmb"^vlG
struts.devMode 62_$O"
Whether Struts is in development mode or not i4pJIb
是否为struts开发模式 0K2[E^.WN
:RQ[(zD]
struts.dispatcher.parametersWorkaround MMAC,4
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic IW1\vfe
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) QVH_B+
Q
b5|p#&YK~
struts.enable.DynamicMethodInvocation amSyGQ2
Allows one to disable dynamic method invocation from the URL O.E0LCABC
允许动态方法调用 :I$2[K
{S}@P~H=
struts.freemarker.manager.classname Y o(B8}?0!
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class i\Vpp8<B
org.apache.struts2.views.freemarker.FreemarkerManager接口名 NN:TT\!v
;MMFF {
struts.i18n.encoding >YfOR%mS4
The encoding to use for localization messages L)+ eM&W
国际化信息内码 U .Od
bGJUu#
struts.i18n.reload 5QSmim
Whether the localization messages should automatically be reloaded 1P[Lz!C
是否国际化信息自动加载 3aqmK.`H
&f yFUg
struts.locale LF~#4)B
The default locale for the Struts application sZH7EK
默认的国际化地区信息 ~"mZ0E
I I8nz[s
struts.mapper.class 9y4rw]4zI
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (=/F=,w
org.apache.struts2.dispatcher.mapper.ActionMapper接口 C|I
1 m
>gZz`CH
struts.multipart.maxSize oB\Xl)A<
The maximize size of a multipart request (file upload) )
G{v>Z,
multipart请求信息的最大尺寸(文件上传用) zoJ;5a.3B
UIl_&|
struts.multipart.parser TUaK:*x*
The org.apache.struts2.dispatcher.multipart. [:QMnJ
MultiPartRequest parser implementation for a multipart request (file upload) (*RybKoaA
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) l(5-Cr
t0>{0 5
yd72y'zi
struts.multipart.saveDir Wj:QC<5
v
The directory to use for storing uploaded files a
98
设置存储上传文件的目录夹 ' XF`&3i
*[H+8/n_
struts.objectFactory XOCau.#
The com.opensymphony.xwork2.ObjectFactory implementation class c-.>C)
com.opensymphony.xwork2.ObjectFactory接口(spring) #H[4?4r
_PM<25Y,@
struts.objectFactory.spring.autoWire nnG2z@$-
Whether Spring should autoWire or not ?6QJP|kE
是否自动绑定Spring !Ia"pNDf
%D
r?.e
struts.objectFactory.spring.useClassCache #:|Y(,c
Whether Spring should use its class cache or not cDiz!n*.q
是否spring应该使用自身的cache +29\'w,
{h"\JI!
struts.objectTypeDeterminer )DmiN ^:
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class B@]7eVo
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 `I8^QcP
ymZ/(:3_
struts.serve.static.browserCache {+2cRr.
If static content served by the Struts filter should set browser caching header properties or not tTGK25&