struts2的struts.properties配置文件详解 =#;3Q~:Jl^
FtpK)9/4
struts.action.extension MV5 _L3M
The URL extension to use to determine if the request is meant for a Struts action J=\HO8E6>
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 5&QJ7B,!
?qP7Y nl
struts.configuration C_(
*>!Z%
The org.apache.struts2.config.Configuration implementation class caU0\VS
org.apache.struts2.config.Configuration接口名 $|L
Sx
ynq}76 H0k
struts.configuration.files )Q=_0;#;k
A list of configuration files automatically loaded by Struts >tYm+coS
struts自动加载的一个配置文件列表 .8@$\ZRP
(jnQ
-
struts.configuration.xml.reload D[4u+g?[}>
Whether to reload the XML configuration or not bn#"?6Z2
是否加载xml配置(true,false) Bn^0^J-
TITKj?*o
struts.continuations.package 3_ r*y9l
The package containing actions that use Rife continuations Hkk/xNP
含有actions的完整连续的package名称 ?Y$JWEPJ
uW=k K0E
struts.custom.i18n.resources o
m^0}$V
Location of additional localization properties files to load ]3x?
加载附加的国际化属性文件(不包含.properties后缀) \9cbI3rGz
HguT"%iv
struts.custom.properties ]_Vx{oT7
Location of additional configuration properties files to load hW%TM3l}
加载附加的配置文件的位置 t#V!8EpBg
y<?kzt
0g
+7uGp:
struts.devMode l}a)ZeR1
Whether Struts is in development mode or not AS!?q
是否为struts开发模式 n4s+>|\M
];VA!++
struts.dispatcher.parametersWorkaround Q!o'}nA
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic -C;^3R[
O
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Z
8S\@I
?h3Y)5x T
struts.enable.DynamicMethodInvocation ],>@";9u"
Allows one to disable dynamic method invocation from the URL ?~l6K(*2
允许动态方法调用 q['Euy
J28M@cn
struts.freemarker.manager.classname Tre]"2l
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class SbND
Y{5RO
org.apache.struts2.views.freemarker.FreemarkerManager接口名 !F*5M1Kjd
7TgOK
struts.i18n.encoding \MsTB|Z
The encoding to use for localization messages GD&uQ`Y5
国际化信息内码 .!Qki@
Za/-i"U
struts.i18n.reload /@wg>&L]
Whether the localization messages should automatically be reloaded bENdMH";
是否国际化信息自动加载 bZ?v-fn\D,
$I!XSz"/e
struts.locale _ q(ko/T
The default locale for the Struts application 61Bwb]\f/|
默认的国际化地区信息 }d[ kxo
&SIq2>Q A
struts.mapper.class dV*]f$wQ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class +dWDxguE{w
org.apache.struts2.dispatcher.mapper.ActionMapper接口 |!1Y*|Q%s
(jnzT=y
struts.multipart.maxSize
[/PR\'|
The maximize size of a multipart request (file upload) F<ZYh
multipart请求信息的最大尺寸(文件上传用) =qoWCmg"&
ls?~+\Jb
struts.multipart.parser uX"H4lO~
The org.apache.struts2.dispatcher.multipart. bh s5x
MultiPartRequest parser implementation for a multipart request (file upload) dWM'fg
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *!4Z#Y
rK@8/?y5
i#&z2h-b
struts.multipart.saveDir >] qc-{>&
The directory to use for storing uploaded files &)YQv Tzs
设置存储上传文件的目录夹 O#n8=B4
Hta y-PB }
struts.objectFactory jk"`Z<j~
The com.opensymphony.xwork2.ObjectFactory implementation class 45=bGf#
com.opensymphony.xwork2.ObjectFactory接口(spring) r [9x
dl.N.P7}4
struts.objectFactory.spring.autoWire dah[:rP,n{
Whether Spring should autoWire or not mH54ja2
是否自动绑定Spring teOe#*
-<c=US
struts.objectFactory.spring.useClassCache jTf@l?|
Whether Spring should use its class cache or not u~r=)His
是否spring应该使用自身的cache K#l:wH_
@+;$jRwq
struts.objectTypeDeterminer @v$Y7mw3D
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class
bo<~jb{
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 `Y+J-EQ
o=u3&liBi
struts.serve.static.browserCache ~{*7"o/
If static content served by the Struts filter should set browser caching header properties or not ^aIPN5CK
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =Ee&da^MB
~{?_p@&n
struts.serve.static /Y*WBTV'
Whether the Struts filter should serve static content or not ]fm'ZY&
是否struts过滤器应该提供静态内容 4]rnY~
pny11C
struts.tag.altSyntax _geWE0
E
Whether to use the alterative syntax for the tags or not #m lS}~n
是否可以用替代的语法替代tags x"eRJii?
Xk:OL,c
struts.ui.templateDir _G_Cj{w
The directory containing UI templates BoA/6FRi[
UI templates的目录夹 R7]l{2V#^
k=2Lo
struts.ui.theme =31"fS@
The default UI template theme {.n"Z
默认的UI template主题 V
@rI`~$
%`k6w3qI
struts.url.http.port 9 ^o-EC!_
The HTTP port used by Struts URLs VJ84?b{c
W
设置http端口 pb^i^tA+A
~aw.(A?MI
struts.url.https.port ]~844Jp
The HTTPS port used by Struts URLs ioaU*%
设置https端口 OHv[#xGuV?
1ofKt=|=
struts.url.includeParams |o,YCzy|5
The default includeParams method to generate Struts URLs @<<<C?CTv
在url中产生 默认的includeParams K*\'.~[6
909?_v
d; [C6d
struts.velocity.configfile (w&F/ynO:
The Velocity configuration file path %/EVUN9=
velocity配置文件路径 o-;E>N7t
|HU@
>
struts.velocity.contexts yZd +^QN
List of Velocity context names H!vax)%-\
velocity的context列表 R= a|Blp
=6xrfDbN8
O[# 27_dH
struts.velocity.manager.classname 1h(0IjG8
org.apache.struts2.views.velocity.VelocityManager implementation class ]5BX:%
org.apache.struts2.views.velocity.VelocityManager接口名 sPd Gw~{
$r@
=*(
struts.velocity.toolboxlocation R[Ll59-
The location of the Velocity toolbox :#2Bw]z&z
velocity工具盒的位置 Kj V:|
struts.xslt.nocache "BD~xP(
Whether or not XSLT templates should not be cached %mL-$*
是否XSLT模版应该被缓存 R{RwTN<