struts2的struts.properties配置文件详解 PM {L}tEQ
(ijO|%?
struts.action.extension MUN:}S
The URL extension to use to determine if the request is meant for a Struts action =3,Sjme
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 nXxnyom,
)%!X,
struts.configuration (hv}K*c{
The org.apache.struts2.config.Configuration implementation class R/^;,.
org.apache.struts2.config.Configuration接口名 .=c@ps
>g [Wnzf
struts.configuration.files DFGgyFay
A list of configuration files automatically loaded by Struts xrJ0
struts自动加载的一个配置文件列表 ~<osL
%u]>K(tU
struts.configuration.xml.reload [Kbna>`
Whether to reload the XML configuration or not O9p^P%U "
是否加载xml配置(true,false) 0upZ4eN
!A_KCM:Ym
struts.continuations.package 2b:I.
The package containing actions that use Rife continuations mFIIqkUAL
含有actions的完整连续的package名称 Uf$IH!5;Z
?/p."N:]H
struts.custom.i18n.resources a1weTn*
Location of additional localization properties files to load RZj06|r8
加载附加的国际化属性文件(不包含.properties后缀) <)@^TRS
Pp|pH|(n ,
struts.custom.properties fK=vLcH
Location of additional configuration properties files to load .+^o {b
加载附加的配置文件的位置 ]d&;QZ#w
w Kz*)C
8[8U49V9(
struts.devMode ,z0E2
Whether Struts is in development mode or not :!,.c$M
是否为struts开发模式 81wmKqDEs
6M8(KN^
struts.dispatcher.parametersWorkaround -%t8a42
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic r8L'C
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) B#4 J![BX
e}L(tXZ
struts.enable.DynamicMethodInvocation yhyh\.
Allows one to disable dynamic method invocation from the URL )#Y:Bj7H@2
允许动态方法调用 P~"""3de4
Fd9Z7C
struts.freemarker.manager.classname 7|?Ht]
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class jH4Wu`r;m
org.apache.struts2.views.freemarker.FreemarkerManager接口名 9p"';*{=
m$q*
struts.i18n.encoding UAdj[m61
The encoding to use for localization messages /B
国际化信息内码 *P[N.5{
h^b=
struts.i18n.reload P`M1sON~
Whether the localization messages should automatically be reloaded Y+~>9-S
是否国际化信息自动加载
2f -Or/v
#kQLHi3##
struts.locale z.kBQ{P
The default locale for the Struts application %M05& <
默认的国际化地区信息 {|@N~c+
Wy$Q!R=i
struts.mapper.class 7jF2m'(
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2?owXcbx
org.apache.struts2.dispatcher.mapper.ActionMapper接口 d _koF-7
TC'^O0aZ_
struts.multipart.maxSize gr$H?|n l
The maximize size of a multipart request (file upload) )i>T\B
multipart请求信息的最大尺寸(文件上传用)
H*>5ne=x
N" oJ3-~
struts.multipart.parser h$fC/Juit
The org.apache.struts2.dispatcher.multipart. |n&EbOmgf
MultiPartRequest parser implementation for a multipart request (file upload) ^kj%Ekt7
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,1e@Y~eZ
>(a/K2$*1
HLM"dmI
struts.multipart.saveDir = G3A}
The directory to use for storing uploaded files \[x4
设置存储上传文件的目录夹 9L9mi<,
<i1P ~
struts.objectFactory q0
8
The com.opensymphony.xwork2.ObjectFactory implementation class [x|{VJ(h
com.opensymphony.xwork2.ObjectFactory接口(spring) &,`P%a&k
Aaix?
|XN
struts.objectFactory.spring.autoWire GpM_Qp
Whether Spring should autoWire or not J)Td'iT(
是否自动绑定Spring )F35WP~
BLhuYuON
struts.objectFactory.spring.useClassCache ]dIr;x`
Whether Spring should use its class cache or not :J+GodW
是否spring应该使用自身的cache y<5xlN(+v
uM~j
struts.objectTypeDeterminer .](s\6'
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class D$c4's`5
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 S-+^L|
meV
RdQ
struts.serve.static.browserCache _26F[R1><~
If static content served by the Struts filter should set browser caching header properties or not ktKT=(F&
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 hC= ="4 -
x;R9Gc[5
struts.serve.static <$
Ar*<,6
Whether the Struts filter should serve static content or not Z?-l-sK
是否struts过滤器应该提供静态内容 T/C1x9=?
W1J7$
struts.tag.altSyntax (wIpq<%
Whether to use the alterative syntax for the tags or not ouUU(jj02
是否可以用替代的语法替代tags \6${Na'\
c
=i6
struts.ui.templateDir n_*k
e
The directory containing UI templates Nm=W?i
UI templates的目录夹 nEm+cHHo?
vd<"
G}
struts.ui.theme Ws`P(WHm
The default UI template theme ,*Yu~4
默认的UI template主题 07+Qai-]
<kmn3w,vi
struts.url.http.port w~g)Dz2G
The HTTP port used by Struts URLs `4 A%BKYB
设置http端口 KmkPq]
),)]gw71QW
struts.url.https.port [e'Ts#($A
The HTTPS port used by Struts URLs vQ}llA
h
设置https端口 w#,C{6
rB:W\5~7
struts.url.includeParams b
fsTe W+
The default includeParams method to generate Struts URLs ,9p
4(jjX
在url中产生 默认的includeParams p`JD8c
jM90
gPX>,
y(8AxsROp
struts.velocity.configfile mko<J0|4
The Velocity configuration file path qyuU
velocity配置文件路径 `=Hh5;ep
y85/qg)H^
struts.velocity.contexts #SRGVa`x
List of Velocity context names ZOG6
velocity的context列表 ]f q.r
j{9sn,<:
xAD: Z"
struts.velocity.manager.classname \6xVIQ& 0
org.apache.struts2.views.velocity.VelocityManager implementation class BS;_l"?
org.apache.struts2.views.velocity.VelocityManager接口名 b#^UP
;,]T|>M
struts.velocity.toolboxlocation jxr~cp?4
The location of the Velocity toolbox i4N'[ P}
velocity工具盒的位置 dg4 QA_"
struts.xslt.nocache g%Ap <iT
Whether or not XSLT templates should not be cached (;' ?56
是否XSLT模版应该被缓存 <gKT 7ONtg