struts2的struts.properties配置文件详解 m'5rzZP
lBfG#\rdW~
struts.action.extension A3zO&4f
]
The URL extension to use to determine if the request is meant for a Struts action
`sJv?
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n^k Uu2g|
W0KSLxM
struts.configuration CUa`#
The org.apache.struts2.config.Configuration implementation class 6cbIs_g
org.apache.struts2.config.Configuration接口名 a~O](/+p;
E]%&)3O[
struts.configuration.files fg~9{1B
A list of configuration files automatically loaded by Struts q%c"`u/v/
struts自动加载的一个配置文件列表 X1\ao[t<;c
$/;<~Pzi
struts.configuration.xml.reload @4%x7%+[c
Whether to reload the XML configuration or not I)}T4OOc/
是否加载xml配置(true,false) Wup%.yT~Ds
h/\/dp/tt
struts.continuations.package >y^zagC*
The package containing actions that use Rife continuations ,v>|Ub,
含有actions的完整连续的package名称 mKhlYVn
?\Lf=[
struts.custom.i18n.resources 4dUr8]BkG
Location of additional localization properties files to load LOlj8T8Z
加载附加的国际化属性文件(不包含.properties后缀) n<66 7
<
cS#m\O
struts.custom.properties jGKas I`
Location of additional configuration properties files to load ]6TX)1
加载附加的配置文件的位置 J)a^3>
/_CSRi&
7s.vJdA]6
struts.devMode A_<1}8{L
Whether Struts is in development mode or not Q^\f,E\S
是否为struts开发模式 Pqb])-M9p
]>k>Z#8E*
struts.dispatcher.parametersWorkaround 7="I;
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !nyUAZ9 :
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) iXFN|ml
p/.[cH
struts.enable.DynamicMethodInvocation AcxC$uh
Allows one to disable dynamic method invocation from the URL ro*$OLc/
允许动态方法调用 O7GJg;>?
Hp?uYih0
struts.freemarker.manager.classname 8i'EO6
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class TrC :CL
org.apache.struts2.views.freemarker.FreemarkerManager接口名 7T-}oNaJA\
'Z ,T,zW
struts.i18n.encoding a]8}zSUK
The encoding to use for localization messages Pg/$N5->
国际化信息内码 {\zB'SNq
Jb"0P`senY
struts.i18n.reload yZDS>7H
Whether the localization messages should automatically be reloaded pG9qD2Cf
是否国际化信息自动加载 \,G7nT
#Yr/GNN
struts.locale 3rQ;}<*M
The default locale for the Struts application k4Ub+F
默认的国际化地区信息 H`X>
6I,4 6 XZ-
struts.mapper.class iH[ .u{h
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class #ZvDf5A
org.apache.struts2.dispatcher.mapper.ActionMapper接口 T*8rR"
Uv"O'Z
struts.multipart.maxSize @8xa"Dc
The maximize size of a multipart request (file upload) XZ!^kftyW
multipart请求信息的最大尺寸(文件上传用) ,zU7U L^I
WnZn$N.
struts.multipart.parser :OvTZ ?\
The org.apache.struts2.dispatcher.multipart. ;L.RfP"5<
MultiPartRequest parser implementation for a multipart request (file upload) !w-`:d?
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) YR}
P;
@&LtIN#
%44Z7
struts.multipart.saveDir biw2f~V
The directory to use for storing uploaded files g_F-PT>($
设置存储上传文件的目录夹 +axpIjI'
VUE6M\&z>
struts.objectFactory S6pvbaMZ
The com.opensymphony.xwork2.ObjectFactory implementation class li
Hz5<|
com.opensymphony.xwork2.ObjectFactory接口(spring) 0?d}Oj
S((\KL,
struts.objectFactory.spring.autoWire .B|a.-oA4
Whether Spring should autoWire or not ~*,e &I
是否自动绑定Spring xfJ&11fG2
4ZN&Yf`
struts.objectFactory.spring.useClassCache TScI_8c>
Whether Spring should use its class cache or not G'qGsKf\
是否spring应该使用自身的cache q"sD>Yh&
??tNMr5{[
struts.objectTypeDeterminer ui#K`.dn
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 4|[)D/N
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^~:&/ 0
EM&;SQ;C9
struts.serve.static.browserCache iYHCa }
If static content served by the Struts filter should set browser caching header properties or not F;@A2WD
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6V@?/B
?}g#Mc
struts.serve.static )]~;Ac^x
Whether the Struts filter should serve static content or not ~GZpAPg*
是否struts过滤器应该提供静态内容 2%F!aeX
N)H
_4L
struts.tag.altSyntax ek3,ss3
Whether to use the alterative syntax for the tags or not ^w*$qzESy
是否可以用替代的语法替代tags Zc Y* TGx
'5BM*4,:O
struts.ui.templateDir Oe^oigcM
The directory containing UI templates PC3-X['[
UI templates的目录夹 -6./bB g
5o dtYI%L
struts.ui.theme wmf#3"n
The default UI template theme ?()$imb*
默认的UI template主题 M~/R1\'&j
,\cO>y@
struts.url.http.port `aw5"ns^V
The HTTP port used by Struts URLs YPY'[j(p`n
设置http端口 _g#v*7o2@
Rw9 *!<Izt
struts.url.https.port hz8Z)xjJ V
The HTTPS port used by Struts URLs V.k2t$@
设置https端口 XK 09x1r
z8"(Yy7m
struts.url.includeParams 9?xc3F2EBD
The default includeParams method to generate Struts URLs \X?GzQkr
在url中产生 默认的includeParams ^.f`6 6/
^%:syg_RM[
O]nZr
struts.velocity.configfile 6+;B2;*3
The Velocity configuration file path JG=U@I]
velocity配置文件路径 h+rrmC
e%O]U:Z
struts.velocity.contexts j;+!BKWy4
List of Velocity context names Ea7LPHE#
velocity的context列表 EhBYmc"&
:)9^T<
s{]2~Z^2od
struts.velocity.manager.classname w[V71Iej
org.apache.struts2.views.velocity.VelocityManager implementation class ~YX!49XfHh
org.apache.struts2.views.velocity.VelocityManager接口名 ^:c"%<"='
]ZjydQjo)
struts.velocity.toolboxlocation Dm.tYG
The location of the Velocity toolbox i1kTP9
velocity工具盒的位置 ys3&$G
struts.xslt.nocache \?9{H6<=
Whether or not XSLT templates should not be cached dGrm1w
是否XSLT模版应该被缓存 l]GUQcN=