struts2的struts.properties配置文件详解
ZI>km?w
V*[b}Xew
struts.action.extension \3YO<E!t
The URL extension to use to determine if the request is meant for a Struts action (g!p>m!Z
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 UK[v6".^h
J5M+FwZq
struts.configuration ?\=/$Gt
The org.apache.struts2.config.Configuration implementation class `CE^2
org.apache.struts2.config.Configuration接口名 J>vMo@
<'U]`Lp
struts.configuration.files Qx3eLfm
A list of configuration files automatically loaded by Struts \%jVg\4'
struts自动加载的一个配置文件列表 ,\)a_@@k
+>f<EPGn
struts.configuration.xml.reload Q9F)
Whether to reload the XML configuration or not W&Y"K)`
是否加载xml配置(true,false) VyLH"cCv
eDKxn8+(H
struts.continuations.package D@ek9ARAq
The package containing actions that use Rife continuations I27,mS+]
含有actions的完整连续的package名称 F=a+z/xKT
&dB-r&4;+
struts.custom.i18n.resources %q3$|>
Location of additional localization properties files to load !RvRGRSyF
加载附加的国际化属性文件(不包含.properties后缀) lEjwgk {
Pt,ebL~
struts.custom.properties CB\{!
Location of additional configuration properties files to load z`@^5_
加载附加的配置文件的位置 7E$&2U^Js
iP@6hG`:
pL1i|O
struts.devMode hf6f.Z
Whether Struts is in development mode or not )$%Z:
是否为struts开发模式 $D1w5o-
RBKOM$7
struts.dispatcher.parametersWorkaround :*514N
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]jMKC8uz
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~EiH-z4U
Nh?|RE0t
struts.enable.DynamicMethodInvocation IIFMYl gF
Allows one to disable dynamic method invocation from the URL 2!1.E5.I
允许动态方法调用 JtKp(k&
<i?a0
struts.freemarker.manager.classname ^Mkk@F&1
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `TqSQg_l
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Qq& W3
w0m^ &,;#
struts.i18n.encoding @exey
The encoding to use for localization messages oih5B<&f#
国际化信息内码 dIweg=x
t:~t@4j}
struts.i18n.reload TA18 gq
Whether the localization messages should automatically be reloaded LwqC~N
是否国际化信息自动加载 -;(Q1)&
=HDI \LD<
struts.locale q Dd~2"er
The default locale for the Struts application }Nj97R
默认的国际化地区信息 j1$8#/r;c
>c8GW
>\N
struts.mapper.class |`k
.y]9
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <E|s\u
org.apache.struts2.dispatcher.mapper.ActionMapper接口 <Q< AwP
vYmSKS
struts.multipart.maxSize -F/st
The maximize size of a multipart request (file upload) BcWcdr+}9
multipart请求信息的最大尺寸(文件上传用) `bI)<B
`1` f*d
v
struts.multipart.parser <Cpp?DW_
The org.apache.struts2.dispatcher.multipart. rt7<Q47QE
MultiPartRequest parser implementation for a multipart request (file upload) Z [Xa%~5>5
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `NRH9l>B7
`m@U!X
: 9!%ZD
struts.multipart.saveDir UM%o\BiO
The directory to use for storing uploaded files FjfN3#qlg
设置存储上传文件的目录夹 9W7#u}Z
j|fd-<ng
struts.objectFactory le)DgIT>=
The com.opensymphony.xwork2.ObjectFactory implementation class y7\"[<E`(V
com.opensymphony.xwork2.ObjectFactory接口(spring) .Ce8L&