struts2的struts.properties配置文件详解 mhy='AQJ
!#=3>\np+X
struts.action.extension eze%RjO}
The URL extension to use to determine if the request is meant for a Struts action !F.h+&^D;
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 PcqS#!t
eTuKu(0
E
struts.configuration [FLR&=.(
The org.apache.struts2.config.Configuration implementation class
I Zw
org.apache.struts2.config.Configuration接口名 :q?#$?
e.~11bx
struts.configuration.files ncMzHw
A list of configuration files automatically loaded by Struts &}
{ #g
struts自动加载的一个配置文件列表 um}q @BU
&BRa5`
struts.configuration.xml.reload iaLZ|\`3a
Whether to reload the XML configuration or not PjH'5Y
是否加载xml配置(true,false) Wky9wr:g
-$DfnAh
struts.continuations.package v; R2,`[W
The package containing actions that use Rife continuations xiDgQTDz
含有actions的完整连续的package名称 8;r #HtFM
*0to,$ n
struts.custom.i18n.resources _{-[1-lN5_
Location of additional localization properties files to load dDIR~!T
加载附加的国际化属性文件(不包含.properties后缀) ]!&$&t8.
Y~e)3e
struts.custom.properties n,2
Location of additional configuration properties files to load =^i K^)
加载附加的配置文件的位置 *3rs+0
ft$RF
-%@ah:iJ
struts.devMode 5doi4b>]!
Whether Struts is in development mode or not lo(C3o'
是否为struts开发模式 w jD<"p;P
8|)^m[c&
struts.dispatcher.parametersWorkaround @XXPJq;J
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic WgqSw%:$H
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) gWzslgO6
RB4 +"QUh
struts.enable.DynamicMethodInvocation h<TZJCt
Allows one to disable dynamic method invocation from the URL QS5t~rb
允许动态方法调用 E6ZkO/
+{RTz)e?*
struts.freemarker.manager.classname 23WrJM!2N
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \~"Ub"~I
org.apache.struts2.views.freemarker.FreemarkerManager接口名 }\Rmwm-
"~^0
struts.i18n.encoding ir/uHN@
The encoding to use for localization messages `Z8k#z'bN
国际化信息内码 <|jh3Hlp
<r.QS[:h
struts.i18n.reload )*>wa%[-q
Whether the localization messages should automatically be reloaded cw{TS
是否国际化信息自动加载 y<E];ub
0o"aSCq8t
struts.locale #79[Qtkrhm
The default locale for the Struts application &29jg_'W
默认的国际化地区信息 | @$I<
L*tfYonq
struts.mapper.class w2'q9pB+
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class bXOKC
org.apache.struts2.dispatcher.mapper.ActionMapper接口 dpw-a4o}
; Byt'S
struts.multipart.maxSize fg3Jv*
The maximize size of a multipart request (file upload) c|;n)as9(%
multipart请求信息的最大尺寸(文件上传用) oV0T
9K/EteS
struts.multipart.parser V<J1.8H
The org.apache.struts2.dispatcher.multipart. [I3Nu8
MultiPartRequest parser implementation for a multipart request (file upload) 5dI=;L>D
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) J\Pb/9M/
xdgAu
<Q\KS
struts.multipart.saveDir 2&>t,;v@
The directory to use for storing uploaded files 4,z|hY_*t
设置存储上传文件的目录夹 YE~IO5
2cH RiRT
struts.objectFactory gTXpaB<
The com.opensymphony.xwork2.ObjectFactory implementation class rB$~,q&.V
com.opensymphony.xwork2.ObjectFactory接口(spring) j2<+[h-
ZK+F<}
struts.objectFactory.spring.autoWire .R)P
|@z L
Whether Spring should autoWire or not uC^)#Y\"
是否自动绑定Spring Cl<!S`
P:4"~]}
struts.objectFactory.spring.useClassCache M7cD!s@'I
Whether Spring should use its class cache or not 8qg%>ZU4d
是否spring应该使用自身的cache Sb /?<$>
Sv{n?BYq
struts.objectTypeDeterminer p eO@ZKmM
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :5,~CtF5 `
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 `\62 iUN
qBX_v5pvVA
struts.serve.static.browserCache dX cbS<
If static content served by the Struts filter should set browser caching header properties or not 6/mz.,g2
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 J
W@6m
fq6Obh=A#
struts.serve.static KtL?,zi
Whether the Struts filter should serve static content or not gGL}FNH
是否struts过滤器应该提供静态内容 Ne1Oz}
W_`]7RO8
struts.tag.altSyntax /)sP, 2/
Whether to use the alterative syntax for the tags or not rM,e$
是否可以用替代的语法替代tags ,s #~00C|
&/]en|f"
struts.ui.templateDir vS>'LX
The directory containing UI templates 4@@Sh`E:
UI templates的目录夹 Vb`Vp(>AU
J 7R(X
struts.ui.theme $lJcC |*
The default UI template theme I]v2-rB&-
默认的UI template主题 (yqe4
ZyUcL_
struts.url.http.port !HDb{f
The HTTP port used by Struts URLs YQG<Q
设置http端口 OX]$Xdb2:
_M%S
struts.url.https.port F tIcA"^N
The HTTPS port used by Struts URLs LUMbRrD-
设置https端口 )OV0YfO
[! $NTt_
struts.url.includeParams iH }-
The default includeParams method to generate Struts URLs Xkhd"Axi
在url中产生 默认的includeParams *=!e,
.P)lQk\
x950,`zy
struts.velocity.configfile 1RYrUg"s"
The Velocity configuration file path kWXLncE
velocity配置文件路径 Kd5'2"DI
wc;n=
%
struts.velocity.contexts v.-DXQq
List of Velocity context names >>P5 4|&
velocity的context列表 ~V8z%s@
aZ4EcQ@-$]
d2`g,~d
struts.velocity.manager.classname P"_/P8
org.apache.struts2.views.velocity.VelocityManager implementation class 'ztOl`I5V
org.apache.struts2.views.velocity.VelocityManager接口名 V%oZT>T3
(SBhU:^h
struts.velocity.toolboxlocation 90<g=B
The location of the Velocity toolbox {-\U)&6#v
velocity工具盒的位置 QM0B6F
struts.xslt.nocache t>\sP
Whether or not XSLT templates should not be cached a_>|Ny6{
是否XSLT模版应该被缓存 Y~I<L ocv