struts2的struts.properties配置文件详解 Yg/}ghF\
O]t\B*%}
struts.action.extension :-)GNf yGz
The URL extension to use to determine if the request is meant for a Struts action `3J':Vh
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O#vn)+Y,*
VKy5=2&
struts.configuration @|BD|{k
The org.apache.struts2.config.Configuration implementation class uG;?vvg>
org.apache.struts2.config.Configuration接口名 4:D:| r
b6|Z"{TI
_
struts.configuration.files &M[MEO`t8
A list of configuration files automatically loaded by Struts )Nbc/nB$
struts自动加载的一个配置文件列表 _m Xs4
%4,xx'`
struts.configuration.xml.reload e8oKn&
Whether to reload the XML configuration or not fe|g3>/|
是否加载xml配置(true,false) >:2}V]/;
$0#6"urG
struts.continuations.package h}h^L+4
The package containing actions that use Rife continuations t)} \9^Uo
含有actions的完整连续的package名称 |=O1Hn
R"Kz!NTB
struts.custom.i18n.resources L x.jrF|&
Location of additional localization properties files to load cJ.
7Mt
加载附加的国际化属性文件(不包含.properties后缀) lkb2?2\+
_%{0?|=
struts.custom.properties %%&e"&7HE
Location of additional configuration properties files to load z$|;-u|
加载附加的配置文件的位置 B52yaG8C
@TysXx
)\>r-g$
struts.devMode je,c7ZFO
Whether Struts is in development mode or not l x e`u}[
是否为struts开发模式 3htq[Ren
it)ZP H
struts.dispatcher.parametersWorkaround b,Ke>.m
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Nt~x&s
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) MGQ,\55"
+< yhcSSTB
struts.enable.DynamicMethodInvocation Wwhgo.Wx
Allows one to disable dynamic method invocation from the URL G6V/S aD
允许动态方法调用 V.8%|-d
vM(Xip7
struts.freemarker.manager.classname 3rNc1\a;
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class T`\]!>eb
org.apache.struts2.views.freemarker.FreemarkerManager接口名 L+.H z&*@
M\9F:.t=
struts.i18n.encoding cvfUyp;P
The encoding to use for localization messages IE;\7r+h
国际化信息内码 Qs l80~n_7
Q_]~0PoH
struts.i18n.reload Ux}W&K/?'
Whether the localization messages should automatically be reloaded |gv{z"
是否国际化信息自动加载 Efx=T$%^&
90fs:.
struts.locale >F[GVmC
The default locale for the Struts application KQ{Lt?S
默认的国际化地区信息 <
bFy(+
2n)gpLIJ
struts.mapper.class {q,?<zBzu
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Qdu$Os
org.apache.struts2.dispatcher.mapper.ActionMapper接口 |9IC/C!HC
)3%@9
struts.multipart.maxSize ^ H3m\!h
The maximize size of a multipart request (file upload) 'wvMH;}u
multipart请求信息的最大尺寸(文件上传用) ;7Okyj6EP
uw33:G
struts.multipart.parser t'g^W
The org.apache.struts2.dispatcher.multipart. ;iU%Kt
MultiPartRequest parser implementation for a multipart request (file upload) JoJukoy}F
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) g1{/ 5{XI
XA{F:%
m5*[t7@%
struts.multipart.saveDir :Fe_,[FR
The directory to use for storing uploaded files =K(JqSw+M
设置存储上传文件的目录夹 fx)KNm8Lx
I\zemW!
struts.objectFactory &RO7{,`
The com.opensymphony.xwork2.ObjectFactory implementation class I]R9HGJNlJ
com.opensymphony.xwork2.ObjectFactory接口(spring) dZ]Rqr
_!
%dW%o{
struts.objectFactory.spring.autoWire ,mKObMu
Whether Spring should autoWire or not "3}<8c
是否自动绑定Spring aSL6zye
,
(0L=AxH
struts.objectFactory.spring.useClassCache vtyx`F
f
Whether Spring should use its class cache or not "^Rv#
是否spring应该使用自身的cache YQd:M%$
wL3,g2- L
struts.objectTypeDeterminer $a(`ve|
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 1~\M!SQ)
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |m;L?)F<
ER^QV(IvP8
struts.serve.static.browserCache >o/95xk2
If static content served by the Struts filter should set browser caching header properties or not e |V]
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ashar&'
x[i `S8D
struts.serve.static PeTA$Yl
Whether the Struts filter should serve static content or not e2w&&B-
是否struts过滤器应该提供静态内容 EzpFOqJG
5=L} \ankn
struts.tag.altSyntax %3o`j<
Whether to use the alterative syntax for the tags or not =&vFVIhWcf
是否可以用替代的语法替代tags Ck'aHe22'
!SxG(*u
struts.ui.templateDir & mt)d
The directory containing UI templates vt1lR5
UI templates的目录夹 !{Z~<Ky
LFf`K)q
struts.ui.theme QyGnDomQ
The default UI template theme ;Vu5p#,O<M
默认的UI template主题 RMP9y$~3pU
:]WqfR)#
struts.url.http.port Zu/<NC
(
The HTTP port used by Struts URLs +Qj(B@i
设置http端口 F)Oe9x\/
[6tSYUZs
struts.url.https.port %j+xgX/&
The HTTPS port used by Struts URLs :P+\p=
设置https端口 :a0zT#u
lAi2,bz"
struts.url.includeParams "G?Yrh
The default includeParams method to generate Struts URLs d
6t:hn
在url中产生 默认的includeParams 9P WY52!
*%gF2@=r8F
w>e
s
struts.velocity.configfile igC_)C^i>
The Velocity configuration file path c#cx>wq9
velocity配置文件路径 k)7{Y9_No
X}A'Cg0y
struts.velocity.contexts t ^SzqB
List of Velocity context names eu#'SXSC
F
velocity的context列表 _ZY\,_
UE"GJt`I
](jFwxU
struts.velocity.manager.classname OW@\./nM
org.apache.struts2.views.velocity.VelocityManager implementation class e0HfP v_
org.apache.struts2.views.velocity.VelocityManager接口名
F0lOlS
F]+~x/!
struts.velocity.toolboxlocation j/!H$0PN
The location of the Velocity toolbox q(IQa@$SR
velocity工具盒的位置 H/fUM
struts.xslt.nocache ]$b2a&r9
Whether or not XSLT templates should not be cached *rh,"Zo
是否XSLT模版应该被缓存 s:>\/[*>0c