struts2的struts.properties配置文件详解 /
pzdX%7
Ov"]&e(I[
struts.action.extension =3OK3|
The URL extension to use to determine if the request is meant for a Struts action km2('t7?
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;LE4U OK
}r$&"wYM
struts.configuration $E3-</ f
The org.apache.struts2.config.Configuration implementation class 0UZ>y/
C)=
org.apache.struts2.config.Configuration接口名 :b)IDcW&j:
=gS?atbX
struts.configuration.files J#vIzQ
A list of configuration files automatically loaded by Struts '_,/N!-V
struts自动加载的一个配置文件列表 O,R5csMh
R>SS\YC'X
struts.configuration.xml.reload t!RR5!
Whether to reload the XML configuration or not p3ox%4
是否加载xml配置(true,false) ~>&7~N8
=r"8J5[f
struts.continuations.package _O)xE9t#ru
The package containing actions that use Rife continuations /!;oO_U:#
含有actions的完整连续的package名称 1>P[3Y@}
+aaj3m
struts.custom.i18n.resources O=UXe]D
Location of additional localization properties files to load ehk5U,d
加载附加的国际化属性文件(不包含.properties后缀) vN:gu\^-
8uq^Q4SU
struts.custom.properties >Jh*S`e
Location of additional configuration properties files to load F8M&.TE_3
加载附加的配置文件的位置 y\Kr@;q0w
CsHHJgx
r_nB-\
struts.devMode Qb<i,`SN
Whether Struts is in development mode or not uKc x$
是否为struts开发模式 IvGQ7
VLr
"s!!\/^9C
struts.dispatcher.parametersWorkaround 52?zBl`|
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1=(jpy
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) c* 2U'A
eJA$J=^R;
struts.enable.DynamicMethodInvocation MyB&mC7Es
Allows one to disable dynamic method invocation from the URL u(l[~r>8W;
允许动态方法调用 rx2?y3pv
%@
UH,Ew
struts.freemarker.manager.classname ITJ{]7N
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class BrF/-F
org.apache.struts2.views.freemarker.FreemarkerManager接口名 nMXk1`|/)x
A>WMPe:sSS
struts.i18n.encoding it]im
The encoding to use for localization messages }5c%v1
国际化信息内码 i!g}PbC[
r09gB#K4
struts.i18n.reload 873$EiyXR
Whether the localization messages should automatically be reloaded ]j> W9n?
是否国际化信息自动加载 hkV;(Fr&z
0WT]fY?IS
struts.locale a (AKVk\
The default locale for the Struts application ]D?//
默认的国际化地区信息 ta"uxL\gge
G165grGFd
struts.mapper.class ~hK7(K
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class F.5'5%
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Z(DCR/U=(>
d: D`rpcC
struts.multipart.maxSize oV"d%ks
The maximize size of a multipart request (file upload) xxjg)rVuy
multipart请求信息的最大尺寸(文件上传用) xC N6?
{gh41G;n
struts.multipart.parser 2gM=vaiH=
The org.apache.struts2.dispatcher.multipart. kFKc9}7W
MultiPartRequest parser implementation for a multipart request (file upload) Mo?eVtZ
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) s~e<Pr?yu
4=/5
hRAI7xk
struts.multipart.saveDir 7P1G^)
The directory to use for storing uploaded files a&:1W83
设置存储上传文件的目录夹 ;pe1tp
H$'|hUwds%
struts.objectFactory U\aP
The com.opensymphony.xwork2.ObjectFactory implementation class =k.:XblEe[
com.opensymphony.xwork2.ObjectFactory接口(spring) EdGA#i3
,fWQSc\}
struts.objectFactory.spring.autoWire ;W%nBdE6|
Whether Spring should autoWire or not (NfP2E|B
是否自动绑定Spring tUX4#{)q(j
ycYT1Sg8
struts.objectFactory.spring.useClassCache 2iOn\
^]x
Whether Spring should use its class cache or not 1ocd$)B|}
是否spring应该使用自身的cache TdGda'C
l
e+6;'Q
struts.objectTypeDeterminer S&/</%
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3#GZ6:rVJ
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 aD)$aK
!ieMhJ5r
struts.serve.static.browserCache o95)-Wb
If static content served by the Struts filter should set browser caching header properties or not i%BrnjX
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cr GFU?8
1B}q?8n
struts.serve.static u#(&
R"6
Whether the Struts filter should serve static content or not 6cR}Mm9Hx3
是否struts过滤器应该提供静态内容 GJZGHUB=>
PJd7t%m;
struts.tag.altSyntax Pdgn9
Whether to use the alterative syntax for the tags or not 3a9%djGq
是否可以用替代的语法替代tags 5)712b(&
rP4v_?Zg+
struts.ui.templateDir vW6
a=j8
The directory containing UI templates 5cc;8i
UI templates的目录夹 J%VcvBaJm
.CJQ]ECl7p
struts.ui.theme Xae0xs
The default UI template theme d)@Hx8
默认的UI template主题 EY3x o-H
'I$-h<W
struts.url.http.port 8:#\g
The HTTP port used by Struts URLs pe^hOzVv
设置http端口 (EW<Ggi
5>9KW7^L
struts.url.https.port i4<&zj})
The HTTPS port used by Struts URLs -,xCUG<g
设置https端口 :Y? L*
;8F|Q<`pV
struts.url.includeParams -NzO ,?
The default includeParams method to generate Struts URLs L'i0|_
在url中产生 默认的includeParams eAqSY s!1
E}Ir<\
X;2I'
Kg
struts.velocity.configfile nsT]Yxo%M
The Velocity configuration file path 6yDj1PI
velocity配置文件路径 ,m4M39MWJ
JA]TO(x
struts.velocity.contexts 0!4;."S
List of Velocity context names cnJL*{H<2
velocity的context列表 '5^$v{
g/*x;d=
m(2(Caz{
struts.velocity.manager.classname 6d4e~F
org.apache.struts2.views.velocity.VelocityManager implementation class bx!uHL=
org.apache.struts2.views.velocity.VelocityManager接口名 sb1Zm*m6
u_kcuN\Sq
struts.velocity.toolboxlocation ceiUpWMu,
The location of the Velocity toolbox kXjrc
velocity工具盒的位置 ,E7+Z' ;
struts.xslt.nocache (tZ#EL0
Whether or not XSLT templates should not be cached l'yX_`*Iq
是否XSLT模版应该被缓存 :+ASZE.