struts2的struts.properties配置文件详解 $9`#p/V
HV~Fe!J_
struts.action.extension T`E0_ZU;
The URL extension to use to determine if the request is meant for a Struts action 4k225~GQ:C
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4
.
7X*1
Wq4<9D
struts.configuration n<C]
6H
The org.apache.struts2.config.Configuration implementation class |,$&jSe
org.apache.struts2.config.Configuration接口名 v.|#^A?Qx
EIRDH'[L
struts.configuration.files yUnV%@.
A list of configuration files automatically loaded by Struts osXEzr(
struts自动加载的一个配置文件列表 %&6QUv^
vclc%ws
struts.configuration.xml.reload KA?}o^-F
Whether to reload the XML configuration or not m54>}
是否加载xml配置(true,false) v%:deaF
32z4G =l
struts.continuations.package 94w)Yln
The package containing actions that use Rife continuations NF&Sv
含有actions的完整连续的package名称 $eFMn$o
ID_4M_G
struts.custom.i18n.resources WK6,K92
Location of additional localization properties files to load O.+J%],
加载附加的国际化属性文件(不包含.properties后缀) ye.6tlW
5!?5S$>
struts.custom.properties 7su2A>Ix
Location of additional configuration properties files to load K%dQ;C*?
加载附加的配置文件的位置 DO(};R%=
{d.z/Buu
A&M_ J
struts.devMode %j\&}>P4$
Whether Struts is in development mode or not &\9%;k
是否为struts开发模式 4v`/~a
!MKecRG_
struts.dispatcher.parametersWorkaround ?SNacN@r
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ` Tap0V
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Ye3o}G9z
)7 & -DI1
struts.enable.DynamicMethodInvocation `-{l$Hn9|~
Allows one to disable dynamic method invocation from the URL -W9DH^EL<
允许动态方法调用 b1?^9c#0d
(c[u_~ ;
struts.freemarker.manager.classname rC!O}(4t%$
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class AAQ!8!
org.apache.struts2.views.freemarker.FreemarkerManager接口名 S=,czs3N
S
a+Y/
struts.i18n.encoding ~6;I"0b5
The encoding to use for localization messages mFTuqujO
国际化信息内码 bN/8 ~!
B{)#A?Rh.
struts.i18n.reload 8|zavH#P
Whether the localization messages should automatically be reloaded q~}oU5
是否国际化信息自动加载 JH\:9B+:L
i?!9%U!z4
struts.locale ,y]-z8J
The default locale for the Struts application p/(Z2N"
默认的国际化地区信息 a_c(7bQ
[e` |<
struts.mapper.class "|X'qKS(H{
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 6]iU-k0b
org.apache.struts2.dispatcher.mapper.ActionMapper接口 BSMb(EnqX
[
iTP:8
struts.multipart.maxSize =Q<VU/
The maximize size of a multipart request (file upload) G{[w+ObX
multipart请求信息的最大尺寸(文件上传用) ]t)N3n6Bc
c?CD;Pk
struts.multipart.parser *1EmK.-'u
The org.apache.struts2.dispatcher.multipart. |^-D&C(Eu
MultiPartRequest parser implementation for a multipart request (file upload) hM]Z T5;<
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b3%x&H<j
/ ]8e[t>!f
^mq(j_E.
struts.multipart.saveDir lPZ>#
The directory to use for storing uploaded files 0 8)f
设置存储上传文件的目录夹 <<LLEdB
_+48(QF<