struts2的struts.properties配置文件详解 o%+8.Tx6wT
k{/2vV[`]
struts.action.extension {xm^DT
The URL extension to use to determine if the request is meant for a Struts action +gG6(7&+=
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 I/ pv0
K<HF!YU#I2
struts.configuration \X5>HPB
The org.apache.struts2.config.Configuration implementation class Nw`}iR0i
org.apache.struts2.config.Configuration接口名 qwlIz/j
7|A9
struts.configuration.files D\~*| J
A list of configuration files automatically loaded by Struts RcUKe,
struts自动加载的一个配置文件列表 {iGk~qN
niZ/yW{w
struts.configuration.xml.reload @$R[Js%MuO
Whether to reload the XML configuration or not 9rr"q5[
是否加载xml配置(true,false) p}qNw`
C.r9)#G
struts.continuations.package "#T3l^@
The package containing actions that use Rife continuations 1C [j:Ly/
含有actions的完整连续的package名称 >&0)d7Nu8m
RO-ABFEi(
struts.custom.i18n.resources i-(^t1c
Location of additional localization properties files to load 6m_whGosi
加载附加的国际化属性文件(不包含.properties后缀) %&L]k>n^
#`tn:cP
struts.custom.properties g?qh
Location of additional configuration properties files to load wl1JKiodg
加载附加的配置文件的位置 bgW=.s
K)|#FRPM u
6{rH|Z
struts.devMode fqaysy
Whether Struts is in development mode or not 5>J{JW|
是否为struts开发模式 A^PCI*SN[
CD\k.
struts.dispatcher.parametersWorkaround ]XX8l:+
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &J~vXk:
!
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |fXwH> 'sw
WlHw\\ur
struts.enable.DynamicMethodInvocation (>THN*i
Allows one to disable dynamic method invocation from the URL
WH F>J
允许动态方法调用 qRMH[F$`
t'@1FA!)
struts.freemarker.manager.classname ^c1%$@H
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class |k~\E|^
org.apache.struts2.views.freemarker.FreemarkerManager接口名 \29a@ 6
=]h 5RC
struts.i18n.encoding 6Sh0%Fs
The encoding to use for localization messages &j}\ZD
国际化信息内码 M6E.!Cs
@Oe!*|?mS
struts.i18n.reload #4. S2m4
Whether the localization messages should automatically be reloaded $O*rxQ}
是否国际化信息自动加载 %k8} IBL
a9=,P
struts.locale krkRP%jy
The default locale for the Struts application 3%Jg' Tr+
默认的国际化地区信息 d[+ xLa
sy+o{] N
struts.mapper.class r40#-A$
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class jHPJk8@y
org.apache.struts2.dispatcher.mapper.ActionMapper接口 #/'5N|?
)Yvf9dl
struts.multipart.maxSize $ig%YB
The maximize size of a multipart request (file upload) 7dl]f#uZU
multipart请求信息的最大尺寸(文件上传用) JV|GEn\@N
C<CE!|sfr
struts.multipart.parser k$nQY
The org.apache.struts2.dispatcher.multipart. @,i_
KN6C
MultiPartRequest parser implementation for a multipart request (file upload) o/EA%q1
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8UArl3
FyN@mX
*bu/Ko]
struts.multipart.saveDir xXl^\?HC
The directory to use for storing uploaded files CybHr#LBc
设置存储上传文件的目录夹 K9co_n_L
K29]B~0%E
struts.objectFactory B JDe1W3;'
The com.opensymphony.xwork2.ObjectFactory implementation class
^|DI9G(Bs
com.opensymphony.xwork2.ObjectFactory接口(spring) ($^XF: #5
3 }Z[d
struts.objectFactory.spring.autoWire W/U&w.$
Whether Spring should autoWire or not V.PbAN
是否自动绑定Spring o0Qy?14T-
B@ZedXi
struts.objectFactory.spring.useClassCache *9}2Bmojv
Whether Spring should use its class cache or not o.DT`L8
是否spring应该使用自身的cache EJ P##eGx
olzP=08aaV
struts.objectTypeDeterminer I^'kt[P'FZ
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class
'ypJGm
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @)m H"u!(7
K1O0/2O
struts.serve.static.browserCache |,F/_
If static content served by the Struts filter should set browser caching header properties or not Gu Msw*{>
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ckRWVw
gc@,lNmi
struts.serve.static jj8AV lN
Whether the Struts filter should serve static content or not C.dN)?O
是否struts过滤器应该提供静态内容 P`wp`HI
kBd #=J
struts.tag.altSyntax T!eb=oy
Whether to use the alterative syntax for the tags or not Jq) !)={
是否可以用替代的语法替代tags #imMkvx?
uZ*;%y nQ
struts.ui.templateDir ='<0z?Af
The directory containing UI templates rz0~W6 U
UI templates的目录夹 $d.UF!s
1{R1:`
struts.ui.theme R+IT)2
The default UI template theme gTZ1LJ
默认的UI template主题 '~A~gK0
n?vrsqmZ
struts.url.http.port h_L-M}{OG
The HTTP port used by Struts URLs bY7d
设置http端口 K:/%7A_{
eZs34${fN
struts.url.https.port i[A$K~f
The HTTPS port used by Struts URLs ,o\vumx
设置https端口 !u@e^J{Ao
fLl~a[(5
struts.url.includeParams ai[st+1
The default includeParams method to generate Struts URLs WP7*Q:5
在url中产生 默认的includeParams 4Y8/>uL
A?'Tigi
`yJpDGh
struts.velocity.configfile <<K G S
The Velocity configuration file path EX UjdJs"
velocity配置文件路径 5
rkIK
W\gu"g`u
struts.velocity.contexts U#R=y:O?
List of Velocity context names jI!}}K)d
velocity的context列表 wN8-Me
Hj"`z6@7
_c?&G`
struts.velocity.manager.classname g|8G!7O
org.apache.struts2.views.velocity.VelocityManager implementation class b_@MoL@A!
org.apache.struts2.views.velocity.VelocityManager接口名 dM8`!~#&PI
0t?:
struts.velocity.toolboxlocation lpLjfHr
The location of the Velocity toolbox
Mp9wYM*
velocity工具盒的位置 _!kL7qJ"
struts.xslt.nocache %{g<{\@4(;
Whether or not XSLT templates should not be cached Ds c{- <v
是否XSLT模版应该被缓存 sI/Jhw)