struts2的struts.properties配置文件详解 ^Tl|v'
H;v*/~zl
struts.action.extension S_)va#b#
The URL extension to use to determine if the request is meant for a Struts action B%,0zb+-L
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )t|M)z J
=lzjMRX(?
struts.configuration 2JbCYCTC
The org.apache.struts2.config.Configuration implementation class 3o1j l2n
org.apache.struts2.config.Configuration接口名 f#!Ljjf$;
CzwnmSv{.
struts.configuration.files {3l]/X3
A list of configuration files automatically loaded by Struts i6[Hu8
struts自动加载的一个配置文件列表 a^,Xm(Wb}
f>Ge
Em~
struts.configuration.xml.reload f\Qi()
Whether to reload the XML configuration or not |kjk{
是否加载xml配置(true,false)
w*aKb
O)&V}hU*
struts.continuations.package _- { > e
The package containing actions that use Rife continuations -ohqw+D
含有actions的完整连续的package名称 se_1wCYz
VLR W,lR9O
struts.custom.i18n.resources /:B!hvpw
Location of additional localization properties files to load %kF6y_h`
加载附加的国际化属性文件(不包含.properties后缀) y3d`$'7H>
d^w6_
struts.custom.properties 7%C6gU!r
Location of additional configuration properties files to load ]c*&5c$
加载附加的配置文件的位置 M-eX>}CDm
&)1+WrU
"I
u3&mc
struts.devMode H>2)R7h
Whether Struts is in development mode or not <"6}C)G
是否为struts开发模式 Y\s@'UoVN
xse8fGs
struts.dispatcher.parametersWorkaround ,|D<De\v&
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic kid@*.I
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) a8NL
_pL:dKfy7
struts.enable.DynamicMethodInvocation L~>pSP^a
Allows one to disable dynamic method invocation from the URL l1nrJm8
允许动态方法调用 N_wB
Ww:,O48%
struts.freemarker.manager.classname }qxwNmx
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Ubv<3syR'
org.apache.struts2.views.freemarker.FreemarkerManager接口名 IvO#tI
!2=<MO
struts.i18n.encoding .O@T#0&=_
The encoding to use for localization messages `-IX"rf
国际化信息内码 #R}sGT
T:dV[3
struts.i18n.reload @w?hXK=
Whether the localization messages should automatically be reloaded (}
?")$.
是否国际化信息自动加载 t
7 dcaNBZ
#L
ffmS
struts.locale 3,t3\`=
The default locale for the Struts application |U)M.\h
默认的国际化地区信息 VB o=*gn,$
_e:c
22T'
struts.mapper.class z&Cz!HrS
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class c <Fr^8
org.apache.struts2.dispatcher.mapper.ActionMapper接口 },+ &y^
vq=nG]cE)
struts.multipart.maxSize NSI$uS6
The maximize size of a multipart request (file upload) lk;4l Z
multipart请求信息的最大尺寸(文件上传用) 5o2w)<d!
6fY-DqF!
struts.multipart.parser NCL!|
The org.apache.struts2.dispatcher.multipart. }hRw{#*8
MultiPartRequest parser implementation for a multipart request (file upload) ,v ,#f
.
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) O%}?DiSl
u0p[ltJ,
4h~CDy%_
struts.multipart.saveDir wNl{,aH@
The directory to use for storing uploaded files #p$iWY>e~
设置存储上传文件的目录夹 :J6 xYy$
lu vrv m
struts.objectFactory eCFMWFhC
The com.opensymphony.xwork2.ObjectFactory implementation class owQSy9Az
com.opensymphony.xwork2.ObjectFactory接口(spring) "lLwgh;
@S9^~W3G3
struts.objectFactory.spring.autoWire gv\WI4"n
Whether Spring should autoWire or not \:y oS>G
是否自动绑定Spring n37P$0
|r['"6
struts.objectFactory.spring.useClassCache s_o{w"3X
Whether Spring should use its class cache or not uHeKttR-
是否spring应该使用自身的cache lV".-:u_
[eLMb)n
struts.objectTypeDeterminer ANWfRtiU#
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [|A;{F#
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;-kC&GZf
f*o+g:]3
struts.serve.static.browserCache Xrl# DN
If static content served by the Struts filter should set browser caching header properties or not &$yxAqdab
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ahkq
{:]u 6l
struts.serve.static ZSvU1T8
Whether the Struts filter should serve static content or not P"[\p|[U
是否struts过滤器应该提供静态内容 7K5 tBUNQ
4ibOVBG:*,
struts.tag.altSyntax 8B!MgNKV
Whether to use the alterative syntax for the tags or not []:&WA9N
是否可以用替代的语法替代tags Q2qT[aD,
d0V*[{
struts.ui.templateDir ?k`UQi]Q
The directory containing UI templates
X6<Ds'I
UI templates的目录夹 18,;2Sr44
SwE bVwB
struts.ui.theme ^ 6b27_=
The default UI template theme w"{mDL}c
默认的UI template主题 muAgsH$/
\AeM=K6q+D
struts.url.http.port @.)WS\Cv#E
The HTTP port used by Struts URLs nvB<pSm
设置http端口 BdrYc^?JL]
ZiW&*nN?M
struts.url.https.port .;F%k,!v
The HTTPS port used by Struts URLs J\Db8O-/x4
设置https端口 6L"b O'_5K
#(}'G*
struts.url.includeParams f cnv[B..{
The default includeParams method to generate Struts URLs BdB9M8fM
在url中产生 默认的includeParams MzMVs3w|
+#L'gc
Q[Gs%/>
struts.velocity.configfile cHC1l
The Velocity configuration file path c+{ ar^)*
velocity配置文件路径 W[f%m0
vddl9"V)
struts.velocity.contexts Lb#PiTJI
List of Velocity context names )# v}8aL
velocity的context列表 T9FGuit9
QtA@p
3N?"s1U
struts.velocity.manager.classname JFdMYb
org.apache.struts2.views.velocity.VelocityManager implementation class ASB3|uy _
org.apache.struts2.views.velocity.VelocityManager接口名 ):\+%v^
(%'`t(<
struts.velocity.toolboxlocation #+H3b!8=
The location of the Velocity toolbox >}B53.;.k
velocity工具盒的位置 d ATAH}r&
struts.xslt.nocache 9*P-k.Bl
Whether or not XSLT templates should not be cached
_7b4+ L
是否XSLT模版应该被缓存 0ybMI+*