struts2的struts.properties配置文件详解 7[)E>XRE
1qA;/-Zr<o
struts.action.extension M= (u]%\
The URL extension to use to determine if the request is meant for a Struts action ;V!D:5U
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 MQ2}EY*A
upmx $H>
struts.configuration &D<y X~
The org.apache.struts2.config.Configuration implementation class y9ZvV0
org.apache.struts2.config.Configuration接口名 F^:3?JA_
t6c4+D'{].
struts.configuration.files gbA_DZ
A list of configuration files automatically loaded by Struts l/5
hp.
struts自动加载的一个配置文件列表 oB7_O-3z
J&_n9$
struts.configuration.xml.reload ,P0) 6>
Whether to reload the XML configuration or not 8s@3hXD&
是否加载xml配置(true,false) >t+P(*u
nw<uyaU-t
struts.continuations.package [a(#1
The package containing actions that use Rife continuations ;uGv:$([g
含有actions的完整连续的package名称
YmG("z
$`8wJf9@w
struts.custom.i18n.resources {qVZNXDn
Location of additional localization properties files to load LS[]=Mk@1
加载附加的国际化属性文件(不包含.properties后缀) h(DTa
QT}tvm@PMq
struts.custom.properties <P<z N~i9j
Location of additional configuration properties files to load 5^ Zg>I
加载附加的配置文件的位置 4xj4=C~i
V7/Rby Q
h";L
struts.devMode 53h0UL
Whether Struts is in development mode or not ca9X19NG
是否为struts开发模式 *T1_;4i
{!`6zBsP
struts.dispatcher.parametersWorkaround HzJz+ x:
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic lOp`m8_=
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8@R|Km5h
Fr-SvsNFB
struts.enable.DynamicMethodInvocation 7tp36 TE
Allows one to disable dynamic method invocation from the URL l[J8!u2Xp
允许动态方法调用 P+}h$_x
j~MI<I+l[
struts.freemarker.manager.classname WIGi51yC.x
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class rJB}qYD
org.apache.struts2.views.freemarker.FreemarkerManager接口名 9gIrt 6
6]wIG$j
struts.i18n.encoding eMzk3eOJ
The encoding to use for localization messages ar,7S&s