struts2的struts.properties配置文件详解 yAt,XG3
,/ P)c*at5
struts.action.extension 7iJ=~po:o
The URL extension to use to determine if the request is meant for a Struts action <M4Qc12jP
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 KoPhPH
(}C%g{8
struts.configuration .`ppp!:a4
The org.apache.struts2.config.Configuration implementation class ,`lVB#|
org.apache.struts2.config.Configuration接口名 ?m$7)@p
l*Iy:j(B
struts.configuration.files M!ra3Y
A list of configuration files automatically loaded by Struts ix=H=U]Q{
struts自动加载的一个配置文件列表 (YJ]}J^
ORo +=2
struts.configuration.xml.reload ADa'(#+6
Whether to reload the XML configuration or not ;f8$vW];
是否加载xml配置(true,false) Rr'^l]
/:j9#kj
struts.continuations.package 8v)PDO~D}A
The package containing actions that use Rife continuations uJP9J U
含有actions的完整连续的package名称 `RG_FS"v
&E>zvRBQ
struts.custom.i18n.resources 8I'Am"bc\
Location of additional localization properties files to load J0hY~B~X
加载附加的国际化属性文件(不包含.properties后缀) 3)J0f+M>dv
\dL#PI3
struts.custom.properties .RNr^*AQ
Location of additional configuration properties files to load *&vySyt
加载附加的配置文件的位置 ul',!js?
aTceGyWzl
+AT!IZrB2i
struts.devMode /{~cUB,Um
Whether Struts is in development mode or not S}rW=hO
是否为struts开发模式 -Oro$=%
LK^t](F
struts.dispatcher.parametersWorkaround x>@+lV'O
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 2_4m}T3
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9x~qcH%
u/% 4WgA
struts.enable.DynamicMethodInvocation esM<.
Allows one to disable dynamic method invocation from the URL (!nhU
允许动态方法调用 XVfp* `
{bUd"Tu
struts.freemarker.manager.classname [We(0wF[`
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :W/,V^x}
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Wkk=x&
hk O)q|1
struts.i18n.encoding +C{ %pF
The encoding to use for localization messages [akyCb
国际化信息内码 z5CWgN
q?=eD^]
struts.i18n.reload #<7ajmr
Whether the localization messages should automatically be reloaded %`c?cB
是否国际化信息自动加载 ( /cW
@' Er&[P
struts.locale C<.t'|
The default locale for the Struts application 7b_Ihv
默认的国际化地区信息 qR~s&SC#
BW>f@;egg
struts.mapper.class
4^L+LY
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (BgO<
org.apache.struts2.dispatcher.mapper.ActionMapper接口 %EuXL% B
od- 0wJN-m
struts.multipart.maxSize aQ ~
The maximize size of a multipart request (file upload) c{Ax{-'R
multipart请求信息的最大尺寸(文件上传用) L7jMpz&
9^m& [Z
struts.multipart.parser SR#%gR_SC
The org.apache.struts2.dispatcher.multipart. Xf.w(-
MultiPartRequest parser implementation for a multipart request (file upload) KB,!s7A
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ]3iu-~
|4i,Vkfhe
$V"~\h8
struts.multipart.saveDir _ "ysJ&
The directory to use for storing uploaded files \jdpL1
设置存储上传文件的目录夹 EiY i<Z_S
urHQb5|T}
struts.objectFactory /hue]ZaQq
The com.opensymphony.xwork2.ObjectFactory implementation class *R*Tmo"
com.opensymphony.xwork2.ObjectFactory接口(spring) Ah_'.r1<P9
#]ii/Et#x
struts.objectFactory.spring.autoWire ?Rl?Pp=>
Whether Spring should autoWire or not %aX<p{EY
是否自动绑定Spring BPnZ"w_
,=tVa])
struts.objectFactory.spring.useClassCache uBk$zs
Whether Spring should use its class cache or not jZ <*XX
是否spring应该使用自身的cache BZqb
o `9
* xs8/?
struts.objectTypeDeterminer ~BVg#_P
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7
:s6W%W1*
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 DTdL|x.{
_Y*:
l7
struts.serve.static.browserCache cI3uH1;#
If static content served by the Struts filter should set browser caching header properties or not z(^p@&r)F
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 V#W(c_g
TA=Ij,z~
struts.serve.static S:] w@$
Whether the Struts filter should serve static content or not nMcd(&`N
是否struts过滤器应该提供静态内容 EIl _QV6
a%f5dj+
struts.tag.altSyntax m=2TzLVv
Whether to use the alterative syntax for the tags or not VGBL<X
是否可以用替代的语法替代tags SZ-% 0z
l[^bo/
struts.ui.templateDir Mg95us
The directory containing UI templates muQ7sJ9
r
UI templates的目录夹 &adKKYN
hHoc7
struts.ui.theme #]I:}Q51
The default UI template theme B$Jn|J"/6
默认的UI template主题 9VIsLk54^
WJ\YKXG
struts.url.http.port 8k+Ctk
The HTTP port used by Struts URLs $cH'9W}3K
设置http端口 Tk/K7h^
bt#=p7W
struts.url.https.port &%J{C3Q9
The HTTPS port used by Struts URLs )zt*am;
设置https端口 52*zX 3
8(%iYs$
struts.url.includeParams W"|89\p}
The default includeParams method to generate Struts URLs FFtj5e
在url中产生 默认的includeParams G:'-|h
THK)G2
=
ms3Ec`i9
struts.velocity.configfile vVKiE 6^
The Velocity configuration file path 1O9V Ej5
velocity配置文件路径 e)\s0#
+(r8SnRX
struts.velocity.contexts jKQnox+=
List of Velocity context names T:wd3^.CG
velocity的context列表 eUqsvF}l!
&cDnZ3Q;
RXgi>Hz
struts.velocity.manager.classname Q=~e|
org.apache.struts2.views.velocity.VelocityManager implementation class &e[/F@\%
org.apache.struts2.views.velocity.VelocityManager接口名 E](Ood
p=9G)VO
struts.velocity.toolboxlocation 1h]Dc(Oc#=
The location of the Velocity toolbox "xS",6Sy
velocity工具盒的位置 wamqeb{u
struts.xslt.nocache " I`<s <
Whether or not XSLT templates should not be cached `-Gs*#(/
是否XSLT模版应该被缓存 Tb}`]Y`X