struts2的struts.properties配置文件详解 pa6-3c
, n47.S
struts.action.extension =o,6iJ^?$m
The URL extension to use to determine if the request is meant for a Struts action m 3"|$0C~
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ? VHOh9|AT
Nr0}*8#j
struts.configuration p7]V1w :
The org.apache.struts2.config.Configuration implementation class -i"?2gK
org.apache.struts2.config.Configuration接口名 ~cW,B}
qku!Mg
struts.configuration.files MI|anM
A list of configuration files automatically loaded by Struts qBcwM=R3P
struts自动加载的一个配置文件列表 ^ub@Jwe
g+/m:(7[s|
struts.configuration.xml.reload t(5PKD#~Dc
Whether to reload the XML configuration or not o_on/{qz
是否加载xml配置(true,false) P^& =L&U
H 5'Ke+4.e
struts.continuations.package [BKX$A:Y
The package containing actions that use Rife continuations {K >}eO:K
含有actions的完整连续的package名称 <%:,{u6
@1O.;
struts.custom.i18n.resources u%I |o s]
Location of additional localization properties files to load *_!}g
]
加载附加的国际化属性文件(不包含.properties后缀) -)$5[jM]
h][$1b&B
struts.custom.properties pn-`QB:{h
Location of additional configuration properties files to load >}6V=r3[+
加载附加的配置文件的位置 |Y]4PT#EE
fFJu]
.%T.sQ
struts.devMode IO}53zn<l
Whether Struts is in development mode or not db0]D\
是否为struts开发模式 Eao^/MKx-
TjLW<D(i>
struts.dispatcher.parametersWorkaround )lDmYt7me
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic < r7s,][&
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) VDy\2-b8d
ylwh_&>2
struts.enable.DynamicMethodInvocation u#~q86k
Allows one to disable dynamic method invocation from the URL e|S_B*1*0
允许动态方法调用 7dtkylW
}>< v7
struts.freemarker.manager.classname 9@yi
UX
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class L@>$
Aw
org.apache.struts2.views.freemarker.FreemarkerManager接口名 p^THoF'~T
d@e2+3<
struts.i18n.encoding *dmS'/
The encoding to use for localization messages c%vtg.A
国际化信息内码 8\B]!
II)
K0<
struts.i18n.reload ^q)AO?_
Whether the localization messages should automatically be reloaded HGl.dO7NU
是否国际化信息自动加载 3T84f[CFJ
8qWN~Gk1p{
struts.locale VL2+"<
The default locale for the Struts application "1|\V.>>;
默认的国际化地区信息 UNJAfr P
c4Wl^E8
struts.mapper.class `Tk GI0q
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `|WEzW~
org.apache.struts2.dispatcher.mapper.ActionMapper接口 :hFKmoy#
C q)Cwc[H
struts.multipart.maxSize 8Ai\T_l
The maximize size of a multipart request (file upload) Wf:LYL
multipart请求信息的最大尺寸(文件上传用) ^\C Fke=
KGJ *h
struts.multipart.parser 8T?D#,/
The org.apache.struts2.dispatcher.multipart. FW)VyVFmk
MultiPartRequest parser implementation for a multipart request (file upload) +sT S1t
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ld?'X=eQ
V_/.]zQA
zyP9
n[eZ
struts.multipart.saveDir 9:,ZG4s
The directory to use for storing uploaded files kwUy^"O
设置存储上传文件的目录夹 <rxtdI"3
zvK'j"Wq=
struts.objectFactory sf"vi i,1A
The com.opensymphony.xwork2.ObjectFactory implementation class MFQyB+Z
com.opensymphony.xwork2.ObjectFactory接口(spring) eI,H
2#oU2si
struts.objectFactory.spring.autoWire G j^*
Whether Spring should autoWire or not ?azcWf z0
是否自动绑定Spring 3?e~J"WXC5
K5^`,}Q^
struts.objectFactory.spring.useClassCache nzU;Bi^m
Whether Spring should use its class cache or not x;{Hd;<YF
是否spring应该使用自身的cache Jq?Fi'2F%
b|e1HCH
struts.objectTypeDeterminer eZ BC@y
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "x3x$JQZy
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2N{^V?:
|k^C-
struts.serve.static.browserCache W*B=j[w
If static content served by the Struts filter should set browser caching header properties or not "
v<O)1QT
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 z(Z7[#.
%n6NVi_[
struts.serve.static 2"HG6"Rr
Whether the Struts filter should serve static content or not E0AbVa.
是否struts过滤器应该提供静态内容
z69u@
&Ufp8[
struts.tag.altSyntax sI.p(
-KQ
Whether to use the alterative syntax for the tags or not hn~btu9h
是否可以用替代的语法替代tags
nZ)E @
aWPf3Q
struts.ui.templateDir #Vu;R5GZ}
The directory containing UI templates />N# PF
UI templates的目录夹 =R<92v
XFYa+]B2q
struts.ui.theme 33; '6/
The default UI template theme f `D(V-4
默认的UI template主题 "j&'R#$&d
n
=WH=:&
struts.url.http.port sF>O=F-7
The HTTP port used by Struts URLs 'iTY?
设置http端口 YmpaLZJ
OAD W;fj
struts.url.https.port \B^NdG5Y
The HTTPS port used by Struts URLs F]t=5
-O<
设置https端口 >bd@2au9!
\KzH5 ?
struts.url.includeParams cg o
The default includeParams method to generate Struts URLs ?J,,RK.
在url中产生 默认的includeParams J.'%=q(Sb
I&m' a
a#k7 aOT0
struts.velocity.configfile l4dG=x}M]
The Velocity configuration file path <nb%$2r1
velocity配置文件路径 QM*
T?PR
Oet+$ b
struts.velocity.contexts KyyVO"
List of Velocity context names ;b:'i&r
velocity的context列表 $8xb|S[
9K#3JyW*
];lZ:gT
struts.velocity.manager.classname C JER&"em7
org.apache.struts2.views.velocity.VelocityManager implementation class vS)>g4
org.apache.struts2.views.velocity.VelocityManager接口名 R :(-"GW'
ma+AFCi
struts.velocity.toolboxlocation ".%d{z}vz
The location of the Velocity toolbox 7RWgc]@?>
velocity工具盒的位置 !><asaB]1
struts.xslt.nocache
)UM^#<-
Whether or not XSLT templates should not be cached <e?Eva%t`
是否XSLT模版应该被缓存 3z(4axH'