struts2的struts.properties配置文件详解 9lV'3UG-?
j83
V$
Le
struts.action.extension Q@n k T1o
The URL extension to use to determine if the request is meant for a Struts action "g-NUl`'
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 !&[4T#c
X2v'9 x
struts.configuration z?,5v`,t2
The org.apache.struts2.config.Configuration implementation class <bI,y_<K
org.apache.struts2.config.Configuration接口名 ? Q}{&J
VIzZmd
struts.configuration.files q?&&:.H"?5
A list of configuration files automatically loaded by Struts rI/KrBM
struts自动加载的一个配置文件列表 YyIt-fPZ
%>TdTt
struts.configuration.xml.reload `l#g`~L
Whether to reload the XML configuration or not 8t%1x|!
是否加载xml配置(true,false) a0.XJR{T"
G\%hT5^
struts.continuations.package za7wNe(s
The package containing actions that use Rife continuations _wCSL.
含有actions的完整连续的package名称 J?'!8,RX
's<}@-]
struts.custom.i18n.resources e{&gF1"[
Location of additional localization properties files to load 3yN1cd"#?
加载附加的国际化属性文件(不包含.properties后缀) BL67sva;
sa* -B
struts.custom.properties Gj 3/&'k6
Location of additional configuration properties files to load 'Iu(lpF&
加载附加的配置文件的位置 *OiHrI9y
0i"OG( ,
O5
SX"A
struts.devMode ?*,q#ZkA9W
Whether Struts is in development mode or not ^MUM04l
是否为struts开发模式 :%{7Q$Xv<
Kl? 1)u3^4
struts.dispatcher.parametersWorkaround {NR~>=~K-
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7~'@m(9e
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) G<'S
-eTGRr
struts.enable.DynamicMethodInvocation JK4 @
Allows one to disable dynamic method invocation from the URL CR<l"~X
允许动态方法调用 2dfA}i>k
h%%'{^>~
struts.freemarker.manager.classname D#0}/
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xXZN<<f59
org.apache.struts2.views.freemarker.FreemarkerManager接口名 X*KT=q^?n
|4vk@0L
struts.i18n.encoding P;Ox|
The encoding to use for localization messages WlUE&=|Oz2
国际化信息内码 #Z : r
I /g]9
y
struts.i18n.reload 6F2}|c
Whether the localization messages should automatically be reloaded rQJoaP+\q
是否国际化信息自动加载 YC~+r8ME$j
F/8y p<_r
struts.locale 6]VTn-
The default locale for the Struts application iYnt:C
默认的国际化地区信息 x>cu<,e$d\
k4v[2y`
struts.mapper.class ',f[y:v;
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class U|=y&a2Rb
org.apache.struts2.dispatcher.mapper.ActionMapper接口 #u_-TWVt
h(BN6ZrzKd
struts.multipart.maxSize aC*J=_9o#
The maximize size of a multipart request (file upload)
n" sGI
multipart请求信息的最大尺寸(文件上传用) <d4^gAfs*
K\G|q}E/1
struts.multipart.parser ;6?K&}J)-
The org.apache.struts2.dispatcher.multipart. rgr> ;
MultiPartRequest parser implementation for a multipart request (file upload) Wxjpe4
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ]P.S5s'
A!c.P2
8QU`SoS9
struts.multipart.saveDir EOL03N
The directory to use for storing uploaded files Jy9&=Qh
设置存储上传文件的目录夹 3I]5DW %-
]#`bYh^y
struts.objectFactory [{YV<kN
The com.opensymphony.xwork2.ObjectFactory implementation class %llG/]q#
com.opensymphony.xwork2.ObjectFactory接口(spring) l<5!R;?$
j2+&B9(
struts.objectFactory.spring.autoWire )jg3`I@
Whether Spring should autoWire or not 3jeR;N]x
是否自动绑定Spring 5@Sb[za
b~r ?#2K
struts.objectFactory.spring.useClassCache 79\
=)m}$Q
Whether Spring should use its class cache or not "='|c-x
是否spring应该使用自身的cache wjkN%lPfvj
p~t$ll0s
struts.objectTypeDeterminer rie1F,
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \C#Vh7z"2&
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]BA8[2=m
'2NeuK -KD
struts.serve.static.browserCache --FvE|I
If static content served by the Struts filter should set browser caching header properties or not yDPek*#^"q
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /)~McP3
bz1\EkLL
struts.serve.static bkb}M)C
Whether the Struts filter should serve static content or not {+!_; zzZ
是否struts过滤器应该提供静态内容 2l9_$evK~
kns[b [!H
struts.tag.altSyntax s:%>H|-
Whether to use the alterative syntax for the tags or not NFQ0/iuW
是否可以用替代的语法替代tags l1@:&j3h
"YivjHa7H
struts.ui.templateDir K.z@Vx.
The directory containing UI templates %lujme
UI templates的目录夹 @^%# ]x,:
ak%8|'}
struts.ui.theme Q,scjt[
The default UI template theme k
v b"n}
默认的UI template主题 1Z`zdZs
!$j'F? 2>
struts.url.http.port \!_ >ul
The HTTP port used by Struts URLs MD%86m{Sg=
设置http端口 NS\'o
)J
kM.zX|_
struts.url.https.port /Z^+K
The HTTPS port used by Struts URLs Q~jUZ-qN
设置https端口 @rE>D
a}6Wo=
struts.url.includeParams [K^RC;}nV^
The default includeParams method to generate Struts URLs >scEdeM
在url中产生 默认的includeParams tYnNOK*|
xSw ^v6!2
Ax&+UxQ0|
struts.velocity.configfile ~#wq sm
The Velocity configuration file path $N~8^6
velocity配置文件路径 )F:hv[iv
TtHqdKL
struts.velocity.contexts o_?YYw-:
List of Velocity context names 1g
*4e
velocity的context列表 J
9z\ qTI
bEM-^SR
h9No'!'!
struts.velocity.manager.classname O `*}N1No[
org.apache.struts2.views.velocity.VelocityManager implementation class JD.WH|sZ5
org.apache.struts2.views.velocity.VelocityManager接口名 ?>2k>~xlQ
hW(Mf
struts.velocity.toolboxlocation m!g
f!
The location of the Velocity toolbox lOql(ZH`w
velocity工具盒的位置 Y6+nfh_
struts.xslt.nocache hS<+=3
<M
Whether or not XSLT templates should not be cached 8xLvpgcZ
是否XSLT模版应该被缓存 leiP/D6s