struts2的struts.properties配置文件详解 fL
ng[&
l"o@.C}f/
struts.action.extension LW?] ~|
The URL extension to use to determine if the request is meant for a Struts action p.TR1BHw
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 o,9E~Q '`{
" jn@S-
struts.configuration 0vmMNF
The org.apache.struts2.config.Configuration implementation class y/mxdPw
org.apache.struts2.config.Configuration接口名 Ks@S5:9sp
&tw.]3
struts.configuration.files Ttn=VX{
\
A list of configuration files automatically loaded by Struts uzG<(Q pu
struts自动加载的一个配置文件列表 ?VEJk,/k
_o~<f)E[9
struts.configuration.xml.reload ;j=/2vU~@
Whether to reload the XML configuration or not g2;JJ}
是否加载xml配置(true,false) #6fp"
Y oNg3
struts.continuations.package | ctGxS9
The package containing actions that use Rife continuations \hQ[5>
含有actions的完整连续的package名称 J6Hw05%0=
`B) ~
struts.custom.i18n.resources ;4 R1
Location of additional localization properties files to load 5X\3y4
加载附加的国际化属性文件(不包含.properties后缀) 1lfkb1BM
Z}f$KWj
struts.custom.properties P[ n`X
Location of additional configuration properties files to load xU@YBzbk
加载附加的配置文件的位置 `j(\9j ok
;nji<
cbsy&U
struts.devMode gZ
Whether Struts is in development mode or not V;L^q?v
!
是否为struts开发模式 F)j-D(c4
*rSMD_>
struts.dispatcher.parametersWorkaround H!4!1J.=xw
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $Eg|Qc-1
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) z!)_'A
8/U=~*`_
struts.enable.DynamicMethodInvocation '{\VOU
Allows one to disable dynamic method invocation from the URL yX$I<L<Suz
允许动态方法调用 ^)rX27!G
C 6Bh[:V&
struts.freemarker.manager.classname 7S7gU\qOj
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class b(_PCVC
org.apache.struts2.views.freemarker.FreemarkerManager接口名 @y;N
u
yTz@q>6s-
struts.i18n.encoding 'M|W nR
The encoding to use for localization messages x6* {@J&5*
国际化信息内码 ^HLi1w|
N)lzX X
struts.i18n.reload 'j !!h4
Whether the localization messages should automatically be reloaded M]!R}<]{
是否国际化信息自动加载 S6h=}
V)
8;4vr@EV
struts.locale "Fy34T0N
The default locale for the Struts application vpFN{UfD
默认的国际化地区信息 !
o:m*:
4
`Z @^W
struts.mapper.class =<_xUh.
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class pNcNU[c
org.apache.struts2.dispatcher.mapper.ActionMapper接口 v/c8P\
:J@q
Xa
struts.multipart.maxSize k.rP}76
The maximize size of a multipart request (file upload) yX,2`&c
multipart请求信息的最大尺寸(文件上传用) 7fLLV2
?t'ZX~k
struts.multipart.parser qo}-m7
The org.apache.struts2.dispatcher.multipart. Cmm"K[>Rx
MultiPartRequest parser implementation for a multipart request (file upload) 0L$v7,
5
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) iJ~5A'?6
6i(V+
9qIUBH e
struts.multipart.saveDir Mlb=,l
The directory to use for storing uploaded files r) T^ Td1
设置存储上传文件的目录夹 D'YF[l
N6c']!aM@
struts.objectFactory &32qv`
V_
The com.opensymphony.xwork2.ObjectFactory implementation class Dw%>y93V
com.opensymphony.xwork2.ObjectFactory接口(spring) /R^HRzTO
P!,\V\TY]
struts.objectFactory.spring.autoWire IPbdX@FeV
Whether Spring should autoWire or not GxLoNVr
是否自动绑定Spring COOazXtW
V5i_\A
struts.objectFactory.spring.useClassCache V`TXn[7
Whether Spring should use its class cache or not _{8f^@I"+
是否spring应该使用自身的cache
yUq,9.6Ig
|b;}'
*
struts.objectTypeDeterminer ?Mp~^sgp'
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /_rQ>PgSZW
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]}<.Y[!S
n4 KiC!*i0
struts.serve.static.browserCache /SY40;k:
If static content served by the Struts filter should set browser caching header properties or not )?%FU?2jrn
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 %;!@\5$
.bB_f7TH.
struts.serve.static Y:FV+ SI
Whether the Struts filter should serve static content or not ndOPD]A'
是否struts过滤器应该提供静态内容 m`g%\o^6i
Lbq"( b
struts.tag.altSyntax r9uY?M
Whether to use the alterative syntax for the tags or not C(3yJzg>y
是否可以用替代的语法替代tags C0jmjZ%w@
?#qA>:2,
struts.ui.templateDir a{L`C"rJ
The directory containing UI templates W:3u$LTf*f
UI templates的目录夹 M`FsKK`
6^wg'u]c
struts.ui.theme ; QR|v
The default UI template theme b*nytF
默认的UI template主题 e=%7tK*
$9y]>R
struts.url.http.port DHbLS3-
The HTTP port used by Struts URLs @?aNvWeavH
设置http端口 k!xi
(l<C
)"WImf:*
struts.url.https.port UX41/# 4
The HTTPS port used by Struts URLs "ltvD\
设置https端口 6](vnS;
>RHK6c
struts.url.includeParams vPi\ vU{
The default includeParams method to generate Struts URLs XU2HWa
在url中产生 默认的includeParams NRcg~Nu
^Xt9AM]e
b]g}h
struts.velocity.configfile Y">Q16(
The Velocity configuration file path XEfTAW#7
velocity配置文件路径 [=Np.:Y%
7Hf6$2Wh
struts.velocity.contexts GL@s~_;T6
List of Velocity context names lDe9EJR
velocity的context列表 8!3+Obj
;p BXAl
VDPqI+z
struts.velocity.manager.classname ZZ!d:1'7
org.apache.struts2.views.velocity.VelocityManager implementation class c[sC 2
org.apache.struts2.views.velocity.VelocityManager接口名 5>j,P
IqfR`iAix
struts.velocity.toolboxlocation 4-E9a _
The location of the Velocity toolbox Uk S86`.
velocity工具盒的位置 x)BG%{h
struts.xslt.nocache -hQ=0h~\B.
Whether or not XSLT templates should not be cached &VR<'^>
是否XSLT模版应该被缓存 /#
0@C[9