struts2的struts.properties配置文件详解 Z4T{CwD`D
%hRH80W|
struts.action.extension WG5)-;>q|
The URL extension to use to determine if the request is meant for a Struts action .DhB4v&
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Xc
G
R)]+>M-.
struts.configuration e1R<+`]
The org.apache.struts2.config.Configuration implementation class {"*gX&;~
org.apache.struts2.config.Configuration接口名 (S63:q&g
:CXm@yF~4=
struts.configuration.files f(c#1AJE53
A list of configuration files automatically loaded by Struts mqQC`Aqx:
struts自动加载的一个配置文件列表 @dhnpR:L
N >];xb>
struts.configuration.xml.reload qoC<qn{.a
Whether to reload the XML configuration or not 8+&Da
是否加载xml配置(true,false) zi+NQOhR
"Q1oSpF
struts.continuations.package mfgUf
The package containing actions that use Rife continuations lnrs4s Km
含有actions的完整连续的package名称 =n_>7@9l
S@WT;Q2Z
struts.custom.i18n.resources z3|5E#m
Location of additional localization properties files to load `t]8 [P5
加载附加的国际化属性文件(不包含.properties后缀) Lr(My3vF8q
%07vH&<C.
struts.custom.properties E
qt\It9
Location of additional configuration properties files to load 3s,a%GOk
加载附加的配置文件的位置 Q\*zF,ek
" 8g\UR"[
]
N7(<EV/
struts.devMode <s (o?U
Whether Struts is in development mode or not %VO>6iVn
是否为struts开发模式 A 1aN<!ehB
V6^=[s R
struts.dispatcher.parametersWorkaround ,y[w`Q\
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Tl-Ix&37
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) qo:t"x^
_qSVYVJ u
struts.enable.DynamicMethodInvocation qfgw^2aUa
Allows one to disable dynamic method invocation from the URL wF{M"$am
允许动态方法调用 vF'Y; M
n wO5<b;
struts.freemarker.manager.classname TA!6|)BUW
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class e3%dNa
org.apache.struts2.views.freemarker.FreemarkerManager接口名 /wJocx]vQ
`_<O_
struts.i18n.encoding VJ-To}
The encoding to use for localization messages 6=jL2cqx
国际化信息内码 oSkvTK$&i
G8Zl[8
struts.i18n.reload s'k}
.}
Whether the localization messages should automatically be reloaded bHioM{S
是否国际化信息自动加载 RWXN
C=P}@| K
struts.locale NrfAr}v'E
The default locale for the Struts application g,\O}jT\'
默认的国际化地区信息 W,[iRmxn
6G>loNM^
struts.mapper.class qE{L42
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class k$w#:Sx
org.apache.struts2.dispatcher.mapper.ActionMapper接口 0Q:l,\lY
;% l0Ml>
struts.multipart.maxSize _?;74VWA
The maximize size of a multipart request (file upload) \m~Oaf;$
multipart请求信息的最大尺寸(文件上传用) <d$t*vnq
C&RZdh,$
struts.multipart.parser #8a k=lL
The org.apache.struts2.dispatcher.multipart. s#)0- Zj
MultiPartRequest parser implementation for a multipart request (file upload) o(oD8Ni
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) d+&w7/F
4-W~1
p)* x7~3e
struts.multipart.saveDir OT}P0
~4s
The directory to use for storing uploaded files ~Da-|FKa>
设置存储上传文件的目录夹 z/f0.RJ
L
[X"N
struts.objectFactory fWl #CI\]
The com.opensymphony.xwork2.ObjectFactory implementation class 3F{R$M}
com.opensymphony.xwork2.ObjectFactory接口(spring) MZdj!(hO
wo\O0?d3{
struts.objectFactory.spring.autoWire Xrzpn&Y=#
Whether Spring should autoWire or not D]+@pKb
是否自动绑定Spring rVDOco+w
dp*E#XCr1
struts.objectFactory.spring.useClassCache 6MelN^\[7
Whether Spring should use its class cache or not F|?}r3{aJ
是否spring应该使用自身的cache C$`^(?iO/
P+Sgbtc
struts.objectTypeDeterminer w9CX5Fg
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class H8qWY"<Vd
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 )Xice=x9
:Oi}X7\
struts.serve.static.browserCache ;!#IRR
If static content served by the Struts filter should set browser caching header properties or not X-cP'"
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 sm qUFo
?fNUmk^A<
struts.serve.static G-Zn-I
Whether the Struts filter should serve static content or not ,o [FUi(#@
是否struts过滤器应该提供静态内容 dG}*M25
]|B_3*A
struts.tag.altSyntax p}|<EL}Z9
Whether to use the alterative syntax for the tags or not H.)J?3
是否可以用替代的语法替代tags >\!k~Zi
^6PKSEba
struts.ui.templateDir XPMvAZL
The directory containing UI templates *I`Eb7
^
UI templates的目录夹 hj=k[t|g}
ZKVM9ofXRi
struts.ui.theme '2m"ocaf
The default UI template theme Xb1is\JB
默认的UI template主题 fTd":F
C0H@
struts.url.http.port WM GiV
The HTTP port used by Struts URLs )T'~F
设置http端口 mJME1#j$/|
=Kt!+^\")
struts.url.https.port ;tfGhHpQn
The HTTPS port used by Struts URLs ^'4I%L"
设置https端口 d@{#F"o
SHqz&2u
struts.url.includeParams N`7+]T
The default includeParams method to generate Struts URLs L:Me
在url中产生 默认的includeParams q`L}\}o
r9~I R
z=qxZuFkDs
struts.velocity.configfile rz5@E
The Velocity configuration file path "tmr
s_~
velocity配置文件路径 , 4@C %
4YCuO%
struts.velocity.contexts +@anYtv%7
List of Velocity context names fILD~
velocity的context列表 +A2}@k
/cx
Ei6I-
G:Nwi=vN
struts.velocity.manager.classname ._`?ZJ
org.apache.struts2.views.velocity.VelocityManager implementation class ]v0=jm5A
org.apache.struts2.views.velocity.VelocityManager接口名 3OJGBiDAr
1b8}TG2
struts.velocity.toolboxlocation }XRRM:B|)(
The location of the Velocity toolbox B'D~Q
velocity工具盒的位置 QMwV6cA
struts.xslt.nocache |S3wCG
Whether or not XSLT templates should not be cached [V41 Gk
是否XSLT模版应该被缓存 P8GGN