struts2的struts.properties配置文件详解 +F%tBUY{<
0LSJQ9\p
struts.action.extension `I4E':
ZG
The URL extension to use to determine if the request is meant for a Struts action F~hH>BH9
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 pSEaE9AX%
kY6_n4
struts.configuration 'cAS>s"$}V
The org.apache.struts2.config.Configuration implementation class ;j[:tt\k
org.apache.struts2.config.Configuration接口名 9'e<{mlM
=zDvZ(5
struts.configuration.files ):nC%0V
A list of configuration files automatically loaded by Struts (_+ux1h6^
struts自动加载的一个配置文件列表 R3LIN-g(
:zvAlt'q=
struts.configuration.xml.reload fC[~X[H
Whether to reload the XML configuration or not )O$S3ojZ
是否加载xml配置(true,false) tA,J~|+f:
M _lLP8W}
struts.continuations.package JiuA"ks)
The package containing actions that use Rife continuations U.b|3E/^
含有actions的完整连续的package名称 Y7 K2@257
k7L4~W
struts.custom.i18n.resources R~|(]#com
Location of additional localization properties files to load ${}9/(x/^
加载附加的国际化属性文件(不包含.properties后缀) 2- (}=N
~O!E &~
struts.custom.properties -v|lM8
Location of additional configuration properties files to load k,; (`L
加载附加的配置文件的位置 PnB2a'(^@?
<OJqeUo+*\
$!_} d
struts.devMode yD`pUE$
Whether Struts is in development mode or not NS TO\36
是否为struts开发模式 AxF$7J(
Ul'H(eH.v
struts.dispatcher.parametersWorkaround 1mR@Bh
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 52,'8`
]
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6D`.v@
-^;,m=4{3
struts.enable.DynamicMethodInvocation
U z[#ye
Allows one to disable dynamic method invocation from the URL y@7CY-1
允许动态方法调用 OsVz[w N
9C7HL;MF
struts.freemarker.manager.classname F g'{K%t4
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class g[~J107%A
org.apache.struts2.views.freemarker.FreemarkerManager接口名 h0$ \JXk
Nez '1
struts.i18n.encoding x{GFCy7
The encoding to use for localization messages so| U&`G
国际化信息内码 =<zlg~i
-mo4`F
struts.i18n.reload \%%M >4c
Whether the localization messages should automatically be reloaded 8<KC-|y.
是否国际化信息自动加载 Ol>/^3a=
\5=4!Ez
struts.locale |}/KueZ
The default locale for the Struts application Qw|y%Td8r
默认的国际化地区信息 hstGe>f[6
r>PKl'IbE
struts.mapper.class )KkV<