struts2的struts.properties配置文件详解 {BU,kjv1g
zYsGI<4
struts.action.extension q[ZYlF,Ho
The URL extension to use to determine if the request is meant for a Struts action }J`Gm
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 j!rz@Y3
)-oNy-YL
struts.configuration h,g~J-x`|
The org.apache.struts2.config.Configuration implementation class ZAwl,N){
org.apache.struts2.config.Configuration接口名 +`FY
v/dcb%
struts.configuration.files m|[Hhw=f
A list of configuration files automatically loaded by Struts UHWunI S
struts自动加载的一个配置文件列表 d8 po`J#nb
ZW"J]"A
struts.configuration.xml.reload 5KzU&!Zh9
Whether to reload the XML configuration or not 9q?gmAn.
是否加载xml配置(true,false) >qla,}x
,*30Q
struts.continuations.package aHw VoT
The package containing actions that use Rife continuations KAZz)7
含有actions的完整连续的package名称 !Fi)-o
{Bx\Z0+'&
struts.custom.i18n.resources s0SB!-Vjm
Location of additional localization properties files to load gqG"t@Y+
加载附加的国际化属性文件(不包含.properties后缀) !O*n6}nPE
$[Ns#7K
struts.custom.properties X+iULr.^`~
Location of additional configuration properties files to load t<tBOesQ
加载附加的配置文件的位置 y5I7pbe
"2-TtQV!
p-Ju&4fS
struts.devMode 2bmppDk
Whether Struts is in development mode or not RA}PM?D/
是否为struts开发模式 9]iDNa/D
,7aqrg
struts.dispatcher.parametersWorkaround 5VfP@{
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic :([,vO:
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _19k@a
A}8U;<\Ig
struts.enable.DynamicMethodInvocation IftPN6(Z
Allows one to disable dynamic method invocation from the URL %?seX+ne
允许动态方法调用 N~Gh>{N
EifYK
struts.freemarker.manager.classname We|*s2!
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class
@Hzsud
org.apache.struts2.views.freemarker.FreemarkerManager接口名 'CvZiW[_r
{ib`mC^
struts.i18n.encoding _B2t|uQ
The encoding to use for localization messages Wo&i)S<i0F
国际化信息内码 rqIt}(J
J0`?g6aY
struts.i18n.reload 8^T' a^Wt
Whether the localization messages should automatically be reloaded ?~$y3<[
是否国际化信息自动加载 ^U1;5+2G+~
{)+/w"^.
struts.locale >z2{D7
The default locale for the Struts application -v:Y\=[\
默认的国际化地区信息 ${?Px
c{-
qQb8K+ t
struts.mapper.class ,F1$Of/'@\
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,xiRP$hGhh
org.apache.struts2.dispatcher.mapper.ActionMapper接口 wFe</U-';
W\Gg!XsLk
struts.multipart.maxSize -`( :L[
The maximize size of a multipart request (file upload) nv={.H
multipart请求信息的最大尺寸(文件上传用) JO$0Z
X@s s d
struts.multipart.parser Y\rKw!u_!
The org.apache.struts2.dispatcher.multipart. eu~;G H
MultiPartRequest parser implementation for a multipart request (file upload) wZ\0<skU
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 0Bll6Rd
$]_=B Jyu
@`T6\ 1
struts.multipart.saveDir GxBj N7"
The directory to use for storing uploaded files ji1A>jepF
设置存储上传文件的目录夹 7M4iBk4I
P++gR@
struts.objectFactory a P`;Nr=
The com.opensymphony.xwork2.ObjectFactory implementation class !U91
com.opensymphony.xwork2.ObjectFactory接口(spring) OSBE5
hk~s1"
struts.objectFactory.spring.autoWire N.fIg
Whether Spring should autoWire or not uaS?y1:c
是否自动绑定Spring V{8mx70
V/03m3!q
struts.objectFactory.spring.useClassCache 3[c54S+(U
Whether Spring should use its class cache or not , v R4x:W
是否spring应该使用自身的cache n9#@
e}r
B%,0zb+-L
struts.objectTypeDeterminer AojX)_"z
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /rquI y^
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 F:n7yey
3o1j l2n
struts.serve.static.browserCache !$O +M#
If static content served by the Struts filter should set browser caching header properties or not
5!wa\)wY
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1PWDK1GI8
Z*k}I{0,-
struts.serve.static J~~WV<6
Whether the Struts filter should serve static content or not Alrk3I3{
是否struts过滤器应该提供静态内容 zfS`@{;F`|
*@D.=i>
struts.tag.altSyntax I!{5*~ 3
Whether to use the alterative syntax for the tags or not ?O28Q DUI
是否可以用替代的语法替代tags kw!! 5U;7
V%"aU}
struts.ui.templateDir }^=J]
The directory containing UI templates (*#S%4(YX
UI templates的目录夹 #
TvY*D,
?@tp1?)
struts.ui.theme V-VR+ Ndz
The default UI template theme QqRL>.)W
默认的UI template主题 W &*0F~
ZM\Z2L]n
struts.url.http.port WzF/wzR
The HTTP port used by Struts URLs fi1tF/`
设置http端口 $[H3O(B0*
+"Ka #Z
struts.url.https.port d}Q;CF3m:
The HTTPS port used by Struts URLs i7iL[+f]Q
设置https端口 t)5bHVx
O
Qd,.m
struts.url.includeParams Qax=_[r
The default includeParams method to generate Struts URLs BeBa4s
在url中产生 默认的includeParams *S7<QyVh
p2\@E}
z
Wq]^1g_
struts.velocity.configfile M4`qi3I
The Velocity configuration file path -_B*~M/vV`
velocity配置文件路径 &kh-2#E
<"6}C)G
struts.velocity.contexts caS5>wk`R
List of Velocity context names oPl^tzO
velocity的context列表 oH$4K8j
,|D<De\v&
'?4B0=
struts.velocity.manager.classname "HlT-0F
org.apache.struts2.views.velocity.VelocityManager implementation class J#MUtpPdQ
org.apache.struts2.views.velocity.VelocityManager接口名 l7\Bq+Q
I_\j05
struts.velocity.toolboxlocation ih~ R?W
The location of the Velocity toolbox !?,rcgi
velocity工具盒的位置 x:G uqE
struts.xslt.nocache qEE
V&
Whether or not XSLT templates should not be cached NU O9,
是否XSLT模版应该被缓存 /alJN`g