struts2的struts.properties配置文件详解 AP9>_0=
6&KcO:}-
struts.action.extension *6wt+twH
The URL extension to use to determine if the request is meant for a Struts action M.K%;j`
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 lZJbQ=K{
E`#/m@:|-
struts.configuration \t
^9UN
The org.apache.struts2.config.Configuration implementation class )sLXtV)nm6
org.apache.struts2.config.Configuration接口名 ^Is#_Z|
3M"eAK([
struts.configuration.files :+Tvq,/"
A list of configuration files automatically loaded by Struts y eWB.M~X
struts自动加载的一个配置文件列表 JgMYy,q8t
qa,i:T(w
struts.configuration.xml.reload IzlmcP3
Whether to reload the XML configuration or not xeW}`i5_w
是否加载xml配置(true,false) s&L 6C[
XXy&1C
struts.continuations.package CD pLV:
The package containing actions that use Rife continuations O0QK `F/)*
含有actions的完整连续的package名称 _)MbvF
.&rL>A2U
struts.custom.i18n.resources ;mwU>l,4
Location of additional localization properties files to load ;oWak`]f
加载附加的国际化属性文件(不包含.properties后缀) W+BHt{
}TG=ZVi
struts.custom.properties 'Omj-o'tn9
Location of additional configuration properties files to load )26_7.|
加载附加的配置文件的位置 :,Mg1Zf
B8NMo5a
wqAj=1M\
struts.devMode -GT&46hX
Whether Struts is in development mode or not 94xWMX2
是否为struts开发模式 i|CAN,'
WoWmmZ
struts.dispatcher.parametersWorkaround sJ7ZE-v]h
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic GI)eq:K_U8
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)
t&H3yV
lH"4"r
struts.enable.DynamicMethodInvocation PLhlbzc f
Allows one to disable dynamic method invocation from the URL Qw.j
允许动态方法调用 k/hNap'0
M{ O8iq[
struts.freemarker.manager.classname 66|$X,
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class m[D]4h9
org.apache.struts2.views.freemarker.FreemarkerManager接口名 tQIa6c4|
lR0WDJv
struts.i18n.encoding 4(TR'_X(
The encoding to use for localization messages ':DLv{R
国际化信息内码 2)(ynrCe
r;8X6C
struts.i18n.reload 3oMhsQz~z
Whether the localization messages should automatically be reloaded %OAvhutS
是否国际化信息自动加载 Qb?eA
.{4U]a;[
struts.locale M7\yEi"*
The default locale for the Struts application |6GDIoZ
默认的国际化地区信息 1[ 40\ sM
^e(*{K;8
struts.mapper.class +|zcjI'=O
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )GR4U8<>g
org.apache.struts2.dispatcher.mapper.ActionMapper接口 rA[wC%%
CC,CKb
struts.multipart.maxSize W \XLf,_+
The maximize size of a multipart request (file upload) C(}N*e1
multipart请求信息的最大尺寸(文件上传用) ZHimS7
t>JPK_b0
struts.multipart.parser H1-eMDe
The org.apache.struts2.dispatcher.multipart. y8$I=
MultiPartRequest parser implementation for a multipart request (file upload) G1G*TSf
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) J1"16Uu
$M|
Zce/&
struts.multipart.saveDir o+F<
r#
The directory to use for storing uploaded files 1`)e}p&
设置存储上传文件的目录夹 +\U#:gmw
]La~Bh6;m
struts.objectFactory 0{qe1pb w
The com.opensymphony.xwork2.ObjectFactory implementation class GEtzLaq<
com.opensymphony.xwork2.ObjectFactory接口(spring) Sd+bnq%
"g:1br?X,9
struts.objectFactory.spring.autoWire rObg:(z&\
Whether Spring should autoWire or not DE!c+s_g4
是否自动绑定Spring {8T/;K@
0$=w8tP)
struts.objectFactory.spring.useClassCache U5yBU9\G
Whether Spring should use its class cache or not bDjm:G
是否spring应该使用自身的cache 0[.T`tpN'
7~!F3WT{
struts.objectTypeDeterminer q#\4/Dt
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class PauF)p
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 X ;Cl8
;|pw;-
struts.serve.static.browserCache og`K!d~
If static content served by the Struts filter should set browser caching header properties or not d[`vd^hI
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ";;Nc>-Y
v\dP
struts.serve.static Hv-f :P O
Whether the Struts filter should serve static content or not RX?y}BDo0
是否struts过滤器应该提供静态内容 hw2Sb,bY
<