struts2的struts.properties配置文件详解 T0RgCU
IV
1p9f& w
struts.action.extension )kgy L,9
The URL extension to use to determine if the request is meant for a Struts action ~&4,w9b)j
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 it>FG9hVo
zYSXG-k
struts.configuration haa[ob6T
The org.apache.struts2.config.Configuration implementation class Vv=d*
org.apache.struts2.config.Configuration接口名 ?~S\^4]
o&LNtl;
struts.configuration.files xb_35'$M
A list of configuration files automatically loaded by Struts FJ>| l#nO
struts自动加载的一个配置文件列表 +5);"71
;Cyt2]F
struts.configuration.xml.reload w>VM--
Whether to reload the XML configuration or not -oe&1RrdVg
是否加载xml配置(true,false)
D[]vJ
oOe5IczS(
struts.continuations.package {My/+{eS!?
The package containing actions that use Rife continuations %t%+;(M9
含有actions的完整连续的package名称
b9w9M&?fT
D
7H$!(F>
struts.custom.i18n.resources Ty#L%k}-t
Location of additional localization properties files to load Q} f=Ye(&}
加载附加的国际化属性文件(不包含.properties后缀) kfA%%A
N9:xtrJ]_J
struts.custom.properties jt-ayLq
Location of additional configuration properties files to load WGVvBX7#
加载附加的配置文件的位置 "2 qp-'^[c
3=5+NJ'8
`<Zp!Hl(j
struts.devMode ]eP&r?B
Whether Struts is in development mode or not MF]s(7U4`
是否为struts开发模式 ](-:l6
bv$)^
struts.dispatcher.parametersWorkaround $N5}N\C:a
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic V!3O
1
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 01#a
=?T'@C
struts.enable.DynamicMethodInvocation @;d(>_n
Allows one to disable dynamic method invocation from the URL [Fr.ik
允许动态方法调用 LYavth`@h
Eh0R0;l5>
struts.freemarker.manager.classname OES+BXGX
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class i>q]U:U
org.apache.struts2.views.freemarker.FreemarkerManager接口名 g;eMsoJG
{o5E#<)
struts.i18n.encoding Ck(D:
% ~s
The encoding to use for localization messages !lL21C6g+
国际化信息内码 E@P8-x'i
-5d8j<,
struts.i18n.reload d^WVWk K
Whether the localization messages should automatically be reloaded zn>*^h0B
是否国际化信息自动加载 Ry[VEn>C1
0D:J d6\
struts.locale 86@"BNnTh
The default locale for the Struts application g5X+iV
默认的国际化地区信息 O\B_=KWDO
;wgm
'jr
struts.mapper.class I6'U[)%
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class gn#4az3@e>
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^0A'XCULG
mTYEK4}
struts.multipart.maxSize r/+<_3
The maximize size of a multipart request (file upload)
JTQ$p*2]
multipart请求信息的最大尺寸(文件上传用) KDwjck"5;
8GV$L~i
struts.multipart.parser zpiqJEf|'"
The org.apache.struts2.dispatcher.multipart. &T}~h^/t
MultiPartRequest parser implementation for a multipart request (file upload) avykg(
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) !YsLx[+
O,]t. 1V
q%"]}@a0
struts.multipart.saveDir Q pAK]
The directory to use for storing uploaded files kOx2P(UAEx
设置存储上传文件的目录夹 ZVVK:dDgt
]f-< s,@
struts.objectFactory =MRg
The com.opensymphony.xwork2.ObjectFactory implementation class W !2(Ph*
com.opensymphony.xwork2.ObjectFactory接口(spring) 9] Uvy|
t!AHTtI
struts.objectFactory.spring.autoWire P[?~KNS:/
Whether Spring should autoWire or not W(1p0|WQ:
是否自动绑定Spring )#9/vIQ
\zR{D}aS
struts.objectFactory.spring.useClassCache #ZRQVC; b;
Whether Spring should use its class cache or not QOcB ]G
是否spring应该使用自身的cache Y)g7
E"
ePa1 @dI
struts.objectTypeDeterminer =Qp~@k=2
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class | ?~-k[|
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |Ah26<&