struts2的struts.properties配置文件详解 (5Q<xJ
-a|b.p
struts.action.extension Lbrn8,G\
The URL extension to use to determine if the request is meant for a Struts action (FGy"o%TP'
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 H1?C:R
#'f5owk>,
struts.configuration ddl]!
^IK
The org.apache.struts2.config.Configuration implementation class CIo`;jt K
org.apache.struts2.config.Configuration接口名 $ Lfbt=f
%e25Z.Se$
struts.configuration.files v]@ XyF\j8
A list of configuration files automatically loaded by Struts QPp31o.!5
struts自动加载的一个配置文件列表 &X~8S/nPAw
Xsanc@w)^C
struts.configuration.xml.reload &?p(UY7'"
Whether to reload the XML configuration or not b-VQn5W
是否加载xml配置(true,false) Q~f]?a`
xv147"w'v
struts.continuations.package I8@leT\9M
The package containing actions that use Rife continuations '-f` 5 X
含有actions的完整连续的package名称 _&gO>G,uy
{I0!q"sF
struts.custom.i18n.resources &.2%p
Location of additional localization properties files to load J80&npsO
加载附加的国际化属性文件(不包含.properties后缀) #+Bz$CO
}+`,AC`RM
struts.custom.properties %LHt{:9.
Location of additional configuration properties files to load njJTEUd">
加载附加的配置文件的位置 7Cz=;
7~1Fy{tc
CaED(0
struts.devMode 89 m.,
Whether Struts is in development mode or not Z3wdk6%:}
是否为struts开发模式 $Sy}im\H
lUq`tK8
struts.dispatcher.parametersWorkaround 9i_@3OVl
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic IY!.j5q8
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >2K'!@~'
3zfpFgD!
struts.enable.DynamicMethodInvocation 4Hyp]07
Allows one to disable dynamic method invocation from the URL rVOF
允许动态方法调用 )xg8#M=K
,'YKL",
struts.freemarker.manager.classname nzAySMD_
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ZBU<L+#
org.apache.struts2.views.freemarker.FreemarkerManager接口名 krlebPs[
u#u/uS"
struts.i18n.encoding IAb.Z+ig
The encoding to use for localization messages .&b c3cW
国际化信息内码 o:5mgf7
G]xN#O;
struts.i18n.reload ,f?B((l
Whether the localization messages should automatically be reloaded >#S}J LZ
是否国际化信息自动加载 7|Wst)_~j
]3]B$
struts.locale D=D.s)ns*
The default locale for the Struts application $@^\zg1n
默认的国际化地区信息 w0yzC0yBk
Xe`$SNM
struts.mapper.class I%[Tosud<
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class K4|fmgcy.
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ebL0cK?
g=v'[JPd
struts.multipart.maxSize '>bn94$
The maximize size of a multipart request (file upload) F|VHr@%
multipart请求信息的最大尺寸(文件上传用) GM^H
)8U
!3c+}j-j
struts.multipart.parser .;bU["fn)
The org.apache.struts2.dispatcher.multipart. ,Bx0
MultiPartRequest parser implementation for a multipart request (file upload) =b )!l9TX
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (yEU9R$I"
71<4q{n
tmoclK-
struts.multipart.saveDir -c0*
The directory to use for storing uploaded files xjxX4_
设置存储上传文件的目录夹 Om7 '_}
MdkL_YP}.
struts.objectFactory \q!TI x
The com.opensymphony.xwork2.ObjectFactory implementation class 06pY10<>X
com.opensymphony.xwork2.ObjectFactory接口(spring) nC$c.K'
RcR-sbR
struts.objectFactory.spring.autoWire D&N3LH
Whether Spring should autoWire or not Q0ezeo
是否自动绑定Spring 0iMfyW:
%[L/JJbP&Z
struts.objectFactory.spring.useClassCache &R<K>i
Whether Spring should use its class cache or not HDE5Mg "
是否spring应该使用自身的cache i(# Fjp
hf)RPG&
struts.objectTypeDeterminer r|bGn#^
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #{)mr [c|
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -0CL#RzKR
o {q8An)
struts.serve.static.browserCache WwKpZ67$R
If static content served by the Struts filter should set browser caching header properties or not JNvgUb'U
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 n0':6*oGW
:IsJE6r
struts.serve.static $b_~
Whether the Struts filter should serve static content or not U+D#
是否struts过滤器应该提供静态内容 &d!ASa
>N~jlr |
struts.tag.altSyntax :q2RgZE
Whether to use the alterative syntax for the tags or not ZWB3R
是否可以用替代的语法替代tags eq2LV=d{m
.o<9[d"
struts.ui.templateDir p[!9 objU
The directory containing UI templates 4q@[k:'
UI templates的目录夹 9(a*0H
Q"LlBp>t|#
struts.ui.theme MpJ3*$Dr
The default UI template theme E%f!SD
默认的UI template主题 $S/WAw,/
C}o^p"M*B3
struts.url.http.port b!EqYT
The HTTP port used by Struts URLs 0*uJS`se6Z
设置http端口 -)ri,v{:c
']X0g{%
struts.url.https.port 'Ze&
LQ
The HTTPS port used by Struts URLs ~dsx|G?p
设置https端口 [H`5mY@
-HFyNk]>
struts.url.includeParams fB4zqMSfE
The default includeParams method to generate Struts URLs 94rx4"AN8;
在url中产生 默认的includeParams N45@)s!F9j
BSEP*#s
Bq,Pk5b
struts.velocity.configfile 3[kl` *`
The Velocity configuration file path ZGd7e.u=
velocity配置文件路径 ; ?,'jI*1
rO,n~|YJ
struts.velocity.contexts ]7|qhAh<L
List of Velocity context names X5Y. o&
velocity的context列表 b%j4W)Z
_z"\3hZ
Z= pvoTY
struts.velocity.manager.classname 6k1_dRu
org.apache.struts2.views.velocity.VelocityManager implementation class Dx P65wU
org.apache.struts2.views.velocity.VelocityManager接口名 > 3l3
K}LF ${bS
struts.velocity.toolboxlocation w/fiNY5FZ
The location of the Velocity toolbox LA,G>#?H
velocity工具盒的位置 U}-hV@y
struts.xslt.nocache eoiC.$~\
Whether or not XSLT templates should not be cached DK%@[D
是否XSLT模版应该被缓存 bde6
;=oM