struts2的struts.properties配置文件详解 hWe}(Ks
u1Yp5jp^K
struts.action.extension O
lIH0
The URL extension to use to determine if the request is meant for a Struts action 6spk* 8e
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 { qx,X.5$
eBKIdR%k
struts.configuration x5Pt\/ow
The org.apache.struts2.config.Configuration implementation class ~7H.<kJt
org.apache.struts2.config.Configuration接口名 c324@o^V
[|Pe'?zkf
struts.configuration.files 6)YNjh.{*
A list of configuration files automatically loaded by Struts ?pY!sG
struts自动加载的一个配置文件列表 E%:zE Q
vw6FvE`lC
struts.configuration.xml.reload 1g.9R@Kc$
Whether to reload the XML configuration or not -+Dvyr
是否加载xml配置(true,false) E cz"O
\+A<s,x
struts.continuations.package EqluxD=
The package containing actions that use Rife continuations $yK!Q)e:
含有actions的完整连续的package名称 \Y 4Z Q"0Q
o/
5Fg>d
struts.custom.i18n.resources Y% 9F
Location of additional localization properties files to load rq?x]`u
加载附加的国际化属性文件(不包含.properties后缀) '$^ F.2
>Tx;<G
struts.custom.properties L`
"UeNT
Location of additional configuration properties files to load Jjq%cA
加载附加的配置文件的位置 Z9^$jw]
<}1%">RA
!AHm+C_=Lg
struts.devMode .e+UgCwi
Whether Struts is in development mode or not M.Ik%nN#K0
是否为struts开发模式 /Q_\h+`
nd1*e
struts.dispatcher.parametersWorkaround P9^h>sV
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ![tI(TPq
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) f}!26[_9{
*xC '
struts.enable.DynamicMethodInvocation _4]dPk#^
Allows one to disable dynamic method invocation from the URL ]~ M
-KT
允许动态方法调用 eP?|U.on
Xlw=R2`)~
struts.freemarker.manager.classname DV"ri
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \ChcJth@o<
org.apache.struts2.views.freemarker.FreemarkerManager接口名 +60;z4y}w
Q(3x"+
struts.i18n.encoding /GaR&
The encoding to use for localization messages ]f~YeOB@
国际化信息内码 r&DK> H
h`j gF
struts.i18n.reload 9U*vnLB
Whether the localization messages should automatically be reloaded ;N|>pSzmL
是否国际化信息自动加载 7mNskb|
t_Wn<)XA
struts.locale $)~]4n=
The default locale for the Struts application x6tY _lzJ
默认的国际化地区信息 ]H[\~J
I SmnZ@
struts.mapper.class OpE+e4~IF
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class U s5JnP 5
org.apache.struts2.dispatcher.mapper.ActionMapper接口 I,;)pWX=@
5?MvO]_
struts.multipart.maxSize Nb1lawC
The maximize size of a multipart request (file upload) $z]l4Hj
multipart请求信息的最大尺寸(文件上传用) 9=f'sqIPV
,Pm/ci(s
struts.multipart.parser IWgC6)n@n
The org.apache.struts2.dispatcher.multipart. quYZD6IH
MultiPartRequest parser implementation for a multipart request (file upload) HfiM]^
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |O?Aj1g[c?
dr o42#$Mo
W=m_G]"L
struts.multipart.saveDir U\{Z{F%8
The directory to use for storing uploaded files zOw]P6Gk
设置存储上传文件的目录夹 $@j7VPE
Vp$ckr
struts.objectFactory IuF-bxA
The com.opensymphony.xwork2.ObjectFactory implementation class !
N p
com.opensymphony.xwork2.ObjectFactory接口(spring) mUbaR
6dUP's_
struts.objectFactory.spring.autoWire H<yec"
Whether Spring should autoWire or not WXL.D_=+
是否自动绑定Spring |T%/d#b~
4J1Q])G9
struts.objectFactory.spring.useClassCache Y# #J
Whether Spring should use its class cache or not 4`F*] Ft
是否spring应该使用自身的cache 8Bvjj|~ (@
Yt^+31/%
struts.objectTypeDeterminer Zn//u<D
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class zU%aobZ
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {UN z UaE
0^4*[?l9q
struts.serve.static.browserCache z6qC6Ck|
If static content served by the Struts filter should set browser caching header properties or not voxlo>:
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 4hs4W,2!
eC-TZH@
struts.serve.static 7d*<'k]{,
Whether the Struts filter should serve static content or not "=;&{N~8U
是否struts过滤器应该提供静态内容 S}E@*t2h
ajAEGD2Zq
struts.tag.altSyntax r.GjM#X
Whether to use the alterative syntax for the tags or not Y>+D\|%Q
是否可以用替代的语法替代tags r%m2$vx#
5a/)|
struts.ui.templateDir oCrn
The directory containing UI templates P,wJ@8lv
UI templates的目录夹 u$"5SGI6
83a
Rq&(R
struts.ui.theme 0AEs+=
The default UI template theme WJ*DWyd''
默认的UI template主题 `uj`ixcR
jDoWSYu4tY
struts.url.http.port u@HP@>V
The HTTP port used by Struts URLs `6A"eDa
设置http端口 `3-j%H2R
vC7sJIch2<
struts.url.https.port 9`muk
The HTTPS port used by Struts URLs UnPSJ]VW
设置https端口 =
7?'S#
MouYZI)
struts.url.includeParams K^S#?T|[9
The default includeParams method to generate Struts URLs +CkK4<dF
在url中产生 默认的includeParams <O WPG,
?9mY #_Of
Wac8x%J
struts.velocity.configfile ZDf9Npe
The Velocity configuration file path Rl~Tw9
velocity配置文件路径 NXx}KF c
}?JO[Q +
struts.velocity.contexts M3V[p9>
List of Velocity context names :\[F=
velocity的context列表 ZBGI_9wZ
CeQcnJU
BK{8\/dg
struts.velocity.manager.classname e:l 6;
org.apache.struts2.views.velocity.VelocityManager implementation class BhKxI
org.apache.struts2.views.velocity.VelocityManager接口名 1pK7EK3R
nxt1Y04,H
struts.velocity.toolboxlocation +G~b-}
The location of the Velocity toolbox Dt ?Fs
velocity工具盒的位置 "hvw2lyp3
struts.xslt.nocache qr@,92_
Whether or not XSLT templates should not be cached o8,K1ic5#
是否XSLT模版应该被缓存 L*Y}pO