struts2的struts.properties配置文件详解 6ck%M#v
Tb{RQ?Nw'
struts.action.extension UtHloq(r
The URL extension to use to determine if the request is meant for a Struts action J@qLBe(v
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 U"a7myB+jX
i_av_I-
struts.configuration ]2MX7
The org.apache.struts2.config.Configuration implementation class Y.%Vvg4z3
org.apache.struts2.config.Configuration接口名 ]^<\a=U
^[Y/ +Q.J
struts.configuration.files 8qoA5fW>
A list of configuration files automatically loaded by Struts z<8VJZd
struts自动加载的一个配置文件列表 Ei89Ngp\}
3Qu-X\
struts.configuration.xml.reload D0h6j0r5
Whether to reload the XML configuration or not C{,Vk/D-0
是否加载xml配置(true,false) T75N0/teS
4K,S5^`Gx
struts.continuations.package $}=r45e0K
The package containing actions that use Rife continuations M%7|7V<o)^
含有actions的完整连续的package名称 AsI.8"
JI/iq
struts.custom.i18n.resources 6#HnA"I2n
Location of additional localization properties files to load 3!i{4/
加载附加的国际化属性文件(不包含.properties后缀) {"db1Gbfg
kA9 k^uR/
struts.custom.properties w7f)v\p
Location of additional configuration properties files to load 2%)~E50U
加载附加的配置文件的位置 @)@tIhw
){KrBaGa4
tMyMA}`
struts.devMode bl\;*.s'
Whether Struts is in development mode or not :bXTV?#0
是否为struts开发模式 t|*UlTLm
G^#?~
struts.dispatcher.parametersWorkaround [C@Ro,mI
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3V<c4'O\W
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2m9qg-W
}Ggn2 X
struts.enable.DynamicMethodInvocation -jVg{f!
Allows one to disable dynamic method invocation from the URL $_gv(&ZT
允许动态方法调用 iDYm4sY
M%s!qC+
struts.freemarker.manager.classname )/Oldyp
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class gl!ht@;>ak
org.apache.struts2.views.freemarker.FreemarkerManager接口名 {~#d_!(
=nlj|S ~3
struts.i18n.encoding ^cuH\&&7
The encoding to use for localization messages /'^BHA|h
国际化信息内码 "tu*(>'~5
W!1
B~NH#
struts.i18n.reload Ii>#9>!F
Whether the localization messages should automatically be reloaded 7**zO3
H
是否国际化信息自动加载 ::@JL
J!}R>mR
struts.locale ajX] ui
The default locale for the Struts application #hXuGBZEI
默认的国际化地区信息 !04^E
}&%&0$%
struts.mapper.class |*L/
m0'L
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 845\u&
org.apache.struts2.dispatcher.mapper.ActionMapper接口 &iT^IkA{
&uI33=
struts.multipart.maxSize ER:K^
Za
The maximize size of a multipart request (file upload) (U:6vk3Q
multipart请求信息的最大尺寸(文件上传用) >E
WK
cocM
}xY|z"&
struts.multipart.parser rw75(Lp{
The org.apache.struts2.dispatcher.multipart. |C>\ku*
MultiPartRequest parser implementation for a multipart request (file upload) -o57"r^x
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1U
='"
SRrp=>w?
^[v>B@p*{
struts.multipart.saveDir |RDE/
The directory to use for storing uploaded files c$_}
设置存储上传文件的目录夹 4x.I"eW~&
lE3&8~2
struts.objectFactory 7r pTk&`
The com.opensymphony.xwork2.ObjectFactory implementation class sR| /s3;
com.opensymphony.xwork2.ObjectFactory接口(spring) biVsbxYurq
l
s%'\}
struts.objectFactory.spring.autoWire 6L2Wv5C
Whether Spring should autoWire or not E&Sr+D aPD
是否自动绑定Spring @==
"$uRw
z]j_,3Hff
struts.objectFactory.spring.useClassCache UN:cRH{?*
Whether Spring should use its class cache or not TBgiA}|\D
是否spring应该使用自身的cache \3)U~[O>:
Ah
zV?6e
struts.objectTypeDeterminer f?"909&
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class fLV@~T|
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ][~rk?YY
|^#Z!Hp_Y
struts.serve.static.browserCache 5e2yJ R
If static content served by the Struts filter should set browser caching header properties or not )7Oj
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Z*'_/Grv?
z0T6a15f!P
struts.serve.static qnO/4\qq
Whether the Struts filter should serve static content or not 5'EoB^`8N~
是否struts过滤器应该提供静态内容 yaAg!mW
jjg&C9w T
struts.tag.altSyntax ,fj~BkW{
Whether to use the alterative syntax for the tags or not T? ,Q=.
是否可以用替代的语法替代tags #vTF:r
6>h"Lsww
struts.ui.templateDir XOEf,"
The directory containing UI templates kZ!&3G9>-
UI templates的目录夹 }m S+%w"j
d/E0opv
struts.ui.theme )7WLbj!M
The default UI template theme cN)noGkp
默认的UI template主题 H+Q_%%[N
&CfzhIi*!
struts.url.http.port VC^QCuSq
The HTTP port used by Struts URLs &cf_?4
设置http端口 F^Mt}`O
h\8bo=
struts.url.https.port j)}TZx4~
The HTTPS port used by Struts URLs M*F`s&vM
设置https端口 ' &Nv|v\V
$ccCI
\
struts.url.includeParams i^eDM.#X
The default includeParams method to generate Struts URLs ~Yg+bwh
在url中产生 默认的includeParams ]jV1/vJ-!
u<HJFGLzI
kb'l@d#E
struts.velocity.configfile :Y)G- :S+
The Velocity configuration file path 3;Tsjv}
velocity配置文件路径 3.%jet1
PH!rWR
struts.velocity.contexts C0L(ti;
List of Velocity context names yI's=Iu`
velocity的context列表 &9xcP.3
[8[`V)b
sA+( |cEh
struts.velocity.manager.classname ))J#t{X/8v
org.apache.struts2.views.velocity.VelocityManager implementation class 8+~'T|
org.apache.struts2.views.velocity.VelocityManager接口名 ['I5(M@
G)%r|meKGB
struts.velocity.toolboxlocation M
U2];
The location of the Velocity toolbox
--TY[b
velocity工具盒的位置 J#G\7'?{
struts.xslt.nocache T7*p!0
Whether or not XSLT templates should not be cached M5+K[Ir/y9
是否XSLT模版应该被缓存 XMpE|M!c