struts2的struts.properties配置文件详解 knK=ENf;e
(B/F6
X;o.
struts.action.extension %"KWjwp
The URL extension to use to determine if the request is meant for a Struts action ]MA)='~
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 z#E,96R
em9]WSfZ@`
struts.configuration C^42=?
The org.apache.struts2.config.Configuration implementation class (b2^d
org.apache.struts2.config.Configuration接口名 VU'l~%ql
k&"qdB(I
struts.configuration.files .
;@)5"
A list of configuration files automatically loaded by Struts fm:{&(
struts自动加载的一个配置文件列表 6exlb:
uy-Ncy
struts.configuration.xml.reload O>F.Wf5g
Whether to reload the XML configuration or not |b;M5w?
是否加载xml配置(true,false) z` ?xS
6=lQT
9u{
struts.continuations.package .6/p4OR|
The package containing actions that use Rife continuations b!HFv;^N
含有actions的完整连续的package名称 z4fK{S
7<Js'\Z
struts.custom.i18n.resources Pk]9.e1_
Location of additional localization properties files to load !<PTsk F
加载附加的国际化属性文件(不包含.properties后缀) ~t3?er& R
!skWe~/
struts.custom.properties ^t%M
Location of additional configuration properties files to load g(r'Y#U
加载附加的配置文件的位置 \*"0wR;[K
KIY_EE$?
I%|s
struts.devMode z}N^`_ *
Whether Struts is in development mode or not |w]i$`3'I
是否为struts开发模式 1;[
<||K
VzM@DM]= ~
struts.dispatcher.parametersWorkaround ] "vdC}
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic g#3x)97Z
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^a 5~FI:
cW/~4.v$
struts.enable.DynamicMethodInvocation CMjPp`rA
Allows one to disable dynamic method invocation from the URL ywtDz8!^u
允许动态方法调用 oqo8{hrdHk
=|zLr"
struts.freemarker.manager.classname W]7?;#Hpk
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class g8@HAV^H
org.apache.struts2.views.freemarker.FreemarkerManager接口名 {73DnC~N
2p.+C35c=j
struts.i18n.encoding 8(K~QvE~
The encoding to use for localization messages r~a}B.pj
国际化信息内码 Qn cS&
T js{
)r9
struts.i18n.reload SygsZv&LZ
Whether the localization messages should automatically be reloaded ~2;y4%K
是否国际化信息自动加载 [o6<aE-
hrxASAfg6
struts.locale udr'~,R
The default locale for the Struts application <