struts2的struts.properties配置文件详解 Z@RAdwjR`p
b,#cc>76\
struts.action.extension Vj:)w<],
The URL extension to use to determine if the request is meant for a Struts action aEy_H-6f
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]zhFFq`
^pKC0E[%
struts.configuration o{f n}
The org.apache.struts2.config.Configuration implementation class u)t1t69T\g
org.apache.struts2.config.Configuration接口名 #ie{!Mh
Y\%R6/Gj|u
struts.configuration.files ^r(2
r
A list of configuration files automatically loaded by Struts LZX-am`%
struts自动加载的一个配置文件列表 V}'|a<8kVv
]W5s!T_
struts.configuration.xml.reload Y GO ;wIS
Whether to reload the XML configuration or not YzhZ%:8
是否加载xml配置(true,false) ZBJ.dK?Ky|
j0kEi+!TVq
struts.continuations.package B>o#eW
The package containing actions that use Rife continuations L_<&oq
含有actions的完整连续的package名称 }zlvs
a+
3 ^{U:"N0
struts.custom.i18n.resources VrQw;-rQ
Location of additional localization properties files to load Wa2V Z
加载附加的国际化属性文件(不包含.properties后缀) $kZ,uvKN
wAVO%8u
struts.custom.properties 4:nmo@K&~
Location of additional configuration properties files to load ;k (}~_
加载附加的配置文件的位置 :>Z0Kb}7
shYcfLJ
^NHQ[4I
struts.devMode Q'7o_[o/
Whether Struts is in development mode or not @H]g_yw [:
是否为struts开发模式 6!+xf
E-E+/.A
struts.dispatcher.parametersWorkaround SXwgn >
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic fx99@%Ii
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) TJ?}5h5
2^[fUzL?
struts.enable.DynamicMethodInvocation dn:g_!]p
Allows one to disable dynamic method invocation from the URL @ns2$(wkm@
允许动态方法调用 O>n L;I
nUs)
struts.freemarker.manager.classname QI0ARdS
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8p-5.GU)<e
org.apache.struts2.views.freemarker.FreemarkerManager接口名 R+]Fh4t
P-7!\[];te
struts.i18n.encoding wAF>C[ <\
The encoding to use for localization messages 0 m";=:(w
国际化信息内码 j<"0ym)A
(J\D"4q
struts.i18n.reload v~L} :
Whether the localization messages should automatically be reloaded vTh-I&}:
是否国际化信息自动加载 d,8V-Dk+p
TG{=~2
struts.locale Tk|0
scjE^
The default locale for the Struts application MR#jI
默认的国际化地区信息 [|ky~sRr
'=\]4?S
struts.mapper.class tN3Xn]
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class iBV*GW
org.apache.struts2.dispatcher.mapper.ActionMapper接口 qAivsYN*
Dr7,>Yx
struts.multipart.maxSize v;JY;Uh|
The maximize size of a multipart request (file upload) !yojZG MB
multipart请求信息的最大尺寸(文件上传用) tE(x8>5A:
E 7;KG^
struts.multipart.parser :}+U?8/"7
The org.apache.struts2.dispatcher.multipart. >J.a,!
MultiPartRequest parser implementation for a multipart request (file upload) E+JGqk
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Y0&w;P
^%IKlj-E
qf4|!UR{
struts.multipart.saveDir &7E 0H{
The directory to use for storing uploaded files }b)?o@9}:
设置存储上传文件的目录夹 Pkc4=i,`A
|os2@G$
struts.objectFactory K~x G+Kh
The com.opensymphony.xwork2.ObjectFactory implementation class 5c'rnMW4+p
com.opensymphony.xwork2.ObjectFactory接口(spring) @2YO_rL[
oJ{)0;<~L
struts.objectFactory.spring.autoWire Z TjlGU `
Whether Spring should autoWire or not ""d3ownKhw
是否自动绑定Spring A5ktbj&gy<
>+#TsX{
struts.objectFactory.spring.useClassCache N^%[
B9D
Whether Spring should use its class cache or not &XrF#s
是否spring应该使用自身的cache s]U'*?P
hCQ{D|/
struts.objectTypeDeterminer q'C'S#qqn
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class q^"P_pV\
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }9 qsPn
:bLGDEC
struts.serve.static.browserCache Da?0B9'
If static content served by the Struts filter should set browser caching header properties or not k(u W( 6
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {;f`t3D
@B7;
struts.serve.static Qy0bp;V/
Whether the Struts filter should serve static content or not !%T@DT=l&
是否struts过滤器应该提供静态内容 ZSKk*<=
&|/C*2A
struts.tag.altSyntax IL YS:c58=
Whether to use the alterative syntax for the tags or not gl2~6"dc
是否可以用替代的语法替代tags :_)Xe*O
\<