struts2的struts.properties配置文件详解 8UIL_nPO
4I-p/&Q
struts.action.extension //Gvk|O1
The URL extension to use to determine if the request is meant for a Struts action O i0;.<kX
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 JY2
F-0t)
j''Iai_
struts.configuration aAri
The org.apache.struts2.config.Configuration implementation class "Y!dn|3
org.apache.struts2.config.Configuration接口名 4l''/$P
YBD {l
struts.configuration.files AD\<}/3U
A list of configuration files automatically loaded by Struts L:M9|/
struts自动加载的一个配置文件列表 V,+[XB
tFaE cP
struts.configuration.xml.reload .( h$@|Y
Whether to reload the XML configuration or not {^W,e ^:
是否加载xml配置(true,false) [kOA+\v
x+cF1N2.
struts.continuations.package H/k W
:k
The package containing actions that use Rife continuations `z_7[$\~
含有actions的完整连续的package名称 &HK s >
LJwM M
struts.custom.i18n.resources QYgN39gp
Location of additional localization properties files to load 9|?Lz
加载附加的国际化属性文件(不包含.properties后缀) tb0E?&M
|{)xC=
struts.custom.properties nb_^3K]r
Location of additional configuration properties files to load 1N!g`=}
加载附加的配置文件的位置 kI3zYD^:
Tr0V6TS7
k|3(dXLG
struts.devMode <aaDW
Whether Struts is in development mode or not mRH]'dlD7
是否为struts开发模式 WKl'
EQJ_$6
struts.dispatcher.parametersWorkaround 0; v~5|r
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5ek%d
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !t
Oky
g&3#22z
struts.enable.DynamicMethodInvocation uq4sbkP
Allows one to disable dynamic method invocation from the URL dB+GTq=6f
允许动态方法调用 7NB 9Vu|gD
1MI7l)D?
struts.freemarker.manager.classname I'9s=~VfY,
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +M##mRD
org.apache.struts2.views.freemarker.FreemarkerManager接口名 A dEbyL
@JEmybu
struts.i18n.encoding CQHp4_
The encoding to use for localization messages @CU|3Qg
国际化信息内码 4spaw?j
=)- Q?1q
struts.i18n.reload $O e 58
Whether the localization messages should automatically be reloaded %s2"W~
是否国际化信息自动加载 @xm~T|[7
g#bu_E61B
struts.locale X$ B]P7G7
The default locale for the Struts application G;HlII9x[
默认的国际化地区信息 2c~?UK[1
^i+z_%V
struts.mapper.class zI&4k..4
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class zQ5jx5B":
org.apache.struts2.dispatcher.mapper.ActionMapper接口 C^" Hj
O)xEF~DaD
struts.multipart.maxSize |SP.S 0.y
The maximize size of a multipart request (file upload) tnF9Vj[#%_
multipart请求信息的最大尺寸(文件上传用) mvA xx`jc
?4>y2!OC9
struts.multipart.parser Bdq"6SK>
The org.apache.struts2.dispatcher.multipart. Flujwh@rg
MultiPartRequest parser implementation for a multipart request (file upload) k,R~oSA'n
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) z3Y)-
id tQXwa
te*Y]-&I|/
struts.multipart.saveDir )~.&bEm\
The directory to use for storing uploaded files W,/C?qFp
设置存储上传文件的目录夹 {,f!'i&b@
:.S41S
struts.objectFactory \+Rwm:lI
The com.opensymphony.xwork2.ObjectFactory implementation class aY[ 0A_
com.opensymphony.xwork2.ObjectFactory接口(spring) :gD0EqV
k<'vP{
struts.objectFactory.spring.autoWire /GuSIZg"_
Whether Spring should autoWire or not 5d?!<(e6
是否自动绑定Spring JNFT6T)T15
TFC!u0Y"$
struts.objectFactory.spring.useClassCache nG^M 2)(8
Whether Spring should use its class cache or not 2b4pOM7W
是否spring应该使用自身的cache J7?)$,ij%
C*s0r;
struts.objectTypeDeterminer rF'^w56
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class LbV]JP
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %V %#y $l
JQ@`EV9,
struts.serve.static.browserCache 9<A\npD
If static content served by the Struts filter should set browser caching header properties or not v!#`W
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 B!r48<p
pl#o!j( i
struts.serve.static ^wO_b'@v
Whether the Struts filter should serve static content or not PF'5z#] NP
是否struts过滤器应该提供静态内容 1&% d
Y!a+#N!
struts.tag.altSyntax eY4`k
Whether to use the alterative syntax for the tags or not SfZ=%6b7
是否可以用替代的语法替代tags !HR2Rf l
38U5^`
struts.ui.templateDir 2u~c/JryN
The directory containing UI templates Xrj(,|
UI templates的目录夹 |.8d,!5w}
kg?T$}O
struts.ui.theme }r~v,KDb
The default UI template theme ll(e,9.D
默认的UI template主题 mF*?e/
A )RI:?+
struts.url.http.port 6t_ 3%{
The HTTP port used by Struts URLs DYAwQ"i;6
设置http端口 uq|vNLW26
Lov.E3S6;
struts.url.https.port %89"A'g
The HTTPS port used by Struts URLs P )t]bS
设置https端口 $&= 4.7Yt
EFRZ% Y
struts.url.includeParams Th~3mf
#
The default includeParams method to generate Struts URLs -Ap2NpZ"t
在url中产生 默认的includeParams ^fE\ S5P
@jE d%W
}
T/}0W]0
struts.velocity.configfile (RDa,&
The Velocity configuration file path rysP)e
velocity配置文件路径 )e|$K=
D
k+WO &g*|
struts.velocity.contexts *#Lsjk~_-
List of Velocity context names G>=9gSLM
velocity的context列表 c
YM CfP
v7o?GQ75
I
9{40_
struts.velocity.manager.classname *`+<x
org.apache.struts2.views.velocity.VelocityManager implementation class L876$
org.apache.struts2.views.velocity.VelocityManager接口名 $ ]W[y=
LsJs Q
h
struts.velocity.toolboxlocation d`?U!?Si
The location of the Velocity toolbox YW?7*go'Z
velocity工具盒的位置 `W"a!,s2
struts.xslt.nocache K2x6R
Whether or not XSLT templates should not be cached d,Cz-.'sOf
是否XSLT模版应该被缓存 0a2$P+p