struts2的struts.properties配置文件详解 sVex
(X
>M&3Y
XC
struts.action.extension ](|\whI
The URL extension to use to determine if the request is meant for a Struts action ID/F
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3Gkv4,w<
k5]j.V2f
struts.configuration 4j)tfhwd8
The org.apache.struts2.config.Configuration implementation class aMTu-hA
org.apache.struts2.config.Configuration接口名 1^gl}^|B
Z1"v}g
struts.configuration.files X.:]=,aGW
A list of configuration files automatically loaded by Struts $M Jm*6h
struts自动加载的一个配置文件列表 5h; +Ky!I
~Jf{4*>y
struts.configuration.xml.reload zXRlo]
Whether to reload the XML configuration or not /hO1QT}xd
是否加载xml配置(true,false) orb_"Qw
O$cHZs$
struts.continuations.package ~K@'+5Pc
The package containing actions that use Rife continuations 2WG>, 4W2
含有actions的完整连续的package名称 y|wc,n%L>
?,/U^rf^4
struts.custom.i18n.resources NIw\}[-Z0E
Location of additional localization properties files to load (y^vqMz
加载附加的国际化属性文件(不包含.properties后缀) 1) Zf3Y8
n?V+dC=F}
struts.custom.properties -lv)tHs<
Location of additional configuration properties files to load K$d$m <
加载附加的配置文件的位置 hJPlq0C
P9 Z}H(?C
)2M>3C6>f
struts.devMode Pi|o` d
Whether Struts is in development mode or not =9T$Gr
是否为struts开发模式 64
5z#_}C$
8U_{|]M
struts.dispatcher.parametersWorkaround W6Y@U$P#G
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic D+>1]ij
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0iJue&
yq$,,#XDD=
struts.enable.DynamicMethodInvocation tor!Dl@Mo
Allows one to disable dynamic method invocation from the URL aM;W$1h
允许动态方法调用 ]LM-@G+Jz
7x<i :x3
struts.freemarker.manager.classname jRatm.N
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class LW(6$hpPp
org.apache.struts2.views.freemarker.FreemarkerManager接口名 !kC*g
k!{p7*0
struts.i18n.encoding $kQ~d8 O
The encoding to use for localization messages fDP$ sW
国际化信息内码 nl9P,
d
,UuH}E
struts.i18n.reload &ot/nQQ
Whether the localization messages should automatically be reloaded t]e;;q=L.
是否国际化信息自动加载 N\bocMc,X
ZWS`\M
struts.locale W|o'&
The default locale for the Struts application N
8-oY$*
默认的国际化地区信息 2@
Z(P.Gh
"]G\9b)
struts.mapper.class AQ='|%
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \Acqr@D
org.apache.struts2.dispatcher.mapper.ActionMapper接口 wm^J;<T[
>+[&3u
struts.multipart.maxSize 2;?I>~
The maximize size of a multipart request (file upload) )YqXRm
multipart请求信息的最大尺寸(文件上传用) T'~!9Q
)l#E}Uz
struts.multipart.parser .c$316
The org.apache.struts2.dispatcher.multipart. }-@`9(o`)
MultiPartRequest parser implementation for a multipart request (file upload) }RP@!=
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Y&K;l_
B2O} 1.
h*<P$t
struts.multipart.saveDir wKsT7c'
The directory to use for storing uploaded files ki)#d'
}
设置存储上传文件的目录夹 [VWUqlNt>
uDZT_c'Y
struts.objectFactory Rx+p.
The com.opensymphony.xwork2.ObjectFactory implementation class k]I0o)+O.
com.opensymphony.xwork2.ObjectFactory接口(spring) ,f&5pw
=
[2Ud]l:6E
struts.objectFactory.spring.autoWire ivz{L-
Whether Spring should autoWire or not -(b kr+N
是否自动绑定Spring 9rA=pH%<>B
1u9LdkhnY
struts.objectFactory.spring.useClassCache p"U,G
-_
Whether Spring should use its class cache or not i _%Q`i
是否spring应该使用自身的cache s@7H1)U
)sT> i
struts.objectTypeDeterminer ]H1I,`=@
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =3v]gOcO
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _x5 3g
A
%?Ev|:i`@
struts.serve.static.browserCache ~T89_L
If static content served by the Struts filter should set browser caching header properties or not 6!(@@^7{*
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Q0ON9gqqv
,zT y?OQ
struts.serve.static (zFi$
Whether the Struts filter should serve static content or not k Zq!&
是否struts过滤器应该提供静态内容 &EnuE0BD
NW&b&o
struts.tag.altSyntax BGu?<bET
Whether to use the alterative syntax for the tags or not a 7,C>%I
是否可以用替代的语法替代tags AoI/n4T^
xoR;=ph
struts.ui.templateDir bv*,#Qm
The directory containing UI templates aVd,xl
UI templates的目录夹 :]1TGfS
2Roc|)-47
struts.ui.theme Kp,M"Y
The default UI template theme -Zz$~$
默认的UI template主题 Xqm::1(-(
.>IhN 5
struts.url.http.port MHC^8VL
The HTTP port used by Struts URLs wg]j+r@
设置http端口 yYH 0v7vx+
|x-S&-
struts.url.https.port Mwr"~?\\
The HTTPS port used by Struts URLs HF.^ysI
设置https端口 82DmG@"s2
KkE9KwZ]W
struts.url.includeParams fwRZ5`v<
The default includeParams method to generate Struts URLs RSfzRnhmr
在url中产生 默认的includeParams ^!by3Elqqk
{7/0< NG
Zc`BiLzrIG
struts.velocity.configfile GHeVp/u
The Velocity configuration file path se>MQM5 )
velocity配置文件路径 '&|=0TDd+
_Iv6pNd/
struts.velocity.contexts L~NbdaO
List of Velocity context names 8UVmv=T
velocity的context列表 ;IokThI
sK5r$Dbr
a)'5Nw9*
struts.velocity.manager.classname %&Q$dzgb_
org.apache.struts2.views.velocity.VelocityManager implementation class gE?|_x#
org.apache.struts2.views.velocity.VelocityManager接口名 ?n
ZY)
d|yAs5@
struts.velocity.toolboxlocation jE/AA!DC#
The location of the Velocity toolbox }-sdov<<
velocity工具盒的位置 +qwjbA+
struts.xslt.nocache L-k@-)98
Whether or not XSLT templates should not be cached <"r#:Wr
是否XSLT模版应该被缓存 %GS(:]{n