struts2的struts.properties配置文件详解 *@^0xz{\z
VV0$L=mo
struts.action.extension +Eg# 8/q
The URL extension to use to determine if the request is meant for a Struts action *
vD<6qf
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 P!EX;+7+x
g7-K62bb
struts.configuration vS#]RW&j
The org.apache.struts2.config.Configuration implementation class xcA:Q`c.{
org.apache.struts2.config.Configuration接口名 X;tk\Ixd
E
.5xzY
struts.configuration.files }XU- JAn
A list of configuration files automatically loaded by Struts @d|9(,Q
struts自动加载的一个配置文件列表 <i-RF-*S
l<?wB|1'
struts.configuration.xml.reload NBX/V^
Whether to reload the XML configuration or not *Yw6UCO
是否加载xml配置(true,false) R#M).2::
:Ib\v88WIv
struts.continuations.package d\M
!o*U
The package containing actions that use Rife continuations jK53-tF~I
含有actions的完整连续的package名称 ;*p}~#2
Q{60^vg
struts.custom.i18n.resources ,?+yu6eLb
Location of additional localization properties files to load `R RORzXoS
加载附加的国际化属性文件(不包含.properties后缀) P9vROzXK
[G*mQ@G9
struts.custom.properties ;U&VPIX$
Location of additional configuration properties files to load rv:O|wZ
加载附加的配置文件的位置 e`^j_VnEH
|~Iw
AP%h!b5v
struts.devMode ";]m]PRAam
Whether Struts is in development mode or not QTH yH
是否为struts开发模式 ?%(*bRV -
Pl4d(2
7
struts.dispatcher.parametersWorkaround ;nE}%lT
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;]!
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _NFJm(X.
|1o]d$3m
struts.enable.DynamicMethodInvocation
8z"Yo7no
Allows one to disable dynamic method invocation from the URL [@;Z
xs
允许动态方法调用 c/RG1w
LJD"N#c
struts.freemarker.manager.classname f&'md
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class rH,N.H#]
org.apache.struts2.views.freemarker.FreemarkerManager接口名 , utFCZW
4p.O<f;A8
struts.i18n.encoding tN~{Mt$-W
The encoding to use for localization messages "2J;~
国际化信息内码 szHUHW~;J
4~4Hst#^
struts.i18n.reload S5JnJkNn
Whether the localization messages should automatically be reloaded K9R[
oB]b
是否国际化信息自动加载 bu-
RU(%
.@'Vz;&mQ
struts.locale m\yO/9{h1
The default locale for the Struts application rGs> {-T3
默认的国际化地区信息 7+"X^$
H@zpw1fH+
struts.mapper.class U!4 ^;
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class /_P`xm+=AC
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Tb^9J7]
\] K-<&f
struts.multipart.maxSize Zh@\+1]
The maximize size of a multipart request (file upload) f+&yc'[
multipart请求信息的最大尺寸(文件上传用) 0W)_5f&
n !QjptQ
struts.multipart.parser N@}U ;x}
The org.apache.struts2.dispatcher.multipart. >:=TS"}yS}
MultiPartRequest parser implementation for a multipart request (file upload) H\T
h4teE
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `8I&(k<wLe
@OpcS>:R
;
OsN^
struts.multipart.saveDir Hi Yx(hY
The directory to use for storing uploaded files %}/)_RzQ
设置存储上传文件的目录夹 n2E2V<#
hf[K\aAk
struts.objectFactory S`::f(e
The com.opensymphony.xwork2.ObjectFactory implementation class 7j+.H/2
com.opensymphony.xwork2.ObjectFactory接口(spring) t%)L8%Jr
vzL>ZBeZ
struts.objectFactory.spring.autoWire kQ +
Whether Spring should autoWire or not ]zO]*d=m
是否自动绑定Spring Xp'KQ1w)
{R K#W~h
struts.objectFactory.spring.useClassCache rTH@PDk>)
Whether Spring should use its class cache or not _R]h]<TQ
是否spring应该使用自身的cache bWqGypq4
QO8/?^d
struts.objectTypeDeterminer
[7bY(
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W6pS.}
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 jV(ISD
\vI_%su1N
struts.serve.static.browserCache |l9AgwDg
If static content served by the Struts filter should set browser caching header properties or not %UmE=V
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 bnlL-]]9z
R~`Y6>o~9:
struts.serve.static gVGq
Whether the Struts filter should serve static content or not QwhPN'U
是否struts过滤器应该提供静态内容 ;BqX=X+#
E$cr3 t7Xy
struts.tag.altSyntax +wmfl:\^{H
Whether to use the alterative syntax for the tags or not "783F:mPh
是否可以用替代的语法替代tags 4AGc2e'u
2dC)%]aLme
struts.ui.templateDir |k8;[+
The directory containing UI templates ?mV[TM{p
UI templates的目录夹 |A2.W8`o
vjHbg#0 %
struts.ui.theme pH4i6B*5
The default UI template theme q+K`+& @\
默认的UI template主题 M?,;TJ7Gd
txi
m|)
struts.url.http.port !54%}x)3
The HTTP port used by Struts URLs HjK|9
设置http端口 ^3el-dZ
O&}0 7(
struts.url.https.port As"'KR
The HTTPS port used by Struts URLs +/ #J]v-
设置https端口 cJt#8P
rTi.k
struts.url.includeParams lB-Njr
The default includeParams method to generate Struts URLs })J]D~!p
在url中产生 默认的includeParams wtZe\h
F*a+&% Q
U*-%V$3+w5
struts.velocity.configfile kr3ZqMfeI
The Velocity configuration file path l!oU9
velocity配置文件路径 u",
[ulP
KmMt:^9
struts.velocity.contexts 8J)x>6
List of Velocity context names I} j!
!
velocity的context列表 S`NH6?/uH
~sM334sQ
zNBG;\W
struts.velocity.manager.classname giI9-C
org.apache.struts2.views.velocity.VelocityManager implementation class +'[iyHBJ
org.apache.struts2.views.velocity.VelocityManager接口名 3mx7[Q
~ WVrtY Ju
struts.velocity.toolboxlocation m^TkFt<BM
The location of the Velocity toolbox ;$W|FpR2
velocity工具盒的位置 +ux,cx.U"
struts.xslt.nocache (j2]:BVu
Whether or not XSLT templates should not be cached [x@iqFO9
是否XSLT模版应该被缓存 9{+B lNZ