struts2的struts.properties配置文件详解 p-i]l.mT5
-`ys pE0?
struts.action.extension Z<m'he
The URL extension to use to determine if the request is meant for a Struts action 3YZ3fhpw
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 D%";!7u
1.cUolnr
struts.configuration lhvZ*[[<)
The org.apache.struts2.config.Configuration implementation class jP{]LJ2.6\
org.apache.struts2.config.Configuration接口名 w7]p9B
"e!$=;5
struts.configuration.files ~wd?-$;070
A list of configuration files automatically loaded by Struts nms<6kfzL
struts自动加载的一个配置文件列表 pZ|nn
2
3XAkpzp$
struts.configuration.xml.reload ;*$8iwBQ_
Whether to reload the XML configuration or not ef1N#z%gt
是否加载xml配置(true,false) crOtQ
]Rys=.!
struts.continuations.package dA!fv`,6-
The package containing actions that use Rife continuations HT;QepY3
含有actions的完整连续的package名称 iLQt9Hyk
HS7
G_
struts.custom.i18n.resources V,*0<7h
Location of additional localization properties files to load qI/r_
加载附加的国际化属性文件(不包含.properties后缀) :."n@sA@
Dg2#Gv0B
struts.custom.properties 2K7:gd8Ru
Location of additional configuration properties files to load aN);P>
加载附加的配置文件的位置 9.w3VF_C
vpr@
Ga/\kO)x_
struts.devMode '_yk_[/
Whether Struts is in development mode or not ,-NLUS
"w
是否为struts开发模式 AK\g-]8
07WIa@Q
struts.dispatcher.parametersWorkaround sN an"
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9!/1F !
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) y0y;1N'KK
]NhWhJ:
struts.enable.DynamicMethodInvocation E/Gs',Y
Allows one to disable dynamic method invocation from the URL n<(5B|~y
允许动态方法调用 K d|l\k!
!gH.st
struts.freemarker.manager.classname )<&CnK
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class A.cZa
org.apache.struts2.views.freemarker.FreemarkerManager接口名 z_iyuLRdb
:^.8 7>V7
struts.i18n.encoding M97p.; ;
The encoding to use for localization messages 4lo}-@j
国际化信息内码 >j~70 ?
{]^%?]e
struts.i18n.reload sT T455h)
Whether the localization messages should automatically be reloaded Mm[1Z;H
是否国际化信息自动加载 |\L,r}1N
U3iyuE
struts.locale 5r}(|86O/
The default locale for the Struts application VlXy&oZ
默认的国际化地区信息 L\'qAfR Z
` vmk
struts.mapper.class a9q?9X
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class
C(Gb
org.apache.struts2.dispatcher.mapper.ActionMapper接口 O5n]4)<
eOnl
sx/
struts.multipart.maxSize lSsFI30
The maximize size of a multipart request (file upload) 0JWD] "
multipart请求信息的最大尺寸(文件上传用) lNnbd?D8
(Y@|h%1W
struts.multipart.parser f(ec/0W
The org.apache.struts2.dispatcher.multipart. ykl=KR
MultiPartRequest parser implementation for a multipart request (file upload) ]R.Vq\A%S
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) vWU4ZBT8G
`Q_ R/9~
f$*9J
struts.multipart.saveDir nf@u7*#6
The directory to use for storing uploaded files U=1`. Ove
设置存储上传文件的目录夹 `U>b6{K
!(AFT!
struts.objectFactory x/q$RcDOm
The com.opensymphony.xwork2.ObjectFactory implementation class J_br%AG<p
com.opensymphony.xwork2.ObjectFactory接口(spring) iKTU28x
_=$!T;}lE
struts.objectFactory.spring.autoWire z_0 lMX`
Whether Spring should autoWire or not T%#P??k
是否自动绑定Spring &ZFAUE,[
/M
c"K
struts.objectFactory.spring.useClassCache [
:(M<u`y>
Whether Spring should use its class cache or not F[giq1#
是否spring应该使用自身的cache D`@U[ `Sw
X{5 DPhB,
struts.objectTypeDeterminer I }I/dh
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #AnSjl
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?mUu(D:7D
. T>}O0L"
struts.serve.static.browserCache u\;dUnr
If static content served by the Struts filter should set browser caching header properties or not q2pao?aa
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &l*dYzqq
xa^HU~
struts.serve.static H<Taf%JT
Whether the Struts filter should serve static content or not )/^$JYz
是否struts过滤器应该提供静态内容 &x5ZEe4
P9chRy
struts.tag.altSyntax 3@bjIX`=H
Whether to use the alterative syntax for the tags or not $?Mz[X
是否可以用替代的语法替代tags Lj AIB(*
-H;y_^2
struts.ui.templateDir l[0P*(I,
The directory containing UI templates =_:L
wmI
UI templates的目录夹 6M|%nBN$|
(:muxby%
struts.ui.theme Qz$Dv@*y\
The default UI template theme dNt|"9~&
默认的UI template主题 S.4YC>E
Q]:%Jj2
struts.url.http.port [|Pe'?zkf
The HTTP port used by Struts URLs QQ8W;x
设置http端口 b:&$x (|
/Day5\Q#
struts.url.https.port *}&aK}h}I
The HTTPS port used by Struts URLs oh)l\
设置https端口 zUu>kJZ
-+Dvyr
struts.url.includeParams 1qN9bwRO
The default includeParams method to generate Struts URLs F<WX\q
在url中产生 默认的includeParams a[rUU'8
bj^m<}
uQ1;+P:L
struts.velocity.configfile }}Uv0g8D
The Velocity configuration file path *[YN|
velocity配置文件路径 1"6k5wrIA
<TuSU[]
struts.velocity.contexts
n(1"6
List of Velocity context names &4FdA|9T
velocity的context列表 B)`X7uG
3]'z8i({7Y
/RmCMT
struts.velocity.manager.classname JH;DVPX9z
org.apache.struts2.views.velocity.VelocityManager implementation class ]YzAcB.R
org.apache.struts2.views.velocity.VelocityManager接口名 _Q}z 6+_\
]}l!L;
struts.velocity.toolboxlocation .e+UgCwi
The location of the Velocity toolbox `roSOX1f
velocity工具盒的位置 O{R5<"g
struts.xslt.nocache 7rg[5hP T
Whether or not XSLT templates should not be cached g3 rFJc
是否XSLT模版应该被缓存 PyF4uCn"H