struts2的struts.properties配置文件详解 Cnd*%C PZ
g(33h2"
struts.action.extension ::uD%a zd
The URL extension to use to determine if the request is meant for a Struts action 9xB^dKM3
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 U>(5J,G
Hig=PG5I
struts.configuration xB68RQe)
The org.apache.struts2.config.Configuration implementation class Oo`P +S#
org.apache.struts2.config.Configuration接口名 {0lY\#qcE
K8pfk*NZ_@
struts.configuration.files /SY40;k:
A list of configuration files automatically loaded by Struts U)zd~ug?m
struts自动加载的一个配置文件列表 :M`|*~V~$
owCQ71Q
struts.configuration.xml.reload Y:FV+ SI
Whether to reload the XML configuration or not ndOPD]A'
是否加载xml配置(true,false)
@\i6m]\X
Lbq"( b
struts.continuations.package r9uY?M
The package containing actions that use Rife continuations &{7n
含有actions的完整连续的package名称 {v+i!a'+
f/Grem
struts.custom.i18n.resources c#OZ=`
Location of additional localization properties files to load J@oGAa%3)
加载附加的国际化属性文件(不包含.properties后缀) R9o:{U]
m1gJ"k6
`j
struts.custom.properties (i|`PA
Location of additional configuration properties files to load 6ApW+/
加载附加的配置文件的位置 ,M>W) TSH
blid* @-
dg4"4\c*P
struts.devMode @!Il!+^3
Whether Struts is in development mode or not 9|v
是否为struts开发模式 =gGK24 3
90k|W>
struts.dispatcher.parametersWorkaround 6[69|&
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `-\4Dx1!q
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) l'W?X '
Bo`fy/x#
struts.enable.DynamicMethodInvocation #"O9\X/B
Allows one to disable dynamic method invocation from the URL !}"npUgE
允许动态方法调用 6O"Vy
Nk3]<#$
struts.freemarker.manager.classname ve1jLjsB
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3a:(\:?z
org.apache.struts2.views.freemarker.FreemarkerManager接口名 mZ/?uPIa
L -b~#
struts.i18n.encoding 9$~D4T
The encoding to use for localization messages bC$n+G>6k
国际化信息内码 cK(}B_D$
HNY{%D
struts.i18n.reload j6/ 3p|E
Whether the localization messages should automatically be reloaded KofjveOiC
是否国际化信息自动加载 ,T|iA/c
;1NZY.pyc
struts.locale }C/}8<
The default locale for the Struts application ,$}P<WZMu
默认的国际化地区信息 &m'O :ZS2
G2;Uv/vR
struts.mapper.class /{>ds-;-
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class J0@m
Ol
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?TMo6SU
^P"t
"
struts.multipart.maxSize 2EG"xA5%
The maximize size of a multipart request (file upload) eP&K]#
multipart请求信息的最大尺寸(文件上传用) #@2 `^1
'(+l77G
struts.multipart.parser j[iJo
5
The org.apache.struts2.dispatcher.multipart. K._1sOw'"Y
MultiPartRequest parser implementation for a multipart request (file upload) A~*Wr+pv
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) M[<O]p6
)lB-D;3[_
U=Z@Ipu5T
struts.multipart.saveDir e Yyl=YW
The directory to use for storing uploaded files {EW}Wd
设置存储上传文件的目录夹 P/nXY
U!3nn#!yE
struts.objectFactory b'3#FI=:
The com.opensymphony.xwork2.ObjectFactory implementation class p"q-sMYl
com.opensymphony.xwork2.ObjectFactory接口(spring) aFIet55o
pRMM1&H
struts.objectFactory.spring.autoWire "D3JdyO_S
Whether Spring should autoWire or not -d_FB?X
是否自动绑定Spring :".!6~:2
<Y~V!9(~{Q
struts.objectFactory.spring.useClassCache Q>TaaGc
Whether Spring should use its class cache or not eZ}FKg%2[
是否spring应该使用自身的cache "Hgn2o.;5
Gps
struts.objectTypeDeterminer [USXNe/
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class e=8ccj
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 AuO%F
YKY
cv#H
struts.serve.static.browserCache ;pAkdX&b