struts2的struts.properties配置文件详解 xqP0Z),Ow
F:hJ^:BP
struts.action.extension DMfC(w.d
The URL extension to use to determine if the request is meant for a Struts action /Klwh1E
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 p"q-sMYl
LFen!FnM
struts.configuration 8'^eH1d'
The org.apache.struts2.config.Configuration implementation class ~+l%}4RZ
org.apache.struts2.config.Configuration接口名 oWs&W
vFl|
struts.configuration.files _32ltnBX
A list of configuration files automatically loaded by Struts q?}G?n4
struts自动加载的一个配置文件列表 @m6pAo4P
CtjjN=59
struts.configuration.xml.reload qpp:h_E
Whether to reload the XML configuration or not :w:5;cmV
是否加载xml配置(true,false) ]Y;$~qQ
-6+HA9zz@C
struts.continuations.package #n2GW^x
The package containing actions that use Rife continuations G|3OB:
含有actions的完整连续的package名称 rQKBT]?y
2q2w o&uK
struts.custom.i18n.resources [USXNe/
Location of additional localization properties files to load e=8ccj
加载附加的国际化属性文件(不包含.properties后缀) KgAc0pz{7H
AuO%F
YKY
struts.custom.properties 07/5RFmJ
Location of additional configuration properties files to load -BEPpwb<g
加载附加的配置文件的位置 QfcW
27u$VHwb
9FWn
struts.devMode tG%R_$*
Whether Struts is in development mode or not S1$\D!|1
是否为struts开发模式 <9@VY
1/HPcCsHb
struts.dispatcher.parametersWorkaround Wz=ZhE9g
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 35&&*$Jm
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) M{~eI
>V;<K?5B`W
struts.enable.DynamicMethodInvocation t{?_]2vl
Allows one to disable dynamic method invocation from the URL n>#h(
允许动态方法调用 +|#:*GZ
BOh&Db*
struts.freemarker.manager.classname ^QYI`u` 4
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class /JveN8L%
org.apache.struts2.views.freemarker.FreemarkerManager接口名 YJ1P5u:
f3v/Y5)
struts.i18n.encoding NA\,o;ka
The encoding to use for localization messages 0n(Q@O
国际化信息内码 ~PoGuj2wA
0&5}[9?V'
struts.i18n.reload Or_9KX2
Whether the localization messages should automatically be reloaded f oL`{fA
是否国际化信息自动加载 <JKPtF2b
I"DV}jg6|
struts.locale K"g[%O<
The default locale for the Struts application #jDO?Y Sa
默认的国际化地区信息 55,vmDd
aQRZyE}
struts.mapper.class rbP.N
?YU%
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class vo0[Z,aH5
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?d_<S0j-)
aP"i_!\.aa
struts.multipart.maxSize q07rWPM
"e
The maximize size of a multipart request (file upload) L`Qiu@
multipart请求信息的最大尺寸(文件上传用) 2<.}]yi
nG8]c9\Q#
struts.multipart.parser dFFB\|e;0
The org.apache.struts2.dispatcher.multipart. kV(?u_ R
MultiPartRequest parser implementation for a multipart request (file upload) SKcAZC
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) q=[0`--cd
#p_ ~L4iW
iqOd]H]v
struts.multipart.saveDir rH-_L&
The directory to use for storing uploaded files kkd<CEz2IM
设置存储上传文件的目录夹 xX|-5cM;
Jwa2Y0
struts.objectFactory g$]9xn#_[
The com.opensymphony.xwork2.ObjectFactory implementation class VF[]E0=u6
com.opensymphony.xwork2.ObjectFactory接口(spring) !PQ@"L)p
nY~CAo/:
struts.objectFactory.spring.autoWire <Ft.{aNq$c
Whether Spring should autoWire or not pD &\Z~5T
是否自动绑定Spring Uel*:c
W6\s@)b;
struts.objectFactory.spring.useClassCache aEL6-['(
Whether Spring should use its class cache or not Ex<-<tY
是否spring应该使用自身的cache kB :")$
fE^rTUtn
struts.objectTypeDeterminer ){ wE)NN
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /8GVu7
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 >O?EFd>E
koAc-o
struts.serve.static.browserCache u}ab[$Q5
If static content served by the Struts filter should set browser caching header properties or not X59~)rH,
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 szKs9er&
'X[3y^q
struts.serve.static 8E$KR:/:4
Whether the Struts filter should serve static content or not A4SM@ry
是否struts过滤器应该提供静态内容 O #0:6QX
UQhfR}(
struts.tag.altSyntax Hi|Oeu
Whether to use the alterative syntax for the tags or not .|o7YTcR:
是否可以用替代的语法替代tags zIm$S/Qe*
ea B-u
struts.ui.templateDir ?(R6}ab>K7
The directory containing UI templates ) tsaDG-E
UI templates的目录夹 yfaXScbE
UUA7m$F1
struts.ui.theme m >'o&Hj
The default UI template theme K_}vmB\2l
默认的UI template主题 %=_Iq\lC
w"aD"}3
struts.url.http.port ph3[}><6
The HTTP port used by Struts URLs D5U\~'{L
设置http端口 ogQbST
4}=]QQoE
struts.url.https.port P'FI'2cN7
The HTTPS port used by Struts URLs lRentNg0b
设置https端口 VxsW3*`
r,0> 40^
struts.url.includeParams @BBqH&<`
The default includeParams method to generate Struts URLs p- zLi!
在url中产生 默认的includeParams $XaZqzeVI
\:O5, wf2
! .!qJ%
struts.velocity.configfile C96|T>bk
The Velocity configuration file path <.=
velocity配置文件路径 Q=>@:1=
F
lbL`@4M
struts.velocity.contexts JQ0KXS Nr
List of Velocity context names YK_a37E{F
velocity的context列表 LQR9S/?Ld
p+yU!Qj
dGHRHXi
struts.velocity.manager.classname Ag}>gbz~G
org.apache.struts2.views.velocity.VelocityManager implementation class V!~uGf
org.apache.struts2.views.velocity.VelocityManager接口名 W;,Jte<'Nm
#&Biu}4D
struts.velocity.toolboxlocation K);:+s-
The location of the Velocity toolbox "X}!j>-
velocity工具盒的位置 )eUb@Eu
struts.xslt.nocache UWmWouA
Whether or not XSLT templates should not be cached U3p=H^MB.
是否XSLT模版应该被缓存 "iOT14J!7