struts2的struts.properties配置文件详解 kn"(A.R
uc"P3,M
struts.action.extension Vl!6W@g
The URL extension to use to determine if the request is meant for a Struts action l?^4!&Nm
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @k/NY*+
g
SAt@2*U2
struts.configuration U~l$\c
The org.apache.struts2.config.Configuration implementation class [R7Y}k:9U
org.apache.struts2.config.Configuration接口名 s&!a
'-/xyAzS
struts.configuration.files -8rjgB~."/
A list of configuration files automatically loaded by Struts t3Y:}%M
struts自动加载的一个配置文件列表 }I6vqG
R n*L
struts.configuration.xml.reload !1Cy$}w
Whether to reload the XML configuration or not rI-%be==
是否加载xml配置(true,false) `%Al>u5
Q'mM3pq4r
struts.continuations.package kd$D 3S^{
The package containing actions that use Rife continuations az|N-?u
含有actions的完整连续的package名称 5j-YM
_Z,\Vw:\F
struts.custom.i18n.resources {3{"8-18
Location of additional localization properties files to load ^B2
-)
加载附加的国际化属性文件(不包含.properties后缀) M_w<m
fLm*1S|%\
struts.custom.properties |WdPE@P
Location of additional configuration properties files to load 3J438M.ka
加载附加的配置文件的位置 yD6[\'%
hzbw>g+
Wh2tNyS
struts.devMode v+=BCyT
Whether Struts is in development mode or not 3nnJ8zQ
是否为struts开发模式 #3 pb(fbw
B|AV$N*
struts.dispatcher.parametersWorkaround RTJ3qhY
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic fCobzDy
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) g]yBA7/S"
yU}qOgXx
struts.enable.DynamicMethodInvocation 8d-t|HkN
Allows one to disable dynamic method invocation from the URL df #$9-
允许动态方法调用 TSWM
|#u':
cXOK)g#
struts.freemarker.manager.classname &7wd?)s
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @\P;W(m.i
org.apache.struts2.views.freemarker.FreemarkerManager接口名 6ez<g
Uf
M$8^91%4B
struts.i18n.encoding t=O8f5Pf{
The encoding to use for localization messages KC#q@InK
国际化信息内码 8rS:5:Hi
X~,aNRy
struts.i18n.reload _v=SH$O+
Whether the localization messages should automatically be reloaded Q=20IQp
是否国际化信息自动加载 z4]api(xZ
jc f #6
struts.locale EeRX+BM,
The default locale for the Struts application c[1oww
默认的国际化地区信息 V0XvJ
6}Y#= }
struts.mapper.class V2|aN<Sx<
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class :|8M`18lZ
org.apache.struts2.dispatcher.mapper.ActionMapper接口 {"QNJq#:
8- %TC\:
struts.multipart.maxSize k<{{*
The maximize size of a multipart request (file upload) spPNr
multipart请求信息的最大尺寸(文件上传用)
oVfLnI;
&,CiM0
struts.multipart.parser P8)=Kbd
The org.apache.struts2.dispatcher.multipart. j*jo@N|
MultiPartRequest parser implementation for a multipart request (file upload) }\:NuTf
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) G&V/Gj8
iBgx
"z=SO1
struts.multipart.saveDir [>%xd)8.c
The directory to use for storing uploaded files g:dH~>
设置存储上传文件的目录夹 2!J&+r
!~D}/Q;#}\
struts.objectFactory t*T2Z-!P
The com.opensymphony.xwork2.ObjectFactory implementation class }m;,Q9:+m^
com.opensymphony.xwork2.ObjectFactory接口(spring) o-OHjFfB
CZI6 6pDy
struts.objectFactory.spring.autoWire GV69eG3bX#
Whether Spring should autoWire or not a^zibPG
是否自动绑定Spring sCk?
s<eb;Z2D
struts.objectFactory.spring.useClassCache g^{@'}$
Whether Spring should use its class cache or not K[r^'P5m
是否spring应该使用自身的cache m?fy^>1
9-DZU,`P
struts.objectTypeDeterminer :~T99^$zA
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class n}G|/v<
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 q~ZNd3O
;he"ph=>
struts.serve.static.browserCache ^xh ;
If static content served by the Struts filter should set browser caching header properties or not LNpup`>`
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #32"=MfQn
-pGE]nwDL
struts.serve.static Y>G@0r BG
Whether the Struts filter should serve static content or not ,TN
2
是否struts过滤器应该提供静态内容 w6GyBo{2O_
SO(NVJh
struts.tag.altSyntax Dq5j1m.
Whether to use the alterative syntax for the tags or not FrYqaP
是否可以用替代的语法替代tags p@5`&Em,
vchm"p?9)
struts.ui.templateDir uPG4V2
The directory containing UI templates 2fR02={-
UI templates的目录夹 2Mmz %S'd
YSh+pr
struts.ui.theme 5$&%re!{Z
The default UI template theme orfO^;qTY
默认的UI template主题 /!$c/QZ
fM63+9I)\
struts.url.http.port K]0:?h;%Ld
The HTTP port used by Struts URLs f[a}aZ9)
设置http端口 ahOM CZF|
ps%q9}J
struts.url.https.port `t9?=h!
The HTTPS port used by Struts URLs dEA6
设置https端口 O6/f5
4VCOKx
struts.url.includeParams e<h~o!za
The default includeParams method to generate Struts URLs K4;'/cS
在url中产生 默认的includeParams I}6\Sv=
t&CJ%XP
gy0haW
struts.velocity.configfile
lq&wXi
The Velocity configuration file path YWe"zz
velocity配置文件路径 GlT7b/JCG
Uo>]sNP~
struts.velocity.contexts 2hkRd>)&5
List of Velocity context names 5>j)kx=J9
velocity的context列表 i9A+gtd
[[Fx[
h`k"A7M
struts.velocity.manager.classname /[)qEl2]K
org.apache.struts2.views.velocity.VelocityManager implementation class U($dx.`v#
org.apache.struts2.views.velocity.VelocityManager接口名 {(wHPzq
ac.Ms (D
struts.velocity.toolboxlocation pxf$1
The location of the Velocity toolbox k
|%B?\m
velocity工具盒的位置 }J1tdko#
struts.xslt.nocache .CU5}Tv-
Whether or not XSLT templates should not be cached YmgLzGk`
是否XSLT模版应该被缓存 Vq;A>