struts2的struts.properties配置文件详解 VeGL)
j.C`U(n}`
struts.action.extension :9O#ObFR
The URL extension to use to determine if the request is meant for a Struts action {E
p0TVj`
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 A'j;\
`1
52SaKA[
struts.configuration cWEE%
The org.apache.struts2.config.Configuration implementation class {\S+#W\
org.apache.struts2.config.Configuration接口名 JI? rL
I, -hf=-
struts.configuration.files 5\N(PL
A list of configuration files automatically loaded by Struts iWei
struts自动加载的一个配置文件列表 z8jk[5z
`{eyvW[Ks
struts.configuration.xml.reload J{l1nHQZSu
Whether to reload the XML configuration or not 8B7cBkl:
是否加载xml配置(true,false) +vYoB$!
u}>#Eb
struts.continuations.package |S_T^'<W
The package containing actions that use Rife continuations $56Z#'(D
含有actions的完整连续的package名称 V_C-P[2~
O!zV)^r
struts.custom.i18n.resources m`IC6*
Location of additional localization properties files to load U1@IX4^2`
加载附加的国际化属性文件(不包含.properties后缀) {G|,\O1
[DJ flCR&
struts.custom.properties c|lu&}BS
Location of additional configuration properties files to load @x9a?L.48
加载附加的配置文件的位置 yW+yg{Gg:
`k=bL"T>\
H9KKed47d/
struts.devMode N8!cO[3Oh
Whether Struts is in development mode or not 8MK>)P o)
是否为struts开发模式 Vx(B{5>Vu
kQ4dwF~
struts.dispatcher.parametersWorkaround I[=j&rK`
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic l/BLUl~z
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )!Jc3%(B
3 ,>0a
struts.enable.DynamicMethodInvocation a#^B2
Allows one to disable dynamic method invocation from the URL 2Gz}T _e
允许动态方法调用 * 1T&
;>506jZ
struts.freemarker.manager.classname d{rQzia"mV
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class vh"R'o
org.apache.struts2.views.freemarker.FreemarkerManager接口名 *Nw&_<\9Q
/+8JCp
struts.i18n.encoding VOKZ dC-
The encoding to use for localization messages w ihH?~]
国际化信息内码 .9,zL=)Ba
1)9sf0LyU
struts.i18n.reload zw+B9PYqX
Whether the localization messages should automatically be reloaded &yGaCq;0
是否国际化信息自动加载 @_U;9)
,^?^dB
struts.locale #?5 (o
The default locale for the Struts application U3 */v4/
默认的国际化地区信息 @*}D$}aR'V
qgE 73.!`6
struts.mapper.class /nyUG^5#{
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4S,`bnmB
org.apache.struts2.dispatcher.mapper.ActionMapper接口
gfX\CSGy
(H)2s Y
struts.multipart.maxSize 4 d;|sI@
The maximize size of a multipart request (file upload) |w_7_J2
multipart请求信息的最大尺寸(文件上传用) x6(~;J
t]>Lh>G
struts.multipart.parser L/wD7/ODr
The org.apache.struts2.dispatcher.multipart. e@c0WlWa
MultiPartRequest parser implementation for a multipart request (file upload) 7P"| J\
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) c#a@n 4
M54j@_81pX
-%2[2p
struts.multipart.saveDir 4/mig0"N.
The directory to use for storing uploaded files 2}YOcnB
设置存储上传文件的目录夹 aJYgzr,
SPN5dE.@
struts.objectFactory nNrPHNfqD
The com.opensymphony.xwork2.ObjectFactory implementation class ~}F{vm
com.opensymphony.xwork2.ObjectFactory接口(spring) =Qh\D
RD\
struts.objectFactory.spring.autoWire 0zo?eI
Whether Spring should autoWire or not 9dFy"yxYa
是否自动绑定Spring e&7JpT
OTC!wI
g
struts.objectFactory.spring.useClassCache K|Ld,bq
Whether Spring should use its class cache or not pcau}5 .
是否spring应该使用自身的cache 9v?N+Rb
LAVAFlK5
struts.objectTypeDeterminer &F\?
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ZPiq-q
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }MRd@ 0-?!
MHSs!^/g5
struts.serve.static.browserCache FQT~pfY
If static content served by the Struts filter should set browser caching header properties or not zV:pQRbt.
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &$"i,~q^b
W4[V}s5u
struts.serve.static )A!>=2M`
Whether the Struts filter should serve static content or not gfsI6/Y
是否struts过滤器应该提供静态内容 EG0WoUX|
TftHwe):V
struts.tag.altSyntax +SsK21f"r
Whether to use the alterative syntax for the tags or not |o,8V p
是否可以用替代的语法替代tags I([!]z
Nndddk`
struts.ui.templateDir "5;;)\o~
The directory containing UI templates @.G[s)x
UI templates的目录夹 hZh9uI7.
^[]}R:
struts.ui.theme f~Fm4>\(
The default UI template theme x\F,SEj
默认的UI template主题 b|cyjDMAA
~2<7ZtV=
struts.url.http.port ]d,S749(s
The HTTP port used by Struts URLs CF+_/s#j^
设置http端口 .7i` (F)
Uu!f,L;ty
struts.url.https.port .%.9n\b
The HTTPS port used by Struts URLs D_/^+H]1
设置https端口 +6UVn\9Q
m<{<s T
struts.url.includeParams .jS~By|r
The default includeParams method to generate Struts URLs $rz=6h
在url中产生 默认的includeParams ^\\Tx*#i
GKvN*
SU=
@kk4]:,w
struts.velocity.configfile ojQI7 Uhw
The Velocity configuration file path {LX.iH9}l
velocity配置文件路径 VUVaaOmO
Ynp{u`?
struts.velocity.contexts { T4
List of Velocity context names `VKf3&|<A
velocity的context列表 ,Vh.T&X5
A]YVs
\]P!.}nX#
struts.velocity.manager.classname [
j3&/
org.apache.struts2.views.velocity.VelocityManager implementation class v3}L`dyh3
org.apache.struts2.views.velocity.VelocityManager接口名 e?_@aa9~@{
70f Klp
struts.velocity.toolboxlocation r) $+
The location of the Velocity toolbox BhM'@g*
velocity工具盒的位置 P`#Z9 HM4
struts.xslt.nocache g)s{IAVx
Whether or not XSLT templates should not be cached BYs-V:
是否XSLT模版应该被缓存 f8M$45A'