struts2的struts.properties配置文件详解 -WWa`,:
c0sU1:e0
struts.action.extension C1:efa<wV
The URL extension to use to determine if the request is meant for a Struts action `$ql>k-6C
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ogtKj"a
4@&8jZ)a
struts.configuration 'j 'bhG
The org.apache.struts2.config.Configuration implementation class +ng8!k
org.apache.struts2.config.Configuration接口名 {r?O>KDQf(
jSsbLa@
struts.configuration.files
:,h47'0A
A list of configuration files automatically loaded by Struts C4H M
struts自动加载的一个配置文件列表 y)0r%=
vUk <z*
struts.configuration.xml.reload +[<|TT
Whether to reload the XML configuration or not 7q&Ru|T33
是否加载xml配置(true,false) .z^ePZ|mV
}te\)
Yk.N
struts.continuations.package Uf}s6#
The package containing actions that use Rife continuations U3}r.9/
含有actions的完整连续的package名称 l{[{pAm
R4.$9_ui
struts.custom.i18n.resources OlL
FuVR
Location of additional localization properties files to load Rq-BsMX!A
加载附加的国际化属性文件(不包含.properties后缀) 9%^q?S/Rv
T>7$<ulm
struts.custom.properties \DI%/(?
Location of additional configuration properties files to load %5?qS`/c(
加载附加的配置文件的位置 ae`*0wbv
:P1 J> dcG
]?whx&+
struts.devMode 8=Xy19<;t
Whether Struts is in development mode or not s.d }*H-o
是否为struts开发模式 OSY$qL2
'H+H4(
struts.dispatcher.parametersWorkaround _WO*N9Iz
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F'^6ra9
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) hK5BOq!y
tgCEz%
struts.enable.DynamicMethodInvocation :s`~m;Y9?
Allows one to disable dynamic method invocation from the URL D[yOFJ~p)
允许动态方法调用 j
qfxQ
H`odQkZ!
struts.freemarker.manager.classname %C^U?m`
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 9%55R >s$
org.apache.struts2.views.freemarker.FreemarkerManager接口名 FR"yGx#$
`irz'/"p
struts.i18n.encoding }F=scbpXj
The encoding to use for localization messages 8 h
国际化信息内码 M S$^m2
FW~%xUSE5
struts.i18n.reload wqEO+7)S
Whether the localization messages should automatically be reloaded f_2tMiy5
是否国际化信息自动加载 P(D0ru
*{5p/}p
struts.locale b9b384Q1O
The default locale for the Struts application lf3QMr+
默认的国际化地区信息 hfw$820y[
\Jq$!foYx
struts.mapper.class ^x8*]Sz#x
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }q7rR:g
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;;#28nV
//T1e7)
struts.multipart.maxSize fn(<
<FA)
The maximize size of a multipart request (file upload) GvQKFgO6h
multipart请求信息的最大尺寸(文件上传用) /Z`("X?_Kf
E_k<EQ%r
struts.multipart.parser gx,BF#8}
The org.apache.struts2.dispatcher.multipart. mhU ?N
MultiPartRequest parser implementation for a multipart request (file upload) U\dq
Mp#Wy
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {8`V5:
6vy(@z
U-!+Cxjs
struts.multipart.saveDir Zt;3HY=y
The directory to use for storing uploaded files B'<k*9=Nv8
设置存储上传文件的目录夹 fP<Tvf
iG*@(
struts.objectFactory G>"=Af(t?Y
The com.opensymphony.xwork2.ObjectFactory implementation class ?XOl>IO
com.opensymphony.xwork2.ObjectFactory接口(spring) &ig6\&1
6?GR+;/
struts.objectFactory.spring.autoWire UolsF-U}'
Whether Spring should autoWire or not u By[x 0
是否自动绑定Spring 7:iTx;,v
t6m&+N
struts.objectFactory.spring.useClassCache {6}H}_(]
Whether Spring should use its class cache or not |Rk9W
是否spring应该使用自身的cache Z{&dzc
Ne>yFl"u
struts.objectTypeDeterminer !Q(x A,p
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class j8gw]V/B:
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +$_.${uwV
Y.FqWJP=p
struts.serve.static.browserCache n~`1KC4
If static content served by the Struts filter should set browser caching header properties or not x$p_mWC
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 m3Ma2jLWC
CG!7BP\
struts.serve.static V!^5#A<
Whether the Struts filter should serve static content or not :&59N^So|
是否struts过滤器应该提供静态内容 VAGQR&T?
Lmp_8q-Ej
struts.tag.altSyntax C|or2
Whether to use the alterative syntax for the tags or not #>[BSgW
是否可以用替代的语法替代tags _6O\*|'6
5SOl:{A+
struts.ui.templateDir LHJ}I5zv
The directory containing UI templates QY)hMo=|o8
UI templates的目录夹 8Qm%T7]UFb
mEh([ZnY
struts.ui.theme St`3Z/|h
The default UI template theme :9c[J$R4
默认的UI template主题 ',>Pz+XKc
E![Ye@w
struts.url.http.port O%hmGW4
The HTTP port used by Struts URLs a%FM)/oI|T
设置http端口 8l<