struts2的struts.properties配置文件详解 W>-Et7&2
F}Vr:~
struts.action.extension ]smkTo/
The URL extension to use to determine if the request is meant for a Struts action ()&~@1U
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 X7k.zlH7T
|5Xq0nvCe
struts.configuration rZ8`sIWQt
The org.apache.struts2.config.Configuration implementation class @gY)8xMbA
org.apache.struts2.config.Configuration接口名 cwiX8e"3
&0f5:M{P
struts.configuration.files KYzv$oK
A list of configuration files automatically loaded by Struts 9tF9T\jW
struts自动加载的一个配置文件列表 jKt7M>P
%*BlWk!Q
struts.configuration.xml.reload 6@DF
Whether to reload the XML configuration or not 8M!:N(a
是否加载xml配置(true,false) 95el'K[R
oudxm[/U
struts.continuations.package "DYJ21Ut4
The package containing actions that use Rife continuations pK0"%eA
含有actions的完整连续的package名称 P.gb1$7<
\rv<$d@L
struts.custom.i18n.resources '],J$ge
Location of additional localization properties files to load 03C0L&
加载附加的国际化属性文件(不包含.properties后缀) 0_ 88V
c38D}k^):
struts.custom.properties |\pbir
Location of additional configuration properties files to load dAuJXGo
加载附加的配置文件的位置 Kr)a2rZ}SL
K6R.@BMN
KCs[/]
struts.devMode 'inFKy'H
Whether Struts is in development mode or not %7|9sQ:
是否为struts开发模式 50X([hIr
wb0L.'jyR)
struts.dispatcher.parametersWorkaround ov, hI>0!D
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3W
N@J6?
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) a|X a3E
CB^U6ZS
struts.enable.DynamicMethodInvocation vam;4vyu
Allows one to disable dynamic method invocation from the URL u A<n
允许动态方法调用
094o'k
\.-bZ$
struts.freemarker.manager.classname hv?9*tLh0
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class x7Yu I
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~A\GT$
?{[
v+t#
struts.i18n.encoding `x*Pof!Io
The encoding to use for localization messages A*\.NTM
国际化信息内码 \2h!aRWR
I`!<9OTBj
struts.i18n.reload " )1V]}+m
Whether the localization messages should automatically be reloaded BI%$c~wS
是否国际化信息自动加载 e~=;c
X9V *UXTc
struts.locale t7aefV&_,
The default locale for the Struts application n"c[,k+R`U
默认的国际化地区信息 'DCTc&J['
T{-CkHf9Q
struts.mapper.class fb e[@#:
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \XZ/v*d0
org.apache.struts2.dispatcher.mapper.ActionMapper接口 =%TWX[w
gtppv6<Mj4
struts.multipart.maxSize Hquc
o
The maximize size of a multipart request (file upload) xqu}cz
multipart请求信息的最大尺寸(文件上传用) V@g'#={r
g,!L$,/F
struts.multipart.parser s;ls qQk
The org.apache.struts2.dispatcher.multipart. 0Qf,@^zL*
MultiPartRequest parser implementation for a multipart request (file upload) u 7>],<
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (@fHl=! Za
z7fp#>uw
\!.B+7t=I
struts.multipart.saveDir 8}O lL,fP
The directory to use for storing uploaded files inMA:x}cF1
设置存储上传文件的目录夹 *RJG!t*t
gCB |DY
struts.objectFactory Q+{xZ'o"Z
The com.opensymphony.xwork2.ObjectFactory implementation class -cAo@}v
com.opensymphony.xwork2.ObjectFactory接口(spring) g}1B;zGf
'c9]&B
struts.objectFactory.spring.autoWire Yg||{
Whether Spring should autoWire or not n FHUy9q
是否自动绑定Spring KJ)k =mJ
3YOq2pW72G
struts.objectFactory.spring.useClassCache &5B'nk"
Whether Spring should use its class cache or not }C"%p8=HM
是否spring应该使用自身的cache z]_wjYn Z
$r@zs'N
struts.objectTypeDeterminer vc;$-v$&
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \wz6~5R
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Z&+ g;(g
6H.0vN&
struts.serve.static.browserCache Bu~]ey1
If static content served by the Struts filter should set browser caching header properties or not PR#exm&
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 BLQ 6A<
_)3|f<E_t)
struts.serve.static 5H<m$K4z
Whether the Struts filter should serve static content or not c_$=-Khk
是否struts过滤器应该提供静态内容 'uSn}hm
K7_UP&`=J
struts.tag.altSyntax 'T*&'RQr
Whether to use the alterative syntax for the tags or not _^Ubs>d=*
是否可以用替代的语法替代tags >
PRFWO
qZ}^;)a^
struts.ui.templateDir 24 ' J
The directory containing UI templates t6"%3#s
UI templates的目录夹 vtg!8u4
?Jm^<
struts.ui.theme $f
<(NM6?
The default UI template theme 3) <yod=
默认的UI template主题 V(I8=rVH
BO?%'\
struts.url.http.port gV's=cQ
The HTTP port used by Struts URLs mp1@|*Sn
设置http端口 Ju@c~Xm
X]TG<r
struts.url.https.port #jvtUS \
The HTTPS port used by Struts URLs U)o-8OEZ9
设置https端口 UERLtSQ
zFfr.g;L
struts.url.includeParams _`j7clEz
The default includeParams method to generate Struts URLs oWT3apGO
在url中产生 默认的includeParams hE D}h![
I^-Sb=j?Z
?(1y
struts.velocity.configfile W' VslZG
The Velocity configuration file path \;Biq`
velocity配置文件路径 q"lSZ;
'E
!c
Hum
struts.velocity.contexts >1Ibc=}g
List of Velocity context names *Hn8)x}E
velocity的context列表 (mpNcOY<D
b{&)6M)zo
s/#!VnU6
struts.velocity.manager.classname k1~&x$G
org.apache.struts2.views.velocity.VelocityManager implementation class 194)QeoFw
org.apache.struts2.views.velocity.VelocityManager接口名 F@KGj|
S9y}
struts.velocity.toolboxlocation oJz^|dW
The location of the Velocity toolbox C,4e"yynb
velocity工具盒的位置 I; rGD^
struts.xslt.nocache \dah^mw"
Whether or not XSLT templates should not be cached nU7[c| =
是否XSLT模版应该被缓存 +
{'.7#