struts2的struts.properties配置文件详解 QkYKm<b
&g]s@S|%
struts.action.extension Ao\Im(?
The URL extension to use to determine if the request is meant for a Struts action I/u>Gt
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 B?4Iu)bCxI
5>hXqNjP2
struts.configuration .etG>tH
The org.apache.struts2.config.Configuration implementation class yTf/]H]d
org.apache.struts2.config.Configuration接口名 vi` VK&+r
uvi&! )x
struts.configuration.files g"\JiBb5
A list of configuration files automatically loaded by Struts H(Y 1%@
struts自动加载的一个配置文件列表 T=CJUla
-1w^z`;2h
struts.configuration.xml.reload ?U
=Mdw
Whether to reload the XML configuration or not ,o}CBB! k
是否加载xml配置(true,false) AuY*x;~
\uZ1Sl
struts.continuations.package f<y3/jl4
The package containing actions that use Rife continuations a3,A_M}M'
含有actions的完整连续的package名称 Hk$do`H-=Y
j.c{%UYj
struts.custom.i18n.resources x+v&3YF
Location of additional localization properties files to load `rV-,-r@
加载附加的国际化属性文件(不包含.properties后缀) ^?|d< J:{
U|8?$/*\
struts.custom.properties E`]un.
Location of additional configuration properties files to load 7Dw.9EQ
加载附加的配置文件的位置 2 ]n4)vv,
WA.c.{w\
t
;fJ`.
struts.devMode %AA-G
Whether Struts is in development mode or not 5Ha(i [d
是否为struts开发模式 c= aZ[
E&)o.l<h|
struts.dispatcher.parametersWorkaround m ;wj|@cF
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic V{X/y N.u
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) =Z..&H5i
H|/"'t
OZ
struts.enable.DynamicMethodInvocation }0]iS8*tL
Allows one to disable dynamic method invocation from the URL )~IOsTjI
允许动态方法调用 \Qq YH^M
>)k[085t
struts.freemarker.manager.classname ""IPaNHQ
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class /?a9g>G%N
org.apache.struts2.views.freemarker.FreemarkerManager接口名 aO2zD<d
)k]{FM
struts.i18n.encoding I1JL`\;4
The encoding to use for localization messages =L`PP>"rW
国际化信息内码 5UX- Qqr
M~)iiKw~MY
struts.i18n.reload W{1l?Wo
Whether the localization messages should automatically be reloaded 7|
`_5e
是否国际化信息自动加载 -![{Zb@
V0n8fez
b
struts.locale #TcX5
The default locale for the Struts application
yZb})4.
默认的国际化地区信息 r]Lj@0F>8
t| B<F t^
struts.mapper.class "V5_B^Gzb]
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class V7vojm4O
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]#7baZ
w:](F^<s,
struts.multipart.maxSize Q |hBGH9:B
The maximize size of a multipart request (file upload) 5@n|uJA
multipart请求信息的最大尺寸(文件上传用) Q8_5g$X\
!uA'0U?ky
struts.multipart.parser c?6(mU\x
The org.apache.struts2.dispatcher.multipart. .(s@{=
MultiPartRequest parser implementation for a multipart request (file upload) i_nUyH%b
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) fc4jbPp:M
+e#(p<
/=QsZ,~xo
struts.multipart.saveDir ?"kU+tCxg
The directory to use for storing uploaded files =@nW;PUZ
设置存储上传文件的目录夹 G0Z$p6z
@P h'!
struts.objectFactory ]qx!51S
The com.opensymphony.xwork2.ObjectFactory implementation class X?] Mzcu
com.opensymphony.xwork2.ObjectFactory接口(spring)
"#pN
iZ0(a
struts.objectFactory.spring.autoWire :Ye~I;"8
Whether Spring should autoWire or not Hi U/fi`
是否自动绑定Spring #v4^,$k>
cW?6Iao
struts.objectFactory.spring.useClassCache To-$)GQ@W
Whether Spring should use its class cache or not #IeG/t(
是否spring应该使用自身的cache \aN5:Yy
p*JP='p
struts.objectTypeDeterminer B)dd6R>8
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class mS.!lkV
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |BO5<`&I
>b~Q%{1
struts.serve.static.browserCache 7,Q7`}gBf
If static content served by the Struts filter should set browser caching header properties or not ,t|_Nc
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 MfA%Xep
V'9OGn2v
struts.serve.static j`_Z`eG
Whether the Struts filter should serve static content or not e.(RhajB
是否struts过滤器应该提供静态内容 ~8'HX*B]z
!Wy&+H*0
struts.tag.altSyntax mn(MgJKQ\
Whether to use the alterative syntax for the tags or not |=W>4>
是否可以用替代的语法替代tags [P]M)vJ**
3Qp6$m
struts.ui.templateDir c~6ywuq+M`
The directory containing UI templates {@s6ly].
UI templates的目录夹 $>Gf;k
tq*{Hil>P`
struts.ui.theme ;cb='s
The default UI template theme BJqb'Hjd
默认的UI template主题 :ra[e(l9
`g{eWY1l
struts.url.http.port y }h2
The HTTP port used by Struts URLs 7e{w,.ny!
设置http端口 2(GLc*B>
=wa5\p/
struts.url.https.port -CPLgT
The HTTPS port used by Struts URLs FH;)5GGnv
设置https端口 fQw|SW
Eb8z`@p
struts.url.includeParams GB}X
The default includeParams method to generate Struts URLs y;hco
在url中产生 默认的includeParams vVo# nzeZ5
^SS9BQ*m
^(:n a6C
struts.velocity.configfile %F<3_#Y
The Velocity configuration file path t'C9;
velocity配置文件路径 !DKl:8mx4
Y1BxRd?D
struts.velocity.contexts #QW%
;^
List of Velocity context names r?`7i'
velocity的context列表 0JhUncx
/!y3ZzL
Fd._D"
struts.velocity.manager.classname H$&P=\8n
org.apache.struts2.views.velocity.VelocityManager implementation class sB01QVx47
org.apache.struts2.views.velocity.VelocityManager接口名 QFhQfn
eXmYw^n
struts.velocity.toolboxlocation be.Kx< I
The location of the Velocity toolbox |^GN<