struts2的struts.properties配置文件详解 BPqGJ7@
6*nAo8gl
struts.action.extension -h-oMqgu(
The URL extension to use to determine if the request is meant for a Struts action 'r} zY-FM`
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [pg}S#A
3ta$L"a
struts.configuration :%JC^dV(
The org.apache.struts2.config.Configuration implementation class 0rokR&Y-d
org.apache.struts2.config.Configuration接口名 8ga_pNe
CKlL~f EL
struts.configuration.files >p])it[q&$
A list of configuration files automatically loaded by Struts r]P, 9
struts自动加载的一个配置文件列表 V (rr"K+
maSgRf[g
struts.configuration.xml.reload JR9$.fGJ
Whether to reload the XML configuration or not 8BXqZVm.
是否加载xml配置(true,false) u/Fj'*M
~%#mK:+
struts.continuations.package wP"q<W
g
The package containing actions that use Rife continuations +m,!e*g
含有actions的完整连续的package名称 [m'CR 4(|
PoShQR<
struts.custom.i18n.resources )F pJ1
Location of additional localization properties files to load rrs"N3!aT
加载附加的国际化属性文件(不包含.properties后缀) Vv*NFJ |
x`Fjf/1T*m
struts.custom.properties JmOW~W
Location of additional configuration properties files to load ?4z8)E9Ju
加载附加的配置文件的位置 6'OO-o
kGN||h
4B-yTyO
struts.devMode C:\(~D*GS
Whether Struts is in development mode or not 8v
yG*UK
是否为struts开发模式 Zv qn%K],
_qWC4NMF(
struts.dispatcher.parametersWorkaround {<w
+3Va
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic vz`@x45K
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) h ?#@~
:#="%
struts.enable.DynamicMethodInvocation L>Jd7;=
Allows one to disable dynamic method invocation from the URL rOl6lQW
允许动态方法调用 u/AT-er;
|V`S>m%N
struts.freemarker.manager.classname Sl~x$9`
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class X QbNH~
org.apache.struts2.views.freemarker.FreemarkerManager接口名
L2-^!'
mog9 jw
struts.i18n.encoding b>cafu
The encoding to use for localization messages \&A+s4c")
国际化信息内码 w@]jpH;WX
mVm4fHEYwU
struts.i18n.reload Rt=
X%[YL
Whether the localization messages should automatically be reloaded J(h3]J/Yw
是否国际化信息自动加载 zTCP)x
D\]&8w6&
struts.locale 5n:71$6[
The default locale for the Struts application ,EhVSrh)_4
默认的国际化地区信息 X<MpN5%|Wo
6Dm+'y]l
struts.mapper.class :%_q[}e
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class HdQj?f3
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Li`hdrO'ii
]TK=>;&
struts.multipart.maxSize 3n(*E_n
The maximize size of a multipart request (file upload) t]m!ee8*X<
multipart请求信息的最大尺寸(文件上传用) 02 f9 w V
TGWdyIk
struts.multipart.parser (:$9%,x
The org.apache.struts2.dispatcher.multipart. EI`vVI
MultiPartRequest parser implementation for a multipart request (file upload) 3-Y=EH_0
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) d><fu]'
mf 4z?G@6
`
%' z
struts.multipart.saveDir Ao`_",E
The directory to use for storing uploaded files b>q6:=((
设置存储上传文件的目录夹 6S*zzJ.0K
6$B'Q30}r
struts.objectFactory LZ&uj{ <
The com.opensymphony.xwork2.ObjectFactory implementation class b!~TAT&8
com.opensymphony.xwork2.ObjectFactory接口(spring)
*q"G }
-qn[HXq
struts.objectFactory.spring.autoWire ~%aJFs
Whether Spring should autoWire or not q]v,
是否自动绑定Spring #)i&DJ^Y
t*z'c
struts.objectFactory.spring.useClassCache 5u pShtC
Whether Spring should use its class cache or not 4%bTj,H#
是否spring应该使用自身的cache Hptq,~_t
[y{E
struts.objectTypeDeterminer ~PUsgL^
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =49o U
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Pe,;MP\2
#1l7FT?q
struts.serve.static.browserCache 5 LMj!)3
If static content served by the Struts filter should set browser caching header properties or not !V(`ZH
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 oYq,u@oM
sQ(1/"gb
struts.serve.static lS{4dvr?w
Whether the Struts filter should serve static content or not lV7IHX1P
是否struts过滤器应该提供静态内容 4 ?2g&B\
n2na9dX)w
struts.tag.altSyntax [a D:A
Whether to use the alterative syntax for the tags or not xT+
;w[s
是否可以用替代的语法替代tags Z}f^qc+
XIN5a~[z*
struts.ui.templateDir Dh8(HiXf:
The directory containing UI templates -M`D>
UI templates的目录夹 CveWl$T12
/Hk07:"c
struts.ui.theme ;E2kT
GT
The default UI template theme XZBj=2~-3
默认的UI template主题 j&llrN
AFtCqq#[
struts.url.http.port El1:?4;
The HTTP port used by Struts URLs zPE#[\O21B
设置http端口 %Ht^yemQ
;siJ~|6)
struts.url.https.port b7f0#*(?
The HTTPS port used by Struts URLs 0Q*-g}wXfS
设置https端口 j/`Up
[#zE.
TW
struts.url.includeParams b60[({A\s&
The default includeParams method to generate Struts URLs b#}t:yy
在url中产生 默认的includeParams ?k
w/S4
bQ=s8'
0Ts!(b]B
struts.velocity.configfile s9:%s*$u
The Velocity configuration file path zK /f$}
velocity配置文件路径 ^OjvL6A/p
%d-`71|lG^
struts.velocity.contexts :D^Y?
List of Velocity context names MyM+C}
velocity的context列表 7n<#y;wo
}RDb1~6C
Z3I L8
struts.velocity.manager.classname hC|KH}aCR)
org.apache.struts2.views.velocity.VelocityManager implementation class ,?#*eJD
org.apache.struts2.views.velocity.VelocityManager接口名 FB.!`%{
xtu]F
struts.velocity.toolboxlocation _H/67dcz,
The location of the Velocity toolbox J(&Gmk9&
velocity工具盒的位置 S]. Ft/+H
struts.xslt.nocache !}j,TPpG
Whether or not XSLT templates should not be cached "h`54}0
是否XSLT模版应该被缓存 #
s,Y%
Bce