struts2的struts.properties配置文件详解 0Ua=&;/2
Vf<q-3q
struts.action.extension 1}Y3|QxF
The URL extension to use to determine if the request is meant for a Struts action %0 i)l|
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /4@
[^}x
D$@2H>.-
struts.configuration D c;k)z=
The org.apache.struts2.config.Configuration implementation class .(3ec/i4CF
org.apache.struts2.config.Configuration接口名 4c[/%e:\-
hRMya#%-
struts.configuration.files (4Nj3x
o
A list of configuration files automatically loaded by Struts IUNr<w<
struts自动加载的一个配置文件列表 9M5W4&
XMdCQ=
struts.configuration.xml.reload .rS.
>d^n
Whether to reload the XML configuration or not r=~K#:66
是否加载xml配置(true,false) E(vO^)#
(.X)=
struts.continuations.package 1b86@f
The package containing actions that use Rife continuations aO S,%J^?
含有actions的完整连续的package名称 57=d;Yg e
K:GEC-
struts.custom.i18n.resources E@yo/S
Location of additional localization properties files to load j=Izwt>
加载附加的国际化属性文件(不包含.properties后缀) +k~0&lZi
%M))Ak4~a
struts.custom.properties (w:,iw#
Location of additional configuration properties files to load ;FW <%
加载附加的配置文件的位置 (\!?>T[En
paLPC&G
W6_ rSVm
struts.devMode lfre-pS+
Whether Struts is in development mode or not p|8ZHR+
是否为struts开发模式
{f@Q&(g
\KzJNCOT
struts.dispatcher.parametersWorkaround +I3O/=)
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic maN2(1hz
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) szb@2fK
U| VL+9#hd
struts.enable.DynamicMethodInvocation JgA{1@h
Allows one to disable dynamic method invocation from the URL R PoBF~>
允许动态方法调用 j>B* 8*Ss
0{vH .b
@
struts.freemarker.manager.classname AI Kz]J0;
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class |xg_z&dX
org.apache.struts2.views.freemarker.FreemarkerManager接口名 =5Nh}o(l?
O ;[Mi
struts.i18n.encoding GM?s8yZ<
The encoding to use for localization messages aKWxL e
国际化信息内码 ^g5E&0a`g
0zkMRBe
struts.i18n.reload {u2Zl7]z^
Whether the localization messages should automatically be reloaded )Jdku}Pf
是否国际化信息自动加载 \$*CXjh3G
t$wbwP
struts.locale r-TrA$k
The default locale for the Struts application =&,T@5&-=
默认的国际化地区信息 4dcm)Xr
E}v8Q~A(
struts.mapper.class }Z FoCMM
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |w54!f6w_
org.apache.struts2.dispatcher.mapper.ActionMapper接口 B+mxM/U[c
cz{`'VN}`
struts.multipart.maxSize {\CWoFht>
The maximize size of a multipart request (file upload) 0c`nk\vUy
multipart请求信息的最大尺寸(文件上传用) c)B3g.C4m
6h2keyod
struts.multipart.parser V7r_Ubg@K
The org.apache.struts2.dispatcher.multipart. JJ%@m;~
MultiPartRequest parser implementation for a multipart request (file upload) CbC[aVA=
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /e|Lw4$@S
u!5q)>Wt(
`[g$EXX
struts.multipart.saveDir ES AX}uF
The directory to use for storing uploaded files {sGEopd8]q
设置存储上传文件的目录夹 ..X _nF
-Dx3*Zh P
struts.objectFactory Yj/o17
The com.opensymphony.xwork2.ObjectFactory implementation class 6]~/`6Dub
com.opensymphony.xwork2.ObjectFactory接口(spring) \Ta5c31S+
PJ0~ymE1~G
struts.objectFactory.spring.autoWire ]% HxzJ
Whether Spring should autoWire or not q,O_y<uw
是否自动绑定Spring 4\u`MR
yn_f%^!G
struts.objectFactory.spring.useClassCache -0#"<!N
Whether Spring should use its class cache or not z!O;s
ep?/
是否spring应该使用自身的cache 6V%}2YE?X
vt2.
i$u
struts.objectTypeDeterminer G<D8a2q
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class hTzj{}w
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 R[j? \#
Z4Dx:m-
struts.serve.static.browserCache |-b\N6
}
If static content served by the Struts filter should set browser caching header properties or not n:OXv}pv
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #UoFU{6tM
&:&l+
struts.serve.static ix2i.wdD
Whether the Struts filter should serve static content or not }P0bNY5?%
是否struts过滤器应该提供静态内容 t;6<k7h
"aF2:E'
struts.tag.altSyntax F
|BY]{
Whether to use the alterative syntax for the tags or not bs?\
)R 5/
是否可以用替代的语法替代tags ~`FRU/@r
g9|OhymB
struts.ui.templateDir 5L[imO M0
The directory containing UI templates D]fuX|f~ul
UI templates的目录夹 m+;U,[%[*E
n=V|NrU
struts.ui.theme ''@Tke3IG6
The default UI template theme T` h%=u|D
默认的UI template主题 &)tiO>B^6
G=|?aK{p
struts.url.http.port 1F,U^O
The HTTP port used by Struts URLs oo\^}jb
设置http端口 %%}l[W
AXHY$f|
struts.url.https.port BInSS*L
The HTTPS port used by Struts URLs Lv['/!DJ|
设置https端口 dN3^PK
RU7+$Z0K
struts.url.includeParams oSD=3DQ;
The default includeParams method to generate Struts URLs
*6` ^8Y\
在url中产生 默认的includeParams jmwN 1Se>
&uRT/+18W3
A;Y~Hu4KPZ
struts.velocity.configfile 0*b8?e
The Velocity configuration file path :38h)9>RK
velocity配置文件路径 5?SE?VC=t
b4cTn 6
struts.velocity.contexts 7>y]uT@ar
List of Velocity context names v4s4D1}
velocity的context列表 bWp:!w#K
8c-ys-"#
s 0Uid&qE
struts.velocity.manager.classname JI]Lz1i
org.apache.struts2.views.velocity.VelocityManager implementation class (0q`eO2
org.apache.struts2.views.velocity.VelocityManager接口名 z2YYxJc&w
9DhM 9VU
struts.velocity.toolboxlocation :JG5)H}j+
The location of the Velocity toolbox `aAE4Ry?
velocity工具盒的位置 Zt!$"N.,
struts.xslt.nocache 1[O cZCS
Whether or not XSLT templates should not be cached Z,2?TT|p
是否XSLT模版应该被缓存 5X)QW5A