struts2的struts.properties配置文件详解 W
%<,GV
@Ta0v:Y
struts.action.extension AB+HyZ*//
The URL extension to use to determine if the request is meant for a Struts action \ lW*.<
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 T-F8[dd^/
:d1Kq _\K
struts.configuration lk4U/:
The org.apache.struts2.config.Configuration implementation class ^]k=*>{
R
org.apache.struts2.config.Configuration接口名
VXPsYR&
P" aw--f(
struts.configuration.files ^6@6BYf)
A list of configuration files automatically loaded by Struts ;iA$yw:
struts自动加载的一个配置文件列表 m^$KDrkD
K |^OnM
struts.configuration.xml.reload p'4ZcCW?f
Whether to reload the XML configuration or not T
s9go
是否加载xml配置(true,false) ZFC&&[%-sG
@rE+H
5
struts.continuations.package @yNCWa~N
The package containing actions that use Rife continuations ~Dbu;cqR@
含有actions的完整连续的package名称 RPw1i*
("s!t?!&YS
struts.custom.i18n.resources h'B0rVQia>
Location of additional localization properties files to load Pd+Wb3
加载附加的国际化属性文件(不包含.properties后缀) .A F94OlE/
0ZJrK\K;
struts.custom.properties 0`4Fa^o]h
Location of additional configuration properties files to load =zW`+++3
加载附加的配置文件的位置 @NYlVk2
wvI}|c
(V>/[Ev
struts.devMode x-T7
tr&(
Whether Struts is in development mode or not 04c`7[
是否为struts开发模式 TBmmC}PEd
F%I*m^7d
struts.dispatcher.parametersWorkaround N)EJP~0
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Rhzcm`"
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _^h?JTU^
~p { fl?
struts.enable.DynamicMethodInvocation N&G;`
Allows one to disable dynamic method invocation from the URL eB_ M *+^
允许动态方法调用 `svOPB4C'
V^kl_!@
struts.freemarker.manager.classname m!WDXt
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8bX?HeYrr
org.apache.struts2.views.freemarker.FreemarkerManager接口名 PEMuIYm$
T,uJO<
struts.i18n.encoding V!f'
O@p[
The encoding to use for localization messages COL_c<\
国际化信息内码 <3 I0$?xL
~}Z'/zCZf
struts.i18n.reload r12e26_Ab
Whether the localization messages should automatically be reloaded 2{01i)2 y
是否国际化信息自动加载 ;HmQRiCg
^.>XDUO F
struts.locale S[y?>
The default locale for the Struts application TUi<
默认的国际化地区信息 /mQ9}E4X
s;,ulME
struts.mapper.class YH3[Jvzf4
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =k2"1f~e
org.apache.struts2.dispatcher.mapper.ActionMapper接口 s x) x7
tC&jzN"
struts.multipart.maxSize |DUOyQ
The maximize size of a multipart request (file upload) Es&'c1$^s
multipart请求信息的最大尺寸(文件上传用) $yZ(ws
Q oWjC
struts.multipart.parser
w/wU~~
The org.apache.struts2.dispatcher.multipart. 4EFP*7X
MultiPartRequest parser implementation for a multipart request (file upload) i&Me7=~
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R 5Cy%
(!koz'f
}/VSIS@Z
struts.multipart.saveDir m8 Ti{w(
The directory to use for storing uploaded files 5wI j:s
设置存储上传文件的目录夹 &P(vm@*
9=G
dj!L
struts.objectFactory *cc|(EM
The com.opensymphony.xwork2.ObjectFactory implementation class 3&Fqd
com.opensymphony.xwork2.ObjectFactory接口(spring) pJ_>^i=
Cgn@@P5ZC
struts.objectFactory.spring.autoWire oI9-jW
Whether Spring should autoWire or not u\@L|rh
是否自动绑定Spring GI/4<J\
K@@Jt
struts.objectFactory.spring.useClassCache 0hX@ta[Up
Whether Spring should use its class cache or not ]*\<k
是否spring应该使用自身的cache hJGWa%`
9F|e.
struts.objectTypeDeterminer l 5z8]/
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "yPKdwP
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 du^r EMb%
l]mn4cn3
struts.serve.static.browserCache Cz#3W8jV
If static content served by the Struts filter should set browser caching header properties or not M5l*D'GE]
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &;@U54,wV
\\,z[C
struts.serve.static n4G53+y'
Whether the Struts filter should serve static content or not fc9gi4y9
是否struts过滤器应该提供静态内容 ]]_H|tO
{-,^3PI\
struts.tag.altSyntax @-BgPDi.Z
Whether to use the alterative syntax for the tags or not f2FGod<CzN
是否可以用替代的语法替代tags ,E8~^\HV
-1 _7z{.
struts.ui.templateDir 9p9-tJfH.
The directory containing UI templates R,ddH[3
UI templates的目录夹
q
pFzK
g<PdiVp+
struts.ui.theme Z.mnD+{
The default UI template theme *,oZ]!
默认的UI template主题 ;@I}eZ,f$
{bPcr hB
struts.url.http.port -~imxPmZ
The HTTP port used by Struts URLs Y^CbpG&-vC
设置http端口 p$&6E\#7
:Qklbd[9qF
struts.url.https.port (?pn2- Ip
The HTTPS port used by Struts URLs Y$6W~j
设置https端口 O7\)C]A
von~-51;
struts.url.includeParams ~*uxKEH
The default includeParams method to generate Struts URLs fY9/u =
在url中产生 默认的includeParams /'0,cJnm
dM3V2TT
ti9cfv>
struts.velocity.configfile kEs=N(
The Velocity configuration file path *oz=k
velocity配置文件路径 0!,)7
.j 0]hn]
struts.velocity.contexts R7!^ M
List of Velocity context names rCO:39L-
velocity的context列表 "rIBy
o'nrLI(t
hy|X(m
struts.velocity.manager.classname 7&9'=G
org.apache.struts2.views.velocity.VelocityManager implementation class r.;(Kx/M
org.apache.struts2.views.velocity.VelocityManager接口名 yy-\$<j
+qEvz<kch
struts.velocity.toolboxlocation #]5|Qhrr+
The location of the Velocity toolbox WS)u{
or
velocity工具盒的位置 yi/jZX
struts.xslt.nocache yD!V;?EnK
Whether or not XSLT templates should not be cached J#y?^Qm$)<
是否XSLT模版应该被缓存 ps6c>AN`A&