struts2的struts.properties配置文件详解 MG6Tk(3S
}fA3{Ro
struts.action.extension iw{n|&Y#`
The URL extension to use to determine if the request is meant for a Struts action cA*%K[9
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {MS&t09Wh
P+/L,u
struts.configuration /X?Nv^Hy
The org.apache.struts2.config.Configuration implementation class
Wi[Y@
org.apache.struts2.config.Configuration接口名 ru&RL
HFV
!"kvXxp^
struts.configuration.files Fri5_rxLl
A list of configuration files automatically loaded by Struts 75F&s,4+
struts自动加载的一个配置文件列表 3"".kf,O5e
HOw hl
struts.configuration.xml.reload _FV.}%W<u
Whether to reload the XML configuration or not ,%C$~+xjM
是否加载xml配置(true,false) (mEZ4yM
IkvH8E
struts.continuations.package (Cq-8**dY
The package containing actions that use Rife continuations s2E}+
#
含有actions的完整连续的package名称 kxP6#8*:
yU\|dL
struts.custom.i18n.resources %guot~S|
Location of additional localization properties files to load YP7<j*s8
加载附加的国际化属性文件(不包含.properties后缀) z7CYYU?
#wo_
struts.custom.properties 4eKJ\Q=nX5
Location of additional configuration properties files to load ;#+#W+0
加载附加的配置文件的位置 [kXe)dMX8
= FE,G*
]Cj&C/(
struts.devMode
4@5<B
Whether Struts is in development mode or not X>CYKRtb
是否为struts开发模式 DFiexOb
5u&jNU5m_
struts.dispatcher.parametersWorkaround mB\5bSFY`
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic u,C-U!A
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) b&ADj8cKC
vH=I#Ajar
struts.enable.DynamicMethodInvocation G$Dg*<
Allows one to disable dynamic method invocation from the URL +X< Z
43
允许动态方法调用 }"T:z{n
a-W&/
struts.freemarker.manager.classname (*EN! -/
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Ii9vA ^53
org.apache.struts2.views.freemarker.FreemarkerManager接口名 O~D}&M@/R
6hZhD1lDG^
struts.i18n.encoding #<JrSl62(K
The encoding to use for localization messages G{J9Fb8
国际化信息内码 %H@fVWe2wT
}X$>84s>[P
struts.i18n.reload AkF1Hj
Whether the localization messages should automatically be reloaded %8ul}}d9
是否国际化信息自动加载 !xlVyt5e
$OJ*Kul
struts.locale o%dtf5}(,
The default locale for the Struts application >ko;CQR
默认的国际化地区信息 ."lY>(HJ
ED6H
struts.mapper.class Q.N^1?(>k
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class WgIVhj
org.apache.struts2.dispatcher.mapper.ActionMapper接口 a}fW3+>
<sTaXaq?
struts.multipart.maxSize xW09k6
The maximize size of a multipart request (file upload) 2|T@
multipart请求信息的最大尺寸(文件上传用) mMMu'N
464Z0C
struts.multipart.parser b/ynCf8X
The org.apache.struts2.dispatcher.multipart. bi5'- .B
MultiPartRequest parser implementation for a multipart request (file upload) u&<LW4
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .`iq+i~
l"-D@]"
oU2RxK->u
struts.multipart.saveDir C>;}CH|X
The directory to use for storing uploaded files iU3co|q7
设置存储上传文件的目录夹 NO<myN+N
J@$>d
struts.objectFactory uIR_p\)
The com.opensymphony.xwork2.ObjectFactory implementation class X@cV']#V
com.opensymphony.xwork2.ObjectFactory接口(spring) )TWf/Lcp
snK/,lm.
struts.objectFactory.spring.autoWire PCES&|*rf
Whether Spring should autoWire or not H 95VU"
是否自动绑定Spring hIdGQKr>V
9KP+
struts.objectFactory.spring.useClassCache g` Wr3
Whether Spring should use its class cache or not rg
$71Ir
是否spring应该使用自身的cache {c$W-t):U|
$%jV%k
struts.objectTypeDeterminer 9/'j<v6M
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Mn=_lhWK
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 JRG7<s$
)I*V('R6|
struts.serve.static.browserCache }3+(A`9h f
If static content served by the Struts filter should set browser caching header properties or not I[R?j?$}>
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 E{FN sa
y_'8m9Qy)
struts.serve.static WgY3g1C
Whether the Struts filter should serve static content or not n"Ev25%
是否struts过滤器应该提供静态内容 ?6[>HX;
s2tEyR+gW
struts.tag.altSyntax 8g$ 8]'M^T
Whether to use the alterative syntax for the tags or not V9MA)If>
是否可以用替代的语法替代tags <uAqb Wu
T"2ye9a
struts.ui.templateDir 0!^{V:DtQ
The directory containing UI templates 20J:_+=]
UI templates的目录夹 "\BLi C
-j(/5.a
struts.ui.theme aWit^dp
The default UI template theme h;B'#$_
默认的UI template主题 SY)o<MD
;mMn-+ 3<
struts.url.http.port C|>#|5XaF
The HTTP port used by Struts URLs %xY'v$
%
设置http端口 F:\y#U6"J
aC:rrS
struts.url.https.port _{A($/~c?
The HTTPS port used by Struts URLs Fa;CWyt
设置https端口 \h"s[G zq
10a=[\ Q
struts.url.includeParams ?1[go+56X
The default includeParams method to generate Struts URLs Wy|=F~N
在url中产生 默认的includeParams rm2TWM|
KLoHjBq
No[>1]ds
struts.velocity.configfile d+/d)cu
The Velocity configuration file path amPQU
velocity配置文件路径 upX/fLc
Sd{>(YWx~
struts.velocity.contexts SQEXC*08
List of Velocity context names Q.5a"(d@
velocity的context列表 ov|s5yH8e
VJwzYl
`]fY9ZDKs
struts.velocity.manager.classname =EIsqk^*
org.apache.struts2.views.velocity.VelocityManager implementation class h5Z%|J>;0
org.apache.struts2.views.velocity.VelocityManager接口名 (g
YAO.Cc z
struts.velocity.toolboxlocation t4,6`d?C
The location of the Velocity toolbox WJ
mj|$D
velocity工具盒的位置 nc`[f y|}
struts.xslt.nocache `OBDx ^6F
Whether or not XSLT templates should not be cached Zaq:l[%
是否XSLT模版应该被缓存 @ws3X\`<C