struts2的struts.properties配置文件详解 yo#aX^v~y
IQ${2Dpg[
struts.action.extension Znv3h
The URL extension to use to determine if the request is meant for a Struts action xJQ-k/`
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &2~c,] 9C
O?6ph4'
struts.configuration 5#DtaVz
The org.apache.struts2.config.Configuration implementation class b6@(UneVM
org.apache.struts2.config.Configuration接口名 Zj(2$9IU
~^&]8~m*d
struts.configuration.files deRnP$u0
A list of configuration files automatically loaded by Struts 6AM-^S@
struts自动加载的一个配置文件列表 Kzj9!'0R
Gu3# y"a>
struts.configuration.xml.reload &YSjwRr
Whether to reload the XML configuration or not d".Xp4}f
是否加载xml配置(true,false) gPo3jw o$
|#y+iXTJ
struts.continuations.package 7j9X<8*
The package containing actions that use Rife continuations _'W en
含有actions的完整连续的package名称 J%Cn
l7+[Zn/v *
struts.custom.i18n.resources nB;yS<
Location of additional localization properties files to load j4!g&F _y
加载附加的国际化属性文件(不包含.properties后缀) R\^n2gK
u%o2BLx
struts.custom.properties _a~uIGN
Location of additional configuration properties files to load &<oZl.T
加载附加的配置文件的位置 ([mC!d@a
1>KZ1Kf
h{J=Rq
struts.devMode 0u3"$o'R
Whether Struts is in development mode or not 0q@U>#
是否为struts开发模式 Z=L~W,0'
c"|4'#S
struts.dispatcher.parametersWorkaround h#Z5vH
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .L#xX1qr
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @@?P\jv~
L.cGt"{
struts.enable.DynamicMethodInvocation ~{8X$xs
Allows one to disable dynamic method invocation from the URL ,%bG]5
允许动态方法调用 Yv!r>\#0S
._ 6|epJ#
struts.freemarker.manager.classname >+9f{FP
9
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Xy0KZ !
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ZwC\n(_y
|#87|XIJ&~
struts.i18n.encoding aUqVcEU1
The encoding to use for localization messages -naj.omG|
国际化信息内码 YH:murJMZ
`4@_Y<
struts.i18n.reload i*T>,z
Whether the localization messages should automatically be reloaded QJsud{ada
是否国际化信息自动加载 OdZLJt?g
g[#4`Q<.
struts.locale Zx1 I&K\Cd
The default locale for the Struts application JUf{;nt
默认的国际化地区信息 q=_&izmE'7
`T-lBwH
struts.mapper.class ,h#U<CnP#
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7%%FYHMO:
org.apache.struts2.dispatcher.mapper.ActionMapper接口 3;N+5*-
p^E}%0#
struts.multipart.maxSize Hq>"rrVhx
The maximize size of a multipart request (file upload) T|/B}srm
multipart请求信息的最大尺寸(文件上传用) O%$XgEJ8p
0Rme}&$
struts.multipart.parser uoryxKRjc~
The org.apache.struts2.dispatcher.multipart. ?HsQ417.H
MultiPartRequest parser implementation for a multipart request (file upload) ]]InD N
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .y)Y20=o!
XDot3)2`
voD0u
struts.multipart.saveDir >h[ {_+
The directory to use for storing uploaded files MPn
6sf9M
设置存储上传文件的目录夹 $69ef[b
m^9[k,;K
struts.objectFactory [pc6!qhDG&
The com.opensymphony.xwork2.ObjectFactory implementation class U#7moS'r
com.opensymphony.xwork2.ObjectFactory接口(spring) hDP&~Mk
?>\JX
struts.objectFactory.spring.autoWire A3!xYG=+
Whether Spring should autoWire or not "I7 Sed7
是否自动绑定Spring OLl?1
No'^]r
struts.objectFactory.spring.useClassCache G;'=#c
^
Whether Spring should use its class cache or not _(TYR*
是否spring应该使用自身的cache )=PmHUd
!6d6b@Mv
struts.objectTypeDeterminer {eQ')f
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class pYtvenBy
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -9L[eYn
/IkSgKJiz\
struts.serve.static.browserCache %. zcE@7*
If static content served by the Struts filter should set browser caching header properties or not WX2w7O'R
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 J[?7`6\M
u`Sg' ro
struts.serve.static z .xOT;t
Whether the Struts filter should serve static content or not I1TzPe
是否struts过滤器应该提供静态内容 =`
%iv|>r0
,^>WCG
struts.tag.altSyntax q3~RK[OCq
Whether to use the alterative syntax for the tags or not ]h`<E~
是否可以用替代的语法替代tags k *#fN(_
z1WF@Ej
struts.ui.templateDir 2".^Ma^D!
The directory containing UI templates clcj5=:
UI templates的目录夹 uqN:I)>[P
s-z*Lq*
struts.ui.theme /=|5YxY
The default UI template theme %)|_&Rh
默认的UI template主题 +dt b~M
!OO{qw(*g
struts.url.http.port )]^xy&:|
The HTTP port used by Struts URLs _BA2^C':c{
设置http端口 .ZB/!WiF
(t{m(;/
struts.url.https.port )Q!3p={S*
The HTTPS port used by Struts URLs 4ZRE3^y\"
设置https端口 .&Vyo<9Ck
o
C5}[cYD`
struts.url.includeParams U'Xw'?Uj
The default includeParams method to generate Struts URLs mp\`9j+{
在url中产生 默认的includeParams !GNLq.rQ
neHozmm|
ub#>kCL9
struts.velocity.configfile l5 FM>q
The Velocity configuration file path Je5UVf3>2&
velocity配置文件路径 \Jcj4
E@f2hW2
struts.velocity.contexts ;M95A
List of Velocity context names @eQo
velocity的context列表 w'Cn3b)`
RCS91[
f a9n6uT
struts.velocity.manager.classname 'A|OVyH
org.apache.struts2.views.velocity.VelocityManager implementation class :EXH8n&|
org.apache.struts2.views.velocity.VelocityManager接口名 N~w4|q!]
mJ>@Dh3>G
struts.velocity.toolboxlocation v7L}I[f
The location of the Velocity toolbox [CfA\-gx<f
velocity工具盒的位置 =>PBdW
struts.xslt.nocache * MJl(
Whether or not XSLT templates should not be cached 8ol R#>
是否XSLT模版应该被缓存 }iK_7g`yKa