struts2的struts.properties配置文件详解 ++Ww88820
wJlX4cT4YV
struts.action.extension pN&c(=If
The URL extension to use to determine if the request is meant for a Struts action m~'? /!!
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 NS C/@._
J# kl
7
struts.configuration n& $^04+i
The org.apache.struts2.config.Configuration implementation class 9GdB#k6W`
org.apache.struts2.config.Configuration接口名 3u33a"nL8
8by@iQ
struts.configuration.files Y$-3v.
A list of configuration files automatically loaded by Struts 9,]5v+
struts自动加载的一个配置文件列表 ?tg
y|
*XWq?hi
struts.configuration.xml.reload \VSATL:]
Whether to reload the XML configuration or not >b.^kc
是否加载xml配置(true,false) /b;K
4eH.9t
struts.continuations.package ai*b:Q
The package containing actions that use Rife continuations Z"s|]K "
含有actions的完整连续的package名称 nmjm<Bu
8I,QD`
xu
struts.custom.i18n.resources (3dPLp:K
Location of additional localization properties files to load m%#`y\]I
加载附加的国际化属性文件(不包含.properties后缀)
d^|0R
\/|)HElKR
struts.custom.properties Yct5V,X^
Location of additional configuration properties files to load 0qFH
s
加载附加的配置文件的位置 MEiRj]t
j6ut}Uq
B%\g kl
struts.devMode 4Tct
Whether Struts is in development mode or not V|MY!uV
是否为struts开发模式 ZlKw_Sq:
W9zE{)Sc~
struts.dispatcher.parametersWorkaround iK_c.b
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic MK}-<&v
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) NV r0M?`4
+{53a_q
struts.enable.DynamicMethodInvocation "gW7<ilw
Allows one to disable dynamic method invocation from the URL
8%RI7Mg
允许动态方法调用 D,ly#Nn
-p-0;Hy
struts.freemarker.manager.classname ->lu#;A5
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class H
g5++.Bp
org.apache.struts2.views.freemarker.FreemarkerManager接口名 %}>dqUyQ
/Y^8SO4
struts.i18n.encoding |vFj*XU
The encoding to use for localization messages }vt%R.u
国际化信息内码 v0l_w
$WW)bP
d4^
struts.i18n.reload lnbmo Hv
Whether the localization messages should automatically be reloaded N6Z{BLZ
是否国际化信息自动加载 ]|:uU
=GR'V
struts.locale Dmdy=&G
The default locale for the Struts application ;2giZ\
默认的国际化地区信息 f*xpE`&
7 boJ*
struts.mapper.class kVDe6},D7
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %|XE#hw
org.apache.struts2.dispatcher.mapper.ActionMapper接口 dv
N<5~
;9uRO*H?T
struts.multipart.maxSize ~=y3Gd
B3
The maximize size of a multipart request (file upload) o!&WsD
multipart请求信息的最大尺寸(文件上传用) }lZ>
8rbG*6
struts.multipart.parser 2}t&iG|0/
The org.apache.struts2.dispatcher.multipart. gd^Js1Z
MultiPartRequest parser implementation for a multipart request (file upload) _ :^7a3I
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) w36(p{#vp
w>~M}Ahj
D!TZI
struts.multipart.saveDir l*7?Y7FK
The directory to use for storing uploaded files +'03>!V
设置存储上传文件的目录夹 J7i+c];!<
g.Hio.fVd
struts.objectFactory :wgfW .w
The com.opensymphony.xwork2.ObjectFactory implementation class tjv\)Nn'
com.opensymphony.xwork2.ObjectFactory接口(spring) Q* O<@
QYThW7S
struts.objectFactory.spring.autoWire ~S(^T9R
Whether Spring should autoWire or not mgkyC5)d
是否自动绑定Spring V{Q kN7-
NyPd5m:
struts.objectFactory.spring.useClassCache %c6E-4b
Whether Spring should use its class cache or not "<l<&
qp
是否spring应该使用自身的cache G5'_a$
]7qiUdxt:
struts.objectTypeDeterminer fUcLfnr
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class d34Y'r
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 et$uP
qSiWnN8D
t
struts.serve.static.browserCache =ak7ldA=2
If static content served by the Struts filter should set browser caching header properties or not &/ouW'oP
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 >xd<YwXZ
[N|xzMe
struts.serve.static jQtSwVDr
Whether the Struts filter should serve static content or not XizPM N5a
是否struts过滤器应该提供静态内容 J4yt N3
VO`"<
struts.tag.altSyntax fA8ozL T
Whether to use the alterative syntax for the tags or not ^,7=X8Su
是否可以用替代的语法替代tags MD'>jO;n
lfS;?~W0k
struts.ui.templateDir ?q%b*Ek
The directory containing UI templates ^g!B.ll`
UI templates的目录夹 <TjBd1
5N1 K~".
struts.ui.theme ]*ov&{'
The default UI template theme cgyo_
k
默认的UI template主题 c#\-%h
|NEd@
struts.url.http.port F";FG 0
The HTTP port used by Struts URLs $pFk"]=
设置http端口 g@E&uyM
oBw}hH,hp
struts.url.https.port ]P*!'iYN(
The HTTPS port used by Struts URLs "=A|K~b
设置https端口 sx-F8:Qa
c)3O/`
struts.url.includeParams %c1FwAC
The default includeParams method to generate Struts URLs z~.9@[LG]
在url中产生 默认的includeParams 5<N~3
1z
37KU~9-A
T}2:.Hk:N
struts.velocity.configfile ; J2-rh
The Velocity configuration file path lO&cCV;
velocity配置文件路径 eU~?p|Np
ve%l({
struts.velocity.contexts X>/K/M
List of Velocity context names &"AQ;%&N
velocity的context列表 L<)Z> @fR
0P9Wy!f7
VR v02m5
struts.velocity.manager.classname AM?Ec1S
#a
org.apache.struts2.views.velocity.VelocityManager implementation class KW>VOW<.
org.apache.struts2.views.velocity.VelocityManager接口名 "%kGRHq
6S_y%8Fv&[
struts.velocity.toolboxlocation 0UD"^zgY
The location of the Velocity toolbox r|bPR!0
velocity工具盒的位置 6UI>GQ
struts.xslt.nocache B"[{]GP BY
Whether or not XSLT templates should not be cached oeGS
是否XSLT模版应该被缓存 Bbs5f@E