struts2的struts.properties配置文件详解 u6hDjN
)8`7i{F
struts.action.extension a?Q\nu1
The URL extension to use to determine if the request is meant for a Struts action W+HiH`Qb]
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )xJCH9h
SU,S1C_q8
struts.configuration gc~nT/lfK
The org.apache.struts2.config.Configuration implementation class Z)
nB
org.apache.struts2.config.Configuration接口名 sVdn>$KXk
0,~f"Dyqy
struts.configuration.files iuxI$
A list of configuration files automatically loaded by Struts l%vX$Kw
struts自动加载的一个配置文件列表 Ir%L%MuR]
F@m]Imn5Dx
struts.configuration.xml.reload -Jqm0)2
Whether to reload the XML configuration or not BE,XiH;
是否加载xml配置(true,false) m\9R;$\
yV{&x
struts.continuations.package |. w'Z7(s
The package containing actions that use Rife continuations _+c' z
含有actions的完整连续的package名称 gcS?r :
nV/8u_
struts.custom.i18n.resources zK Rt\;PW
Location of additional localization properties files to load Ew`(x30E
加载附加的国际化属性文件(不包含.properties后缀) r~mZ?dI
t:MeSO
struts.custom.properties @bPR"j5D
Location of additional configuration properties files to load /j7e
q
加载附加的配置文件的位置 &j}08aK%
hw2'.}B"(
#vwK6'z
struts.devMode 0tA~Y26
Whether Struts is in development mode or not ?vA)F)MS
是否为struts开发模式 .h({ P#QT
9jwcO)p^
struts.dispatcher.parametersWorkaround Ej_ >*^b
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic zN3[W`q+m
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) e"=/zZH3
b/#SkxW#S
struts.enable.DynamicMethodInvocation \<e?
Allows one to disable dynamic method invocation from the URL @;\2 PD
允许动态方法调用 #}M\ J0QG
IP?15l w
struts.freemarker.manager.classname kSW=DE|#}
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class L{pz)')I
org.apache.struts2.views.freemarker.FreemarkerManager接口名 x*`S>_j27=
v,T:V#f^
struts.i18n.encoding DIqM\ ><
The encoding to use for localization messages |}^me7C,[
国际化信息内码 "|N58%
a$=BX=
struts.i18n.reload Ux[2 +Cf
Whether the localization messages should automatically be reloaded {oXU)9vj
是否国际化信息自动加载 3(2WO^zX {
I |PEC-(
struts.locale fnXYp
!
The default locale for the Struts application <x!q!;
默认的国际化地区信息 (-}:'5|Yj
GGM|B}U p
struts.mapper.class ppm=o4`s[
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _sp,,gz
org.apache.struts2.dispatcher.mapper.ActionMapper接口 EF>vu+YK
]|JQH
struts.multipart.maxSize &7\=Jw7w
The maximize size of a multipart request (file upload)
h.Y&_=Gc
multipart请求信息的最大尺寸(文件上传用) #}PQ !gZ
Q,ezAE
struts.multipart.parser ^`~s#L7
The org.apache.struts2.dispatcher.multipart. k kZ2Jxvx
MultiPartRequest parser implementation for a multipart request (file upload) UWW^g@d4
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) uBp,_V?
y ;/T.W9!
.2Q4EbM2
struts.multipart.saveDir kC,=E9)O
The directory to use for storing uploaded files 8=K%7:b
设置存储上传文件的目录夹 C33BP}c]
r|MBkpcvp
struts.objectFactory 1'NJ[
C`
The com.opensymphony.xwork2.ObjectFactory implementation class |mM K9OEu
com.opensymphony.xwork2.ObjectFactory接口(spring) vU,V[1^a
&6feR#~A
struts.objectFactory.spring.autoWire bUzo> fm_
Whether Spring should autoWire or not TS_5R>R3
是否自动绑定Spring f: 9bq}vH
PFKl6_(
struts.objectFactory.spring.useClassCache aM7e?.rU
Whether Spring should use its class cache or not cyMvjzzRN
是否spring应该使用自身的cache AX%N:)_$|
m&PB5s\=
struts.objectTypeDeterminer @=7[ KM b
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 'fK3L<$z#m
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vw'xmzgA
cv{icz,%w
struts.serve.static.browserCache 3u 'VPF2
If static content served by the Struts filter should set browser caching header properties or not 7"_m?c8
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +Rj8"p$K
vh$If0
struts.serve.static @~z4GTF9i
Whether the Struts filter should serve static content or not +P &S0/
是否struts过滤器应该提供静态内容 oSf6J:?*e
N&uRL_X.
struts.tag.altSyntax 3 <