struts2的struts.properties配置文件详解 <J}JYT
I%z,s{9p
struts.action.extension _X{ GZJm
The URL extension to use to determine if the request is meant for a Struts action D|vck1C5,
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .[?2_e#9 %
I &%
Z*H
struts.configuration gmiLjI
The org.apache.struts2.config.Configuration implementation class
C +Wa(K
org.apache.struts2.config.Configuration接口名 6r h#ATep
@)ls+}=Y
struts.configuration.files _]0<G8|Rv
A list of configuration files automatically loaded by Struts YlZ&4
struts自动加载的一个配置文件列表 @qF:v]=_@
!bn=b>+
struts.configuration.xml.reload &}#zG5eu
Whether to reload the XML configuration or not ]KUeSg|
是否加载xml配置(true,false) 9!dG Xq
+z~bH!$2
struts.continuations.package < 7*9b
The package containing actions that use Rife continuations ;2gO(
含有actions的完整连续的package名称 "_+8z_
'W&ewZH_h
struts.custom.i18n.resources \23m*3"W
Location of additional localization properties files to load p@d_Ru
加载附加的国际化属性文件(不包含.properties后缀) dvAz}3p0]
^--8
cLB
n
struts.custom.properties r\ C"Fx^
Location of additional configuration properties files to load eyn-bw
加载附加的配置文件的位置 Fgi;%
60xL.Z
B @8lD\
struts.devMode -^< t%{d
Whether Struts is in development mode or not DX/oHkLD'
是否为struts开发模式
JL7;l0#
+Ur75YPh
struts.dispatcher.parametersWorkaround b4(,ls
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +u`4@~D#
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) X7*fmD=Uy
=9:gW5F69
struts.enable.DynamicMethodInvocation Jpn= ^f[rm
Allows one to disable dynamic method invocation from the URL 8RcLs1n/
允许动态方法调用 J(9{P/
2~yj
=D27Z
struts.freemarker.manager.classname P<LmCYm
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class CFu^i|7o
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~sNBklK
sH%Ts@Pl
struts.i18n.encoding wZ_"@j<
The encoding to use for localization messages onIZ&wrk
国际化信息内码 `r %lB
_9<Mo;C
struts.i18n.reload ehZ/J5
Whether the localization messages should automatically be reloaded R}D[ z7
是否国际化信息自动加载 nPjK=o`KR
@z`eqG,']
struts.locale EZZE(dq@gf
The default locale for the Struts application qCF&o7*oN
默认的国际化地区信息 1So`]N4
" z -tL
struts.mapper.class sg4(@>
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class nZEew.T:6
org.apache.struts2.dispatcher.mapper.ActionMapper接口 m;ju@5X
y-~_ W 6\
struts.multipart.maxSize Us%g&MWdpb
The maximize size of a multipart request (file upload) uF[~YJ>
multipart请求信息的最大尺寸(文件上传用) 7ab'q&Y[
7zowvE?#
struts.multipart.parser ^-"tK:{
The org.apache.struts2.dispatcher.multipart. r,:acK
MultiPartRequest parser implementation for a multipart request (file upload) ONFx -U]
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \:2z!\iP`
tY#Zl 54~{
27}0
struts.multipart.saveDir XI,= W
The directory to use for storing uploaded files O.{
设置存储上传文件的目录夹 6lUC$B Y
z]2lT
IWg
struts.objectFactory $h5QLN
The com.opensymphony.xwork2.ObjectFactory implementation class J.]`l\
com.opensymphony.xwork2.ObjectFactory接口(spring) (#]9{C;
``>z8t[ks
struts.objectFactory.spring.autoWire Xi w
Whether Spring should autoWire or not Ny2bMj.o
是否自动绑定Spring `$vf 9'\+
\$gA2r
struts.objectFactory.spring.useClassCache wZ=@0al
Whether Spring should use its class cache or not 8TTj<T!N
是否spring应该使用自身的cache e2L>"/
PO,zP9
struts.objectTypeDeterminer 3r[s_Y*
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Ve<f}
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 U(%6ny
J'yCVb)V
struts.serve.static.browserCache
{~XAg~
If static content served by the Struts filter should set browser caching header properties or not VLoRS)
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $UpWlYwG
aq#F
struts.serve.static 0IBQE
Whether the Struts filter should serve static content or not ;s8\F]K
是否struts过滤器应该提供静态内容 v@{VQVx
C
u1G8t-
struts.tag.altSyntax B;2#Sa.
Whether to use the alterative syntax for the tags or not CY$
1;/
是否可以用替代的语法替代tags KDj/S-S
PzustC|
struts.ui.templateDir BnaI30-
The directory containing UI templates
OLoo#HW
UI templates的目录夹 p[)yn%uh
:SY,;..3e
struts.ui.theme ^)h&s*
The default UI template theme +{#Z^y6&
默认的UI template主题 KEf1GU6s
;j+*}|!
struts.url.http.port xc7Rrh]}
The HTTP port used by Struts URLs '}-QZ$|*
设置http端口 9WV8ZP
PH'n`D#
struts.url.https.port *e:2iM)8~
The HTTPS port used by Struts URLs 4
[]!Km
设置https端口 A=70UL
dJlK'zK
struts.url.includeParams U8@P/Z9
The default includeParams method to generate Struts URLs p&D7&Sb[
在url中产生 默认的includeParams 3sDyB-\&
nGur2}>n
O'QnfpQ*9
struts.velocity.configfile P/Y)Yx_(
The Velocity configuration file path 9D;ono3
velocity配置文件路径 }9FWtXAU^1
D[4%CQ1m
struts.velocity.contexts K??jV&Xor
List of Velocity context names ?~cO\(TY["
velocity的context列表 6X$nZM|g,
+>yspOEz
0wAB;|~*62
struts.velocity.manager.classname dTte4lh
org.apache.struts2.views.velocity.VelocityManager implementation class 9fOE.
org.apache.struts2.views.velocity.VelocityManager接口名 wB+F/]]|N
3}C-Hg+gt
struts.velocity.toolboxlocation bL{D*\HF
The location of the Velocity toolbox 1[-`*Ph
velocity工具盒的位置 @g*[}`8]y
struts.xslt.nocache q;_?e_
Whether or not XSLT templates should not be cached 'Zqt~5=5
是否XSLT模版应该被缓存 &v Q5+