struts2的struts.properties配置文件详解 G~wF nl%
/ahNnCtu?1
struts.action.extension >r)X:K+I
The URL extension to use to determine if the request is meant for a Struts action QC0!p"
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Fl{WAg
'4OcZ/oI
struts.configuration B/J&l
The org.apache.struts2.config.Configuration implementation class b@t5`Y-+K
org.apache.struts2.config.Configuration接口名 IN7<@OS7
xU
S]P)R
struts.configuration.files (X +s-4%
A list of configuration files automatically loaded by Struts m,>
struts自动加载的一个配置文件列表 m7=1%6FN3
#FYAV%pi
struts.configuration.xml.reload L{ho*^b
Whether to reload the XML configuration or not j2M+]Zp.
是否加载xml配置(true,false) 2X88:
zTo8OPr
struts.continuations.package ~u&|G$1!0
The package containing actions that use Rife continuations W~ULc9
含有actions的完整连续的package名称 -$<O\5cAQ
~|Z'l%<Os
struts.custom.i18n.resources s?3i)Ymr
Location of additional localization properties files to load !umEyd@ "
加载附加的国际化属性文件(不包含.properties后缀) G{x[uE2X&f
[9mL $;M
W
struts.custom.properties @!Hr|k|
Location of additional configuration properties files to load }:z5t,u6
加载附加的配置文件的位置 h:/1X'
3d
i2J q|9,g
,>LRa
struts.devMode (0Naf
Whether Struts is in development mode or not J?n<ydZSH
是否为struts开发模式 OQ4c#V?
-Dzsa
struts.dispatcher.parametersWorkaround C+K=[
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Vv*NFJ |
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) T~gW3J
*~z#.63oZ
struts.enable.DynamicMethodInvocation DB`QsiC)
Allows one to disable dynamic method invocation from the URL 7ODaX.t->
允许动态方法调用 -DO&