struts2的struts.properties配置文件详解 Oz-@e%8L
qv)%)n
struts.action.extension )Ag{S[yZ
The URL extension to use to determine if the request is meant for a Struts action _l=X?/
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Tno 0Q
+
$aDkZj
struts.configuration z@U5
The org.apache.struts2.config.Configuration implementation class DT3koci(
org.apache.struts2.config.Configuration接口名 g96]>]A<{
e|eWV{Dsz
struts.configuration.files #r'S@:[
A list of configuration files automatically loaded by Struts {9XQ~t"m^
struts自动加载的一个配置文件列表 rnRWL4
q" @%W K
struts.configuration.xml.reload l^R1XBP
Whether to reload the XML configuration or not 5v"S v
是否加载xml配置(true,false) lD6PKZ\RIj
O:jaA3
struts.continuations.package o?S!o}
The package containing actions that use Rife continuations \T {<{<n
含有actions的完整连续的package名称 ]
D+'Ao^'
2-beq<I
struts.custom.i18n.resources J=Hyoz+9
Location of additional localization properties files to load n..R'vNj
加载附加的国际化属性文件(不包含.properties后缀) V-x/lo]Co
<`d;>r=4z
struts.custom.properties Qq3UC%Z1
Location of additional configuration properties files to load Ue(\-b\)
加载附加的配置文件的位置 8K2=WYN
C=&;4In
G-5ezVli
struts.devMode h
I7ur
Whether Struts is in development mode or not i/RA/q
是否为struts开发模式 (w-@b70E
1"~$(@oxG
struts.dispatcher.parametersWorkaround rkn'1M&u
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic s=hao4v7z
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $lb$ <
,tak{["
struts.enable.DynamicMethodInvocation
liPaT
Allows one to disable dynamic method invocation from the URL t(p}0}Pp
允许动态方法调用 9](RZ6A+o
gbziEjRe
struts.freemarker.manager.classname 2#R8}\
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class k1~? }+<e
org.apache.struts2.views.freemarker.FreemarkerManager接口名 |f2bb
Ca
?d8
struts.i18n.encoding 6rMNp"!
The encoding to use for localization messages |jb,sd[=S
国际化信息内码 G$VE
o8Blb
@k)[p+)E
struts.i18n.reload hkx (r5o
Whether the localization messages should automatically be reloaded (: @7IWZf@
是否国际化信息自动加载 dgT(]H
i9D<jkc
struts.locale ,PeE'$q
The default locale for the Struts application .p(%gmOp#
默认的国际化地区信息 wicW9^ik
.,\^{.E
struts.mapper.class =Y5_@}\0
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class GezMqt;2
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Fb6d1I^wR
VM<$!Aaz
struts.multipart.maxSize vrIWw?/z?
The maximize size of a multipart request (file upload) H7}f[4S%
multipart请求信息的最大尺寸(文件上传用) ( e4#9
3L9@ELY4
struts.multipart.parser 3EH7HW
The org.apache.struts2.dispatcher.multipart. +h8`8k'}-2
MultiPartRequest parser implementation for a multipart request (file upload) "6gBbm
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +#9 4X)*
C(kL=WD
rp=Y }
struts.multipart.saveDir y7x*:xR[
The directory to use for storing uploaded files Q^):tO]!Ma
设置存储上传文件的目录夹 ef2)k4)"
K9ek
struts.objectFactory gv,1 CK
The com.opensymphony.xwork2.ObjectFactory implementation class >fzFNcO*
com.opensymphony.xwork2.ObjectFactory接口(spring) ANTWWs}
>65\
struts.objectFactory.spring.autoWire KPA.5,ai
Whether Spring should autoWire or not & l0LW,Bx
是否自动绑定Spring G\K!7k`)!
Z=oGyA
struts.objectFactory.spring.useClassCache ]q/USVj{
Whether Spring should use its class cache or not WZ=$c]gG
是否spring应该使用自身的cache sfk;c#K
OR}+)n{
struts.objectTypeDeterminer "O~kIT?/v
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 49YN@PXC
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 klnk{R.>|
-_= m j
struts.serve.static.browserCache zbj V>5
If static content served by the Struts filter should set browser caching header properties or not A=wG};%_
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 I3u)y|Y=
CZf38$6 X
struts.serve.static qB3E
Whether the Struts filter should serve static content or not 7&u$^c S(
是否struts过滤器应该提供静态内容 ;,s9jw
vU$n*M1`$
struts.tag.altSyntax J,\e@
Whether to use the alterative syntax for the tags or not TX;)}\
是否可以用替代的语法替代tags ^bq,+1;@Q
}G<~Cx5[
struts.ui.templateDir 45&Rl,2
The directory containing UI templates sG\K$GP!
UI templates的目录夹 f~7V< v
GJF &id
struts.ui.theme Ss_}@p ^
The default UI template theme yCN?kHG
默认的UI template主题 MBAj.J
'_5|9
}
struts.url.http.port u60RuP&
The HTTP port used by Struts URLs M6GiohI_"P
设置http端口 PkLNIp1
vmh>|N4a7
struts.url.https.port P](8Qrl
The HTTPS port used by Struts URLs 20}w.V
设置https端口 <@Vf:`a!P>
)sNPWn8<Uy
struts.url.includeParams %NM={X|'
The default includeParams method to generate Struts URLs Y[H769
在url中产生 默认的includeParams M8/:PmR<
M93*"jA
K)5j
struts.velocity.configfile {e q378d
The Velocity configuration file path *+nw%gZG
velocity配置文件路径 Cy*.pzCi
E(vO^)#
struts.velocity.contexts Y B,c=Wx
List of Velocity context names ^bP`Iv
velocity的context列表 [ D.%v~j
1vxQ`) a
PG}Roj
I
struts.velocity.manager.classname bE{YK
org.apache.struts2.views.velocity.VelocityManager implementation class b%vIaP|]B
org.apache.struts2.views.velocity.VelocityManager接口名 -*i_8`
oOC&w0
struts.velocity.toolboxlocation xVgm 9s$"c
The location of the Velocity toolbox 3
^K#\*P
velocity工具盒的位置 IN.g
struts.xslt.nocache maN2(1hz
Whether or not XSLT templates should not be cached =,h'}(z_
是否XSLT模版应该被缓存 :0QDV~bs