struts2的struts.properties配置文件详解 eAXc:222
}2<r,
struts.action.extension TcIcS]w%
The URL extension to use to determine if the request is meant for a Struts action =4[v3Qx
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \n{qsf:
{. 2k6_1[
struts.configuration <Fi%iA
The org.apache.struts2.config.Configuration implementation class z*kutZ:6Y
org.apache.struts2.config.Configuration接口名 MNC*Glj=
CsTF
struts.configuration.files
0uWR<,]
A list of configuration files automatically loaded by Struts 3{""58
struts自动加载的一个配置文件列表 b?TO=~k,
?3*l{[@J
struts.configuration.xml.reload i
7_ _
Whether to reload the XML configuration or not /e7O$L)
是否加载xml配置(true,false) ^.#jF#u~
P/c&@_b
struts.continuations.package fIj|4a+
The package containing actions that use Rife continuations nN*w~f"
含有actions的完整连续的package名称 QrfG^GID
'qjeXqGH$
struts.custom.i18n.resources JQV%fTH S
Location of additional localization properties files to load LA@w:Fg
加载附加的国际化属性文件(不包含.properties后缀) "]z-: \ V
dQ_!)f&w1
struts.custom.properties ~V&aUDO>/
Location of additional configuration properties files to load h(M#f7'~&
加载附加的配置文件的位置 TR<<+
k%D+Y(WGz8
R($KSui
struts.devMode jqv- D
Whether Struts is in development mode or not dik:4;
是否为struts开发模式 4"{ooy^Q
dE:+k/
struts.dispatcher.parametersWorkaround ^~G8?]w
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ZkA U17f
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &GlwC%$S
U4gF(Q
struts.enable.DynamicMethodInvocation _{r=.W+w
Allows one to disable dynamic method invocation from the URL @c<3b2
允许动态方法调用 LUuZ9$t0J"
J13>i7]L%
struts.freemarker.manager.classname hJDi7P
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :Qumb
org.apache.struts2.views.freemarker.FreemarkerManager接口名 5#> 8MU?&
#gp,V#T
struts.i18n.encoding MKy[hT:
The encoding to use for localization messages }*lUah,@
国际化信息内码 +w.JpbQ&
>c9a0A
struts.i18n.reload 11<Qxu$rL
Whether the localization messages should automatically be reloaded #tZ4N7
是否国际化信息自动加载 |55N?=8
&m|wH4\
struts.locale AT9q3
The default locale for the Struts application g{8,Wx,,
默认的国际化地区信息 1jN-4&
hg+X(0
struts.mapper.class :@ %4
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class QS{1CC9$
org.apache.struts2.dispatcher.mapper.ActionMapper接口 W0epAGrB
Ys,{8Y,7
struts.multipart.maxSize Z$0uH* h
The maximize size of a multipart request (file upload) /[Z,MG
multipart请求信息的最大尺寸(文件上传用) ZHGC6a!a
)=AHf?hn
struts.multipart.parser b!sRk@LGZ
The org.apache.struts2.dispatcher.multipart. fRtUvC-#H
MultiPartRequest parser implementation for a multipart request (file upload) O)ME"@r@:
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'h^0HE\~p
MxGu>r
j:E<p_T
struts.multipart.saveDir
KnsT\>[K
The directory to use for storing uploaded files qW!]co
设置存储上传文件的目录夹 s<oNE)xe
A-4h
struts.objectFactory J.ck~;3
The com.opensymphony.xwork2.ObjectFactory implementation class %!du,2
com.opensymphony.xwork2.ObjectFactory接口(spring) 6ek;8dL
Y}uCP1v
struts.objectFactory.spring.autoWire \|E^v6E%0
Whether Spring should autoWire or not AgFVv5
是否自动绑定Spring 7b<je=G6PA
ai
nG6Y<O`
struts.objectFactory.spring.useClassCache =|I>G?g-
Whether Spring should use its class cache or not PI`jExL
是否spring应该使用自身的cache q o\?o
_io+YzS
struts.objectTypeDeterminer [k6nW:C
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [ {
bV4
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ADpmvW f?
du)~kU>l
struts.serve.static.browserCache .G+Pe'4a
If static content served by the Struts filter should set browser caching header properties or not M@?xa/E64
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 p;W.lcO`0
DdVF,
struts.serve.static :,J}z~I,lB
Whether the Struts filter should serve static content or not agjv{
是否struts过滤器应该提供静态内容 [1F*bI
Iz
;G*W18
struts.tag.altSyntax Yc,7tUz#
Whether to use the alterative syntax for the tags or not Y7vA`kjD-C
是否可以用替代的语法替代tags Sh?4ri@:
%,Ap7X3:QT
struts.ui.templateDir :{oZ ~<
The directory containing UI templates ~-PjW#J%
UI templates的目录夹 df
n9!h
Q8DQlqHm
struts.ui.theme ;_^fk&+
The default UI template theme 0#ClWynjRO
默认的UI template主题 Eh|]i;G%
G.(mp<-
struts.url.http.port ( YQWbOk
The HTTP port used by Struts URLs *,Za6.=
设置http端口 w9o^s5n
,:??P1
struts.url.https.port w~
[b*$
The HTTPS port used by Struts URLs f|R"uW +
设置https端口 'A:x/iv}^
%K>.lh@
struts.url.includeParams [o.B
The default includeParams method to generate Struts URLs
F0:A]`|
在url中产生 默认的includeParams 'k4E4OB
cOPB2\,
xj[(P$,P
struts.velocity.configfile xia |+
The Velocity configuration file path ap{2$k ,
velocity配置文件路径 aBNZdX]vzO
PJ2qfYsH=>
struts.velocity.contexts Pv<24:ao
List of Velocity context names t
0-(U\
velocity的context列表 v>Mnl
$6CwkM:
(s{RnD
struts.velocity.manager.classname v{9t]s>B
org.apache.struts2.views.velocity.VelocityManager implementation class u-tQ9ioKC
org.apache.struts2.views.velocity.VelocityManager接口名 L~ IhsiB
XK: 9r{r{
struts.velocity.toolboxlocation M?[h0{^K
The location of the Velocity toolbox ^b 7GH9<&
velocity工具盒的位置 rtL}W__
struts.xslt.nocache ^|TG$`M(w
Whether or not XSLT templates should not be cached xCYE
B}o9r
是否XSLT模版应该被缓存 Gkp<o