struts2的struts.properties配置文件详解 Z>rY9VvWD
mayJwBfU
struts.action.extension lE:g A,
The URL extension to use to determine if the request is meant for a Struts action #oUNF0L@6
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 VeoG[Jl
zCx4DN`
struts.configuration 4<efj
The org.apache.struts2.config.Configuration implementation class `Fy-"Uf
org.apache.struts2.config.Configuration接口名 (j:
ptQ2$
^jdU4
struts.configuration.files t^rw@$"}
A list of configuration files automatically loaded by Struts t'qYM5
struts自动加载的一个配置文件列表 >yBqi^aL
9j,g&G.K
struts.configuration.xml.reload !|cg=
Whether to reload the XML configuration or not GtA`0B
是否加载xml配置(true,false) h!EA;2yGKa
+EETo):
struts.continuations.package FcDS*ZEk!
The package containing actions that use Rife continuations 8t-GsjHb
含有actions的完整连续的package名称 oaoTd$/5
)pnyVTKt
struts.custom.i18n.resources rd%%NnT"
Location of additional localization properties files to load ]\$/:f-2
加载附加的国际化属性文件(不包含.properties后缀) +#W94s~0V
Gz[yD
~6a
struts.custom.properties aB9!}3@
Location of additional configuration properties files to load ud1M-lY\U
加载附加的配置文件的位置 .Eao|;
\CbJU
UtZ,q!sg
struts.devMode j)A#}4jd
Whether Struts is in development mode or not D &@]
是否为struts开发模式 \/A.j|by,>
4=zs&
struts.dispatcher.parametersWorkaround ._mep\#.:
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }U_
'7_JT
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) UX 1
)((
JfY*#({y
struts.enable.DynamicMethodInvocation rqdwQ
Allows one to disable dynamic method invocation from the URL \@LTXH.
允许动态方法调用 uV/5f#)
JxAQ,oOO
struts.freemarker.manager.classname qWt}8_"
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 0#q=-M/?`
org.apache.struts2.views.freemarker.FreemarkerManager接口名 VtreOJ+
#(8|9
struts.i18n.encoding ' W/M>!X
The encoding to use for localization messages z6>@9+V-&
国际化信息内码 @f!X%)\;x
d=!:UB
struts.i18n.reload Cy/&KWLenf
Whether the localization messages should automatically be reloaded 0YeTS!*Aj
是否国际化信息自动加载 -N *L1Zj
EY}:aur
struts.locale }aCa2%
The default locale for the Struts application #YUaM<O
默认的国际化地区信息 1<@SMcj>
M `xiC
struts.mapper.class gv#\}/->4
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Y+gY"
org.apache.struts2.dispatcher.mapper.ActionMapper接口 3a/n/_D
Y.tx$%
struts.multipart.maxSize 4w4B\Na>l
The maximize size of a multipart request (file upload) l'@-?p(Vuw
multipart请求信息的最大尺寸(文件上传用) VJh8`PVX
e~'`x38
struts.multipart.parser jN=<dq
~
The org.apache.struts2.dispatcher.multipart. P&-o>mM
MultiPartRequest parser implementation for a multipart request (file upload) Yo-}uTkw
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) H=t"qEp
]S|FK>U[
Xlo7enzY
struts.multipart.saveDir wb-yAQ8
The directory to use for storing uploaded files 5of3&
设置存储上传文件的目录夹 zM0NRERi
=W(*0"RM
struts.objectFactory B5e9'X^
[
The com.opensymphony.xwork2.ObjectFactory implementation class sE1cvAw9l
com.opensymphony.xwork2.ObjectFactory接口(spring) 4ls:BO;k]
lWbu`y
struts.objectFactory.spring.autoWire Dn- gP
Whether Spring should autoWire or not "tK%]c d-
是否自动绑定Spring p 7?
&y[NCAeA
struts.objectFactory.spring.useClassCache p7h#.m~Qu
Whether Spring should use its class cache or not WWT1= #"
是否spring应该使用自身的cache 5{Cz!ut;tE
}\pI`;*O|
struts.objectTypeDeterminer P T"}2sR)
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tF2"IP.
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~5 ^Jv m
3Ob.OwA
struts.serve.static.browserCache {4"V)9o-1>
If static content served by the Struts filter should set browser caching header properties or not 9g9 2eKS
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2wf&jGHs
u8e_Lqx?
struts.serve.static jm_-f
Whether the Struts filter should serve static content or not )P$(]{
是否struts过滤器应该提供静态内容 *bkb-nKw
N<EVs.7
struts.tag.altSyntax +)]YvZ6%[,
Whether to use the alterative syntax for the tags or not 7
,Rg~L
是否可以用替代的语法替代tags :Pud%}'
)?n'ZhsX
struts.ui.templateDir \-<BUG]=
The directory containing UI templates c:[k+_Zr
UI templates的目录夹 ?J[3_!"t
"fFSZ@,r
struts.ui.theme yDWIflP0;
The default UI template theme ]B8
A
默认的UI template主题 0.aXg "
\P\Z<z7jy
struts.url.http.port ;*K4{wvG
The HTTP port used by Struts URLs R>'
%}|v/
设置http端口 99m2aT()
,d
G. 67
struts.url.https.port QFh1sb)]d)
The HTTPS port used by Struts URLs O*yxOb*
设置https端口 _z5/&tm_H
q5'S<qY^
struts.url.includeParams zF&VzNR2
The default includeParams method to generate Struts URLs T U%@_vYR
在url中产生 默认的includeParams OvdT* g=8*
&&ioGy}1
%pWn9
struts.velocity.configfile 6iC>CY3CG
The Velocity configuration file path x)5}:b1B=
velocity配置文件路径 dZM^?rq
oy+|:[v:Fk
struts.velocity.contexts Iq$| ?MH
List of Velocity context names )U^=`* 7
velocity的context列表 Obdn#Wm=
f~IJ4T2#N
)7q$PcY
struts.velocity.manager.classname [B0BHJ~
org.apache.struts2.views.velocity.VelocityManager implementation class >mGH4{H
org.apache.struts2.views.velocity.VelocityManager接口名 0^;2
K g@'mG
struts.velocity.toolboxlocation f%Q)_F[0D4
The location of the Velocity toolbox _ _O f0<
velocity工具盒的位置 =KRM`_QShg
struts.xslt.nocache TS<d?:
Whether or not XSLT templates should not be cached /-=fWtA
是否XSLT模版应该被缓存 lFBdiIw