struts2的struts.properties配置文件详解 v]?zG&Jh
Q`B K
R]/
struts.action.extension qk
*b,`;
The URL extension to use to determine if the request is meant for a Struts action _no;B_m~
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 j`o_Stbg
11g_!X -g@
struts.configuration b;5&V_
The org.apache.struts2.config.Configuration implementation class I"hlLP
org.apache.struts2.config.Configuration接口名 \+T U{vr
G(fS__z
struts.configuration.files 2N}U B=J
A list of configuration files automatically loaded by Struts r1A<XP|1?I
struts自动加载的一个配置文件列表 JP1XH k
!K %8tr4
struts.configuration.xml.reload O,[9E
Whether to reload the XML configuration or not {S$61ut
是否加载xml配置(true,false) sd,KB+)
@km@\w
struts.continuations.package =H_vRd
The package containing actions that use Rife continuations 5I6u 2k3
含有actions的完整连续的package名称 3Jh!YzI8
crbph.0
struts.custom.i18n.resources Ef]<0Tm]:
Location of additional localization properties files to load Rh,a4n?W
加载附加的国际化属性文件(不包含.properties后缀) 6BdK)s
ak"W/"2:
struts.custom.properties 53<.Knw5a
Location of additional configuration properties files to load F.cKg~E|e
加载附加的配置文件的位置 Z'!i"Jzq|{
tu:W1?
kQw%Wpuq[/
struts.devMode UGD B4S
Whether Struts is in development mode or not Aryp!oW
是否为struts开发模式 ''?iJFR
'',g}WvRwe
struts.dispatcher.parametersWorkaround ^5n#hSqZ=M
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]RxJ^'a63
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) .2{*>Dzi
`V2doV)
struts.enable.DynamicMethodInvocation ^e{]WH?
Allows one to disable dynamic method invocation from the URL {l9g YA
允许动态方法调用 V.-cm51I
hlBMRx49
struts.freemarker.manager.classname >K!$@]2F
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @gnLY
org.apache.struts2.views.freemarker.FreemarkerManager接口名 jRN>^Ur;g
Tvl"KVGm
struts.i18n.encoding >+9:31p
The encoding to use for localization messages T"/dn%21
国际化信息内码 A=+1PgL66
lFN|)(X
struts.i18n.reload 9T_fq56Oh6
Whether the localization messages should automatically be reloaded 7nPjeh
是否国际化信息自动加载 m(w 9s;<
AD~_n^
struts.locale #Q"04'g
The default locale for the Struts application &fW'_,-
默认的国际化地区信息 rV
fZ_\|
nyL$z-I)
struts.mapper.class :;jRAjq"
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _`lPLBr6
org.apache.struts2.dispatcher.mapper.ActionMapper接口 TDX~?>P
zm mkmTp
struts.multipart.maxSize 73l,PJ
The maximize size of a multipart request (file upload) >eWORf>7
multipart请求信息的最大尺寸(文件上传用) iXLH[uhO;
^"iJ
struts.multipart.parser *z^Au7,&
The org.apache.struts2.dispatcher.multipart. (QS 0
MultiPartRequest parser implementation for a multipart request (file upload) XZ<8M}Lg
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) X]_9g[V
)4RSo&9p`
9
^=kt 2[
struts.multipart.saveDir $ I
J^
The directory to use for storing uploaded files +k V$ @qH
设置存储上传文件的目录夹 dKY#Tl]
kP1cwmZ7F
struts.objectFactory <tW/9}@p9
The com.opensymphony.xwork2.ObjectFactory implementation class IEe;ygL#
com.opensymphony.xwork2.ObjectFactory接口(spring) j_.tg7X
T^ - - :1
struts.objectFactory.spring.autoWire %I;uqf
Whether Spring should autoWire or not 5cb8=W-
是否自动绑定Spring h0C>z2iH
c`/kx
struts.objectFactory.spring.useClassCache Z&n#*rQ7[
Whether Spring should use its class cache or not :kC*<f\
是否spring应该使用自身的cache :jJ0 +Q
Z4g<Ys*
struts.objectTypeDeterminer }}l jVUpC%
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =
toU?:.
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 w,j;XPp
\wR\i^
struts.serve.static.browserCache ]MC5 uKn
If static content served by the Struts filter should set browser caching header properties or not 8@
f+?g*i
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 X<H{
-wVuM.n(Z
struts.serve.static nd[Ja_h
Whether the Struts filter should serve static content or not ZH`(n5
是否struts过滤器应该提供静态内容 Z*IW*f&0>1
4ves|pLET
struts.tag.altSyntax >*\yEH9"
Whether to use the alterative syntax for the tags or not k"6v& O
是否可以用替代的语法替代tags |pBvy1e4)
cqT%6Si
struts.ui.templateDir )@<HG$#
The directory containing UI templates `~\8fN
UI templates的目录夹 wh!8\9{g
ZZYtaVF:
struts.ui.theme 6R*eJICN
The default UI template theme `6BQ6)7
默认的UI template主题 )-h{0o
8"A0@fNz
struts.url.http.port i^8w0H<-@v
The HTTP port used by Struts URLs vQj{yJ\l1
设置http端口 {1+meE
PR*EyM[T
struts.url.https.port SwaMpNXL
The HTTPS port used by Struts URLs VV sE]7P ]
设置https端口 h)aLq
D[6wMep^n
struts.url.includeParams 1~j,A[&|<
The default includeParams method to generate Struts URLs MP.ye|i4Q
在url中产生 默认的includeParams Z-yoJZi
gZ-:4G|J
L">m2/ HG
struts.velocity.configfile uo*lW2&U
The Velocity configuration file path eR/X9<
velocity配置文件路径 # %'%LY=
ggpa!R
struts.velocity.contexts 9$}>O]
List of Velocity context names 02)Ybp6y
velocity的context列表 'Mhnu2d
>GzH_]
ywB0
D`s'
struts.velocity.manager.classname o{ccO29H/
org.apache.struts2.views.velocity.VelocityManager implementation class P7REE_<1
org.apache.struts2.views.velocity.VelocityManager接口名 8#4Gs Q"
Q5u3~Q'e
struts.velocity.toolboxlocation ,dFY]
The location of the Velocity toolbox l{VJaZ $M
velocity工具盒的位置 Z=<D`
struts.xslt.nocache SRU#Y8Xv|
Whether or not XSLT templates should not be cached )bpdj,
是否XSLT模版应该被缓存 a}MSA/K(