struts2的struts.properties配置文件详解 qYIBP?`g
e }/c`7M
struts.action.extension UuT>qWxQ8
The URL extension to use to determine if the request is meant for a Struts action
.EH^1.|v
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {^9,Dy_D
PK3)M'[
struts.configuration ci5ERv`
The org.apache.struts2.config.Configuration implementation class `(=)8>|e
org.apache.struts2.config.Configuration接口名 )rhKWg
dz5bW>
struts.configuration.files A3&8@/6,
A list of configuration files automatically loaded by Struts -+|0LXo
struts自动加载的一个配置文件列表 B/E1nBobC
D8h?s
struts.configuration.xml.reload gbr|0h>
Whether to reload the XML configuration or not S7wZCQe
是否加载xml配置(true,false) D.qbzJz
{_3ZKD(\
struts.continuations.package uVDB;6
The package containing actions that use Rife continuations ?Pl>sCFm~
含有actions的完整连续的package名称 RNoS7[&
]S,I}NP
struts.custom.i18n.resources [$.oyjd
Location of additional localization properties files to load H|F>BjXn5
加载附加的国际化属性文件(不包含.properties后缀) ErB6fl
{>QrI4*A
struts.custom.properties +ls *04
Location of additional configuration properties files to load fLc<}DF
加载附加的配置文件的位置 nT|fDD|
('
`) m
dSIMwu6u
struts.devMode R9S7p)B
Whether Struts is in development mode or not XpOsnvW
是否为struts开发模式 8 gOK?>'9
?xK9
struts.dispatcher.parametersWorkaround Yl8tjq}iC
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5[I> l
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) jSVb5P
.d8) *
struts.enable.DynamicMethodInvocation 6JRee[
Allows one to disable dynamic method invocation from the URL `ZV;Le'
允许动态方法调用 xkUsZ*X8B
Ofqe+C
struts.freemarker.manager.classname ~<v`&Gm?"
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class M%&`&{
org.apache.struts2.views.freemarker.FreemarkerManager接口名 }kL%l
q7 Uu 8JXF
struts.i18n.encoding ?Dd2k%o
The encoding to use for localization messages 'y-IE#!5
国际化信息内码 HW.S~eLw*
34JkB+#a
struts.i18n.reload c)@M7UK[
Whether the localization messages should automatically be reloaded 4CX *
是否国际化信息自动加载 5I T'u3V
BHZGQm
struts.locale }qV4]*+{
The default locale for the Struts application o>U%3-+T^J
默认的国际化地区信息 w^R5/#F_r
=*Wl;PI'
struts.mapper.class XZp(Po:H
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class q#sMew\{
org.apache.struts2.dispatcher.mapper.ActionMapper接口 UfcM2OmbK
* +A!12s@
struts.multipart.maxSize &??(EA3
The maximize size of a multipart request (file upload) = \X<UA}
multipart请求信息的最大尺寸(文件上传用) oH6(Lq'q
n6Q 3X
struts.multipart.parser lt,x(2
The org.apache.struts2.dispatcher.multipart. s)/i_Oe$\
MultiPartRequest parser implementation for a multipart request (file upload) &lI.N~Ao
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) n)`*{uv$
{j:{wW.
zb9d{e
struts.multipart.saveDir 4D\_[(P
The directory to use for storing uploaded files A|RAMO@le
设置存储上传文件的目录夹 *%Gy-5hM
fM
S-
struts.objectFactory )E6m}? H5
The com.opensymphony.xwork2.ObjectFactory implementation class wQ.ild
com.opensymphony.xwork2.ObjectFactory接口(spring) ;HqK^[1\
y"@~5e477$
struts.objectFactory.spring.autoWire ;C{2*0"H|
Whether Spring should autoWire or not m}
Yf6:cr
是否自动绑定Spring u{6*}6@fi
OY"{XnPZ
struts.objectFactory.spring.useClassCache hC6$>tl
Whether Spring should use its class cache or not )%,bog(x
是否spring应该使用自身的cache x(mY$l,il
jgEiemh&
struts.objectTypeDeterminer [FyE{NfiJ%
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class w`#lLl
B
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 m"U\;Mw?
S'3l<sY
struts.serve.static.browserCache |:H[Y"$1;
If static content served by the Struts filter should set browser caching header properties or not T w"^I*B
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 i"w$D{N
a |z{Bb
struts.serve.static (x.K%QC)
Whether the Struts filter should serve static content or not KsUsj3J
是否struts过滤器应该提供静态内容 % j^=
1L l@
ocE
struts.tag.altSyntax 9^
mrsj
Whether to use the alterative syntax for the tags or not u{>5
是否可以用替代的语法替代tags v`Sllv5bV
x]a>Q),
struts.ui.templateDir _HGDqjL
The directory containing UI templates MHxv@1)K|Y
UI templates的目录夹 I9>1WT<Yy
W&bh&KzCW
struts.ui.theme &lGp
/m:
The default UI template theme ZB ~D_S
默认的UI template主题 eKStt|M'
5vP*oD
struts.url.http.port L}:u9$w
The HTTP port used by Struts URLs 6x[gg !;85
设置http端口 U.wgae].O;
{Ja#pt
struts.url.https.port d(v )SS
The HTTPS port used by Struts URLs NsJUruN
设置https端口 _Dk;U*2
zD) 2af
struts.url.includeParams b,318R8+G
The default includeParams method to generate Struts URLs M}%0=VCY7
在url中产生 默认的includeParams 6"A|)fz
1YM04*H
YJ!6)d?C.
struts.velocity.configfile X.T.^}=
The Velocity configuration file path YToRG7X#
velocity配置文件路径 vZXyc*
VnIJ$5Y
struts.velocity.contexts q~l&EH0
List of Velocity context names .}CPZ3y
velocity的context列表 i 3?zYaT
;'vY^I8-L
C@Wm+E~;8
struts.velocity.manager.classname Q>Q$BCD5
org.apache.struts2.views.velocity.VelocityManager implementation class \".3x
PkE
org.apache.struts2.views.velocity.VelocityManager接口名 a_x|PbD
*y N,e.t
struts.velocity.toolboxlocation 7 v`Y*D
The location of the Velocity toolbox 9*,5R,#
velocity工具盒的位置 'MG)noN5
struts.xslt.nocache :&TOQ<vM
Whether or not XSLT templates should not be cached q"]-CGAa
是否XSLT模版应该被缓存 XM8C{I1