struts2的struts.properties配置文件详解 ropiyT9;
A3$b_i @P
struts.action.extension #3$|PM7,_
The URL extension to use to determine if the request is meant for a Struts action |S}*M<0
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 VA%i_P,
0q;] ;m
struts.configuration 7U7 i2 4
The org.apache.struts2.config.Configuration implementation class t8+93,*B
org.apache.struts2.config.Configuration接口名 E,$uNw ']
SYwNx">Bq
struts.configuration.files ;(,Fe/wvC
A list of configuration files automatically loaded by Struts aRwBxf
struts自动加载的一个配置文件列表
'ng/A4
vJ'
93h
struts.configuration.xml.reload LYFvzw>M
Whether to reload the XML configuration or not -XyuA:pxx
是否加载xml配置(true,false) H}~^,B2;
OE"Bb
struts.continuations.package *Wa u7
The package containing actions that use Rife continuations M:$nL
含有actions的完整连续的package名称 l{AT)1;^
f$'D2o, O
struts.custom.i18n.resources Uwk|M?94
Location of additional localization properties files to load LN^8U
加载附加的国际化属性文件(不包含.properties后缀) 0A9cu,ZdUR
~e8n yB
struts.custom.properties m>!#}EJ|
Location of additional configuration properties files to load q Q'@yTVN
加载附加的配置文件的位置 N-|Jj?c
bW|y -GM
O5?Eb
struts.devMode yB1>83!q
Whether Struts is in development mode or not u2Obb`p S
是否为struts开发模式 4{g|$@s(
qh 3f
struts.dispatcher.parametersWorkaround xL"%2nf
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F)w83[5_d
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8IH gsW";
I2T2'_I
struts.enable.DynamicMethodInvocation .#J3UZ
Allows one to disable dynamic method invocation from the URL ( -@>
允许动态方法调用 B$Z!E%a;
+bnw,B><
struts.freemarker.manager.classname ||HIp9(3
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class NZ5~\k
org.apache.struts2.views.freemarker.FreemarkerManager接口名 mK-:laIL"
SI9hS4<j
struts.i18n.encoding eV0S:mit
The encoding to use for localization messages U;@jl?jnG
国际化信息内码 bg}77Y'^
8|GpfW3p2
struts.i18n.reload $ZO<8|bW
Whether the localization messages should automatically be reloaded J.l%HU
是否国际化信息自动加载 %5gJ6>@6Z
-pu\p-Z
struts.locale tW>R 16zq
The default locale for the Struts application B;r$( 'UZ
默认的国际化地区信息 yFo5 pKF.J
eHe /w9`$R
struts.mapper.class `qz5rPyZ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {eEWfMKIn
org.apache.struts2.dispatcher.mapper.ActionMapper接口 GcCs}(eo
_'U?!
struts.multipart.maxSize E;H(jVZ
The maximize size of a multipart request (file upload) n #I}!x>2
multipart请求信息的最大尺寸(文件上传用) Kj
8 W
f :5/y^M&
struts.multipart.parser ,?6m"ov4(
The org.apache.struts2.dispatcher.multipart. 5I,X#}K[
MultiPartRequest parser implementation for a multipart request (file upload) ew$Z5N:
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) x?'%
;hJ*u
A5ID I<a
struts.multipart.saveDir Uc0'XPo3I
The directory to use for storing uploaded files ="R6YL
设置存储上传文件的目录夹 ie5ijkxZ(
EIQy?ig86
struts.objectFactory nn:pf1
The com.opensymphony.xwork2.ObjectFactory implementation class J*X.0&Toc
com.opensymphony.xwork2.ObjectFactory接口(spring) s.)w
A`&&
{fv8S;|u
struts.objectFactory.spring.autoWire oZ:F3 GQ4Q
Whether Spring should autoWire or not neFno5d j
是否自动绑定Spring {{%8|+B
MToQ8qKs
struts.objectFactory.spring.useClassCache .G~5F- 8'
Whether Spring should use its class cache or not 'LLx$y.Ei[
是否spring应该使用自身的cache #%"TU,[+
UO<claV
struts.objectTypeDeterminer R7c)C8/~
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *AR<DXEL
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -yGm^EwP
NV4W2thYo
struts.serve.static.browserCache /,Id_TTCO
If static content served by the Struts filter should set browser caching header properties or not 'a?.X _t
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $ow`)?sh
F)kLlsp
struts.serve.static <9tG_
Whether the Struts filter should serve static content or not vXQmEIm
是否struts过滤器应该提供静态内容 <#
r.}T.l
7h/Q;P5
struts.tag.altSyntax 0]W]#X4A
Whether to use the alterative syntax for the tags or not +STzG/9#
是否可以用替代的语法替代tags 72vGfT2HtZ
=e-aZ0P
struts.ui.templateDir ,ri--<
The directory containing UI templates TbAdTmW
UI templates的目录夹 8z8SwWS?
.OS?^\
struts.ui.theme )}\@BtcjA]
The default UI template theme )ZyuF(C&
默认的UI template主题 !>Y\&zA
]mo<qWRc>p
struts.url.http.port
Rha3
The HTTP port used by Struts URLs !&jgcw/E
设置http端口 jI<WzvhYG
|0R%!v(,
struts.url.https.port oe|<xWu
The HTTPS port used by Struts URLs qgsE7 ]
设置https端口 "d>g)rvOc
A""*vqA
struts.url.includeParams ||ZufFO
The default includeParams method to generate Struts URLs zRE8299%z
在url中产生 默认的includeParams UA4d|^ev
4?M3#],'h
Xb:BIp!e
struts.velocity.configfile fA0=Y,pzv
The Velocity configuration file path JgKZ;GM:W
velocity配置文件路径 NV(4wlh)y
eEGcio}_I9
struts.velocity.contexts ,W8Iabi^
List of Velocity context names C*6)Ut '
velocity的context列表 TIWLp
%<#3_}"T|
^*ezj1
struts.velocity.manager.classname
@:QdCG+
org.apache.struts2.views.velocity.VelocityManager implementation class 53*, f
org.apache.struts2.views.velocity.VelocityManager接口名 @&xaaqQ-
~nc([%!=
struts.velocity.toolboxlocation )'dH}3Ba
The location of the Velocity toolbox q;0&idYC
velocity工具盒的位置 :`^3MMLO
struts.xslt.nocache bKJ7vXC05
Whether or not XSLT templates should not be cached yO,`"Dc_0
是否XSLT模版应该被缓存 S<]a@9W