struts2的struts.properties配置文件详解 Zb&5)&'X
\&XtPQ
struts.action.extension xR~9|H9a
The URL extension to use to determine if the request is meant for a Struts action _keI0ML-#
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8x~'fzf;Sq
td!YwN*
struts.configuration b )(si/]\
The org.apache.struts2.config.Configuration implementation class u.yjk/jF
org.apache.struts2.config.Configuration接口名 eeVzOq(
TxA%{0
struts.configuration.files ;{j@ia
A list of configuration files automatically loaded by Struts RKb{QAK!v
struts自动加载的一个配置文件列表 ->9waXRDz)
R+&{lc
struts.configuration.xml.reload ;owU]Xk%8K
Whether to reload the XML configuration or not TdKo"H*C
是否加载xml配置(true,false) qsG}A
yd=NafPM
struts.continuations.package ]39])ul
The package containing actions that use Rife continuations <^n@q f}
含有actions的完整连续的package名称 wn Q% 'Eo
nN'>>'@>
struts.custom.i18n.resources p3Z[-2I
Location of additional localization properties files to load K3;~|U-l
加载附加的国际化属性文件(不包含.properties后缀) Xs Ey8V
c&"OhzzJK'
struts.custom.properties ET\>cxSp
Location of additional configuration properties files to load werTwe2Q
加载附加的配置文件的位置 E0t%]?1
UA3!28Y&E3
qZ<|A%WQ
struts.devMode a/Ik^:>m
Whether Struts is in development mode or not Nm{J=`
是否为struts开发模式 -Pp =)_O
:"Gd;~p.
struts.dispatcher.parametersWorkaround Sp-M:,H3H
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Yu+;vjbK-
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 19]O;
`st^i$A
struts.enable.DynamicMethodInvocation %) /Bl.{}<
Allows one to disable dynamic method invocation from the URL 70F(`;
允许动态方法调用 ?
4v"y@v
k =
struts.freemarker.manager.classname GLiD,QX<
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class R<Uu(-O-
org.apache.struts2.views.freemarker.FreemarkerManager接口名 y.aeXlc[
LL%s$>c65A
struts.i18n.encoding uB;PaZG?{
The encoding to use for localization messages SU7 erCHX
国际化信息内码
[P3
Z"&
WNp-V02l
struts.i18n.reload i Qa=4'9;
Whether the localization messages should automatically be reloaded ;mauA#vd
是否国际化信息自动加载 )U+Pt98"
*@E&O^%cO
struts.locale %df[8eX{
The default locale for the Struts application >>.4@
默认的国际化地区信息 k/m-jm_h
_zG[b/:p
struts.mapper.class xX~;
/e&,
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Gj- *D7X5
org.apache.struts2.dispatcher.mapper.ActionMapper接口 MT^krv(G
?'mi6jFFh
struts.multipart.maxSize }kF*I@:g
The maximize size of a multipart request (file upload) mNQ*YCq.
multipart请求信息的最大尺寸(文件上传用) 5;[h&jH
"ZR^w5
struts.multipart.parser P"s7}cl
The org.apache.struts2.dispatcher.multipart. nC@UK{tVa
MultiPartRequest parser implementation for a multipart request (file upload) xG8z4Yu
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) w1,6%?p(O
8;fi1 "F;}
1z-Q~m@@
struts.multipart.saveDir IJ2>\bW_p
The directory to use for storing uploaded files f}:W1&LhI?
设置存储上传文件的目录夹 \w=*:Z
qM9> x:V
struts.objectFactory Rf#t|MW*#
The com.opensymphony.xwork2.ObjectFactory implementation class ;|D8"D6]
com.opensymphony.xwork2.ObjectFactory接口(spring) ;T|hNsSt
s}Q*zy
struts.objectFactory.spring.autoWire 2X`5YN;
Whether Spring should autoWire or not nD!5I@D
是否自动绑定Spring te
b/
%)}y[
(
struts.objectFactory.spring.useClassCache pVC;''E
Whether Spring should use its class cache or not OcZ8:`=%
是否spring应该使用自身的cache ;hkzL_' E)
!3Ed0h]Bfa
struts.objectTypeDeterminer 8gXf4A(N
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class - %`iLu
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *:,y`!F=y
_Bq [c
struts.serve.static.browserCache D`@*udn=
If static content served by the Struts filter should set browser caching header properties or not lk%W2N5
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /F_(&H!m
mAuN* (
struts.serve.static ct@i]}"`
Whether the Struts filter should serve static content or not ,_U3p ,
是否struts过滤器应该提供静态内容 A>Xt 5vk+
o(3`-ucD`
struts.tag.altSyntax `cpUl*Y=
Whether to use the alterative syntax for the tags or not l>?k>NEpP
是否可以用替代的语法替代tags 4qg]
oiT
ds<q"S{p
struts.ui.templateDir \"=b8x
The directory containing UI templates wKj0vMW
UI templates的目录夹 mVEHVz $
EM0]"s@Lf
struts.ui.theme BLcsIyq
The default UI template theme T)#eaz$4W
默认的UI template主题 $#7 ~
rhO8 v
struts.url.http.port {"@E_{\
The HTTP port used by Struts URLs (7?jjH^4
设置http端口 I>%@[h,+
{GKq Ou
struts.url.https.port O`2hTY\
The HTTPS port used by Struts URLs #_4JTGJ
设置https端口 2R`/Oox
@>Ul0&Mf?
struts.url.includeParams Z >F5rkJ
The default includeParams method to generate Struts URLs IWP[?U=
在url中产生 默认的includeParams =J827c{.
D",~?
50Y^##]&
struts.velocity.configfile ?%wM 8?
The Velocity configuration file path p<AzpkU,A
velocity配置文件路径 Vv~:^6il
@Yzc?+x
struts.velocity.contexts :yE7jXB
List of Velocity context names }@NT#hD
velocity的context列表 5d5q0bb
07qL@![!
W6L}T,epX
struts.velocity.manager.classname [y1
x`WOk9
org.apache.struts2.views.velocity.VelocityManager implementation class JN<IMH
org.apache.struts2.views.velocity.VelocityManager接口名 @DK;i_i
[XDr-5Dm
struts.velocity.toolboxlocation #`b5kqQm
The location of the Velocity toolbox 8VLD yX2-
velocity工具盒的位置 .80L>0
struts.xslt.nocache 7) e#b
Whether or not XSLT templates should not be cached rulw6vTB(
是否XSLT模版应该被缓存 4xnM7t\