struts2的struts.properties配置文件详解 z)}!e,7
j (ygQ4T
struts.action.extension b7Oj<!Wo`
The URL extension to use to determine if the request is meant for a Struts action w2OsLi Sv
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Od{jt7 <j#
u,o1{%O
struts.configuration _ie.| 4k
The org.apache.struts2.config.Configuration implementation class I9&lO/c0
org.apache.struts2.config.Configuration接口名 dJi|D
E^wyD-ii/
struts.configuration.files '#D8*OP^
A list of configuration files automatically loaded by Struts Svw<XJ
struts自动加载的一个配置文件列表 6G of.:"f
TSjIz5
struts.configuration.xml.reload g
jxS
Whether to reload the XML configuration or not :q
(&$
是否加载xml配置(true,false) ',)7GY/n~
g^l RG3a
struts.continuations.package %;|0
The package containing actions that use Rife continuations d1]i,C~Y
含有actions的完整连续的package名称 S^N{wZo
zvO:"w}
struts.custom.i18n.resources P:k+ y$
Location of additional localization properties files to load &= eYr{
加载附加的国际化属性文件(不包含.properties后缀) `PlOwj@u0`
{^m Kvc
struts.custom.properties ER^QV(IvP8
Location of additional configuration properties files to load xu\eX x6H
加载附加的配置文件的位置 n]y EdL/1
x2W#ROfg
cWa)#:JOV
struts.devMode U>F{?PReA?
Whether Struts is in development mode or not 9v?l
是否为struts开发模式 K_ke2{4Jm
UyiJU~r1
struts.dispatcher.parametersWorkaround g"K>5Cb
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0.Vi97`
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3FNT|QF
=Op+v"
struts.enable.DynamicMethodInvocation (D7$$!}
Allows one to disable dynamic method invocation from the URL _<*Hv*Zm
允许动态方法调用 )`+YCCa6F
uMmXs%9T
struts.freemarker.manager.classname JOD/Raq.1k
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 57Z-
org.apache.struts2.views.freemarker.FreemarkerManager接口名 h`Tz5% n
RMP9y$~3pU
struts.i18n.encoding :]WqfR)#
The encoding to use for localization messages 0*F}o)n/m
国际化信息内码 sKL:p3r
R_N:#K.M
struts.i18n.reload )Gk`[*q ;
Whether the localization messages should automatically be reloaded s_Wyh
!@M
是否国际化信息自动加载 F9flSeN
wtH~-xSB|
struts.locale "G?Yrh
The default locale for the Struts application d
6t:hn
默认的国际化地区信息 )uheV,ZnY
}}r>
K}
struts.mapper.class +TJEG?o
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class igC_)C^i>
org.apache.struts2.dispatcher.mapper.ActionMapper接口 c#cx>wq9
EWjgI_-
struts.multipart.maxSize rwf^,r"r
The maximize size of a multipart request (file upload) 6b=q-0yj
multipart请求信息的最大尺寸(文件上传用) Z?G&.# :
Vba.uKNjk
struts.multipart.parser RU#F8O
The org.apache.struts2.dispatcher.multipart. 1/Zh^foG
MultiPartRequest parser implementation for a multipart request (file upload) se9>.}zZN
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Log|%P\
S\#1 7.=
iG<Som
struts.multipart.saveDir v)X\GmW7w
The directory to use for storing uploaded files W+=o&V
设置存储上传文件的目录夹 q(IQa@$SR
H/fUM
struts.objectFactory ?cy4&]s
The com.opensymphony.xwork2.ObjectFactory implementation class y 1\'(1
com.opensymphony.xwork2.ObjectFactory接口(spring) &
E}mX]t
=^;P#kX
struts.objectFactory.spring.autoWire `[fxyg:u
Whether Spring should autoWire or not +-$Ko fnM
是否自动绑定Spring 7h9U{4r: M
19UN*g3(
struts.objectFactory.spring.useClassCache u bW]-U=T
Whether Spring should use its class cache or not \jU |(DE
是否spring应该使用自身的cache $XnPwOj
>3.X?
struts.objectTypeDeterminer Zjh2{ :
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [wnDHy6W
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,5Vt]#F5@
f 2YLk
struts.serve.static.browserCache ;2xO`[#
If static content served by the Struts filter should set browser caching header properties or not c1XX~8
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 f!_
ctp
5*-3?
<)e
struts.serve.static 7^6uG6
Whether the Struts filter should serve static content or not K9Hqq7"%
是否struts过滤器应该提供静态内容 sW@krBxMv
6<76H
struts.tag.altSyntax ~NcQ1.
Whether to use the alterative syntax for the tags or not @.C{OSHE
是否可以用替代的语法替代tags r' Z3
/RnTQ4
struts.ui.templateDir X6e/g{S)
The directory containing UI templates }hpmO-
UI templates的目录夹 yV_wDeAz
A!i q->+
struts.ui.theme kFLB> j97
The default UI template theme GX{XdJD
默认的UI template主题 Fr2N[\>s
K4ZolWbU
struts.url.http.port |I;$M;'r&
The HTTP port used by Struts URLs J @IS\9O
设置http端口 qQ]]~F
]; $] G-
struts.url.https.port C#0Qd%
The HTTPS port used by Struts URLs Ah69
_>N`S
设置https端口 xg@NQI@7
),}AI/j;zY
struts.url.includeParams rVnd0K
The default includeParams method to generate Struts URLs yR5XJ;Tct
在url中产生 默认的includeParams ne}+E
oXsL9,
E0n6$5Uc?
struts.velocity.configfile b\7iY&.C|
The Velocity configuration file path $FTO
velocity配置文件路径 0#o/ ^Ah
k(VB+k"3
struts.velocity.contexts ,5
j"ruZ
List of Velocity context names Q,T"Zd Q
velocity的context列表 O`1!
w4,Ag{t>
o`S?
struts.velocity.manager.classname OWq'[T4
org.apache.struts2.views.velocity.VelocityManager implementation class 1 T<+d5[C
org.apache.struts2.views.velocity.VelocityManager接口名 bPKOw<
y]
oaO+
struts.velocity.toolboxlocation aW_oD[l
The location of the Velocity toolbox PUJ2`iP1^3
velocity工具盒的位置 hB;VCg8
struts.xslt.nocache |KI UgI
Whether or not XSLT templates should not be cached 4bVO9aUG{
是否XSLT模版应该被缓存 !%(h2]MQ