struts2的struts.properties配置文件详解 :eqDEmr>
!|K~)4%rj
struts.action.extension /7#KkMg
The URL extension to use to determine if the request is meant for a Struts action `HXP*Bp#
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [*ylC,w
jO\29(_
struts.configuration =pQA!u]QE
The org.apache.struts2.config.Configuration implementation class *x3";%o
org.apache.struts2.config.Configuration接口名 42mi 7%f
4G;FpWQm
struts.configuration.files [|PVq#(
A list of configuration files automatically loaded by Struts 7:x%^J+
struts自动加载的一个配置文件列表 B,?Fjot#m
pfS?:f<+6"
struts.configuration.xml.reload )2T 1g~8
Whether to reload the XML configuration or not Eyu]0+
是否加载xml配置(true,false) "TB4w2?=
'j>+eA>
struts.continuations.package BH _y0[y
The package containing actions that use Rife continuations pE(\q+1<
含有actions的完整连续的package名称 >&V?1!N"
5`CPaJT$
struts.custom.i18n.resources \ZiZX$
Location of additional localization properties files to load `C 'WSr
加载附加的国际化属性文件(不包含.properties后缀) `k ~.>#
Oo{+W5[
struts.custom.properties 1jU<]09.
Location of additional configuration properties files to load $!P(Q
加载附加的配置文件的位置 (as'(+B
^znj J\
cn1CM'Ru
struts.devMode _[}r2,e
Whether Struts is in development mode or not t]1j4S"pm
是否为struts开发模式 UO(B>Abp
.U|e#t
struts.dispatcher.parametersWorkaround V
{R<R2h1
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic g
_fvbVX
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Bs2.$~
oK1"8k|Z
struts.enable.DynamicMethodInvocation QA_SS'*
Allows one to disable dynamic method invocation from the URL v#u]cmI
允许动态方法调用 vaQZ1a,
'~i;g.n=}-
struts.freemarker.manager.classname Zj;2>
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class MI o5Y`T
org.apache.struts2.views.freemarker.FreemarkerManager接口名 IgH[xwzy[
hYRGIpu5
struts.i18n.encoding Ql8E9~h
The encoding to use for localization messages |eT?XT<=o
国际化信息内码 q
H&7Q{
sXm8KV
struts.i18n.reload @a,X{0
Whether the localization messages should automatically be reloaded 8`E9a
是否国际化信息自动加载 ^/`:o}7K7
J5Rr7=:*S
struts.locale ~@=:I
The default locale for the Struts application 5fi6>>
默认的国际化地区信息 A-gNfXP,D
gNr/rp9A$m
struts.mapper.class ;EstUs3
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;}),6R
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ZM"J5}h
Gs$<r~Tg
struts.multipart.maxSize pnin;;D*
The maximize size of a multipart request (file upload) M##h<3 I
multipart请求信息的最大尺寸(文件上传用) zRtaO'G(
aH<BqD[#
struts.multipart.parser Di{T3~fqU
The org.apache.struts2.dispatcher.multipart. bv$g$
MultiPartRequest parser implementation for a multipart request (file upload) sOA!Sl
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) I=)Hb?qT~
l<
8RG@
lV!ecJw$
struts.multipart.saveDir WHxq-&=
The directory to use for storing uploaded files \eD#s
设置存储上传文件的目录夹 9Mo(3M
.zr2!}lB
struts.objectFactory \wR bhN
The com.opensymphony.xwork2.ObjectFactory implementation class wWm1G)
com.opensymphony.xwork2.ObjectFactory接口(spring) =mV1jGqX
krwY_$q
struts.objectFactory.spring.autoWire =1g
Whether Spring should autoWire or not ##VS%&{
是否自动绑定Spring g+8{{o=
+P,hT
struts.objectFactory.spring.useClassCache #I[tsly}
Whether Spring should use its class cache or not T'.U?G
是否spring应该使用自身的cache p~1,[]k
7m0sF<P{g
struts.objectTypeDeterminer I12WOL q
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ")kE1D%
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *IWO ,!
z VleJ!d
struts.serve.static.browserCache @F)51$Ld
If static content served by the Struts filter should set browser caching header properties or not un|+YqLf
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )@)wcf!b
FNlzpCT~L
struts.serve.static 6LZ(bP'd;
Whether the Struts filter should serve static content or not "e62g
是否struts过滤器应该提供静态内容 NYtp&[s2-
s>d@=P>R
struts.tag.altSyntax $
hwJjSZ0
Whether to use the alterative syntax for the tags or not O57n<J'6
是否可以用替代的语法替代tags =fa!"$J3
e#0C
struts.ui.templateDir j>XM+>
The directory containing UI templates bnBnE[y<'
UI templates的目录夹 !7ct=L
+r[u4?
struts.ui.theme &L}e&5
The default UI template theme 0-#SvTf>;:
默认的UI template主题 @? 4-
0eq="|n^|
struts.url.http.port O~yPe.
The HTTP port used by Struts URLs fk-zT
设置http端口 W6f?/{Oo8
n%PHHu
struts.url.https.port K~gt=NH
The HTTPS port used by Struts URLs i)fAm$8#G
设置https端口 '6i"pJ0%
i/;Ql, gm
struts.url.includeParams Y$SZqW0!/
The default includeParams method to generate Struts URLs ecIxiv\
在url中产生 默认的includeParams +e_NpC
=YlsJ={h
#JVw`=P
struts.velocity.configfile Y6L_
_ RT
The Velocity configuration file path |&Gm.[IX;q
velocity配置文件路径 to~Ap=E
6QVdnXoG/
struts.velocity.contexts a$!|)+
List of Velocity context names *BzqAi0
velocity的context列表 d
dB}mk6
)s^D}I(
|x*~PXb
struts.velocity.manager.classname `
MIZqHM @
org.apache.struts2.views.velocity.VelocityManager implementation class .G#wXsJj
org.apache.struts2.views.velocity.VelocityManager接口名 \{
;&4}hPq
struts.velocity.toolboxlocation &~oBJar
The location of the Velocity toolbox (+}H
ih
velocity工具盒的位置 wi/Fx=w
struts.xslt.nocache ,Cx @]]
Whether or not XSLT templates should not be cached Wk w.z
是否XSLT模版应该被缓存 \C;cs&\Q