struts2的struts.properties配置文件详解 !KT.p2\
XMykUr e|
struts.action.extension ~|"uuA1/#O
The URL extension to use to determine if the request is meant for a Struts action 44w
"U%+
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?' mP`9I
W5()A,R
struts.configuration f_;tFP
B
The org.apache.struts2.config.Configuration implementation class ?B)e8i<[f
org.apache.struts2.config.Configuration接口名 {zc*yV\
WP Gp(Xw
struts.configuration.files E7.{SGH}
A list of configuration files automatically loaded by Struts \d:Uq5d)0
struts自动加载的一个配置文件列表 O<mA+yk
C
OL"/3r
struts.configuration.xml.reload Fi 7~JZZ
Whether to reload the XML configuration or not R<hsG%BS(D
是否加载xml配置(true,false) O*N:.|dUw
1W-kZ(e
struts.continuations.package :/Z1$xS
The package containing actions that use Rife continuations 0B2f[A
含有actions的完整连续的package名称 "4T36b
<VQ@I
struts.custom.i18n.resources &oJ[ *pQ
Location of additional localization properties files to load a@9W'/?igk
加载附加的国际化属性文件(不包含.properties后缀) xF YHv@g
Xk:3w,
struts.custom.properties 8/y8tMm]
Location of additional configuration properties files to load
J-azBi
加载附加的配置文件的位置 mi5bk>o
;*U&lT
rTOex]@N
struts.devMode ;NAKU
Whether Struts is in development mode or not -]YsiE?r
是否为struts开发模式 Uxe]T
. S;o#Zw*R
struts.dispatcher.parametersWorkaround *IF~ab2
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Wcl =YB%
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) rJtk4hOF
CPY|rV
struts.enable.DynamicMethodInvocation B{S^t\T$
Allows one to disable dynamic method invocation from the URL X3XTB*
允许动态方法调用 Wh"xt:
]/%CTD(O
struts.freemarker.manager.classname p^p1{%=
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class w*(1qUF#%
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;7JyL|2
+K2HMf'
struts.i18n.encoding X)c0y3hk
The encoding to use for localization messages S3QX{5t\
国际化信息内码 uMZ<i}
3L4v@
struts.i18n.reload 62[_u]<Yub
Whether the localization messages should automatically be reloaded e:|Bn>*
是否国际化信息自动加载 z3yAb"1Hg
73+)> "x>
struts.locale 3lefB
A7
The default locale for the Struts application a0&R! E;
默认的国际化地区信息 /f! ze|
XILreATK@
struts.mapper.class A_|X54}w&
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2nB{oF-Z
org.apache.struts2.dispatcher.mapper.ActionMapper接口 m Wh
I@I-QiI
struts.multipart.maxSize wf,w%n
The maximize size of a multipart request (file upload) " VSma
multipart请求信息的最大尺寸(文件上传用) ;:w0%>X^
EN@<z;
struts.multipart.parser cdD?QnZ
The org.apache.struts2.dispatcher.multipart. Uc]sWcR
MultiPartRequest parser implementation for a multipart request (file upload) 5uL!Ae
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) RjGJfN{
p4wx&VLi
~JDVoS;>jU
struts.multipart.saveDir p-2PC{% t|
The directory to use for storing uploaded files I8
设置存储上传文件的目录夹 OF 1Qr bj
*nV*WUS3
struts.objectFactory s)7sgP
The com.opensymphony.xwork2.ObjectFactory implementation class *#sY-G d
com.opensymphony.xwork2.ObjectFactory接口(spring) G`FY[^:
ge$ p/
struts.objectFactory.spring.autoWire dC8,
Whether Spring should autoWire or not jmn<gJ2Of
是否自动绑定Spring
7D\:i1~
&u9@FFBT8
struts.objectFactory.spring.useClassCache T9-2"M=|<
Whether Spring should use its class cache or not YC =:W
是否spring应该使用自身的cache e<HHgC#J
kZ<"hsh,Y'
struts.objectTypeDeterminer h)sQ3B.}A
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qnTW?c9Z5
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 A%%Vyz
{7LNQGiJ
struts.serve.static.browserCache I+']av8e
If static content served by the Struts filter should set browser caching header properties or not j@Y'>3
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 P] qL&_
^(T_rEp
struts.serve.static "4/J4'-
Whether the Struts filter should serve static content or not 1'BC
R
是否struts过滤器应该提供静态内容 Vae=Yg=fw
.5GGZfJ]
struts.tag.altSyntax Ae_:Kc6
Whether to use the alterative syntax for the tags or not +L|-W9"@3
是否可以用替代的语法替代tags dNT<![X\
+$\/HO
struts.ui.templateDir _REAzxeS
The directory containing UI templates 2HF_kYZ
UI templates的目录夹 ]r(s02
b!c2j
struts.ui.theme y5`$Aa4~
The default UI template theme o ^Ro 54i
默认的UI template主题 F`RPXY`ux
Wr;9Mz&{
struts.url.http.port _j}jh[M
The HTTP port used by Struts URLs 8>a%L?BY
设置http端口 4-JyK%m,0
bSj-xxB]e
struts.url.https.port ] Wx?k7T
The HTTPS port used by Struts URLs Ktn:6=,
设置https端口 .1A/hAdU
TWSx9ii!M:
struts.url.includeParams Ln"D .gpq
The default includeParams method to generate Struts URLs 87yZd8+)
在url中产生 默认的includeParams '))K'
u
D /bF
4{CeV7
struts.velocity.configfile HJt@m
&H|
The Velocity configuration file path 't3&,:Y
velocity配置文件路径 OZ6:u^OS]
G?<uw RV
struts.velocity.contexts 8M8Odz\3 q
List of Velocity context names %abc-q
velocity的context列表 *1g3,NMA
*~Sv\L
AfvIzsT0
struts.velocity.manager.classname DAf0bh"
org.apache.struts2.views.velocity.VelocityManager implementation class PM`iqn)@
org.apache.struts2.views.velocity.VelocityManager接口名 =[nuesP'
P`AW8Y6o
struts.velocity.toolboxlocation ,C0D|q4/!.
The location of the Velocity toolbox y_LFkZ
velocity工具盒的位置 =buarxk
struts.xslt.nocache (CInt_dBw~
Whether or not XSLT templates should not be cached iCtS<"@Yx
是否XSLT模版应该被缓存 =B0AG9Fz