struts2的struts.properties配置文件详解 $@VQ{S
]>:LHW
struts.action.extension @2Spfj_e
The URL extension to use to determine if the request is meant for a Struts action RD$"ft]Vc
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 z 8w&;Ls
7aV(tMzd
struts.configuration Y[\ZN
The org.apache.struts2.config.Configuration implementation class T#>1$0yv
org.apache.struts2.config.Configuration接口名 t%B ,ATW
Sz"rp9x+
struts.configuration.files GfG!CG^%
A list of configuration files automatically loaded by Struts _NkVi_UX
struts自动加载的一个配置文件列表 6)@Y 41H]C
K~U5jpc
struts.configuration.xml.reload |q(
.j4[i
Whether to reload the XML configuration or not Zy<gA >
是否加载xml配置(true,false) ne~=^IRB
A3;}C+K
struts.continuations.package ]V `L\
The package containing actions that use Rife continuations m$w'`[H
含有actions的完整连续的package名称 ['G@`e*\
+H'{!:e5
struts.custom.i18n.resources KA"D2j9wn
Location of additional localization properties files to load |z5`h
加载附加的国际化属性文件(不包含.properties后缀) +
Q $Jq
[1 ?
struts.custom.properties BS6UXAf{|Z
Location of additional configuration properties files to load 'f?=ks<
加载附加的配置文件的位置 ]csfK${
rEM#J"wF
&'0|U{|
struts.devMode NJe^5>4`
Whether Struts is in development mode or not C
`>1x`n
是否为struts开发模式 wcd1.$ n
7M#irCX
struts.dispatcher.parametersWorkaround F/QRgXV
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic l1EI4Y9KG
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) N
N1(f
[q%Rx!L
struts.enable.DynamicMethodInvocation Q`ALyp,9b
Allows one to disable dynamic method invocation from the URL Q#Vg5H4
允许动态方法调用 8,l~e8 &
)[c@5zy~*
struts.freemarker.manager.classname -/7[\S
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6UXDIg=
org.apache.struts2.views.freemarker.FreemarkerManager接口名 C.& R,$
,f]GOH
struts.i18n.encoding B9&$sTAB
The encoding to use for localization messages ?Tr]zxtd
国际化信息内码 j\uh]8N3<
m"r=p
struts.i18n.reload uE}A-\G
Whether the localization messages should automatically be reloaded |_Tp:][mf
是否国际化信息自动加载 -%g$~MZ?'
n@`:"j%s_
struts.locale RTJ\|#w
The default locale for the Struts application s_p\
bl.
默认的国际化地区信息 e[:i`J2
ZliJc7lss
struts.mapper.class XuY#EJbZ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >,&@j,?']
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?q%&"
Y]33:c_;Mo
struts.multipart.maxSize p:/#nmC<
The maximize size of a multipart request (file upload) [PI!.9H
multipart请求信息的最大尺寸(文件上传用) BKfkB[*F
KbcmK(`_
struts.multipart.parser ]8c%)%Vi
The org.apache.struts2.dispatcher.multipart. mk'$ |2O
MultiPartRequest parser implementation for a multipart request (file upload) .EXe3!J)!
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 0<n*8t?A-
h5do?b v!
d`g)(*
struts.multipart.saveDir / p PSo
The directory to use for storing uploaded files E;vF
:?|
设置存储上传文件的目录夹 A'=,q
{j!jm5
struts.objectFactory }5??n~:*5
The com.opensymphony.xwork2.ObjectFactory implementation class *\M$pUS{
com.opensymphony.xwork2.ObjectFactory接口(spring) yG ,oSp|
l[P VWM
struts.objectFactory.spring.autoWire ?:
XY3!{
Whether Spring should autoWire or not Uh tk`2O
是否自动绑定Spring KIeTZVu$%
\H-,^[G3
struts.objectFactory.spring.useClassCache _x&fK$Y)B
Whether Spring should use its class cache or not 0Gr ^#`
是否spring应该使用自身的cache 2l YA% n
ydx-`yg#
struts.objectTypeDeterminer O5lP92],
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \GFFPCi4D
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M<
1rQW'
9wB}EDZ
struts.serve.static.browserCache kR1dk4I4
If static content served by the Struts filter should set browser caching header properties or not $UX^$gG
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 D#pZN,'
N;6@f*3_i
struts.serve.static ~ ZN]2}
Whether the Struts filter should serve static content or not AvxP0@.`
是否struts过滤器应该提供静态内容 ?;c&5'7ct
Q
6)5*o8n
struts.tag.altSyntax DsI{*#
Whether to use the alterative syntax for the tags or not F\H^=P
是否可以用替代的语法替代tags K~MTbdg
N)&(&