struts2的struts.properties配置文件详解 7(C x!Yb
vM(Xip7
struts.action.extension #-{N
Ws\
The URL extension to use to determine if the request is meant for a Struts action [(ygisqt
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 H-,TS^W
Iyyo3awc
struts.configuration 0/Z
!5-.
The org.apache.struts2.config.Configuration implementation class hsz^rZ
org.apache.struts2.config.Configuration接口名 $3k
"WlRG
n(>C'<otj
struts.configuration.files &RW`W)0;
A list of configuration files automatically loaded by Struts j0x5@1`6G
struts自动加载的一个配置文件列表 r+S;B[Vd
@}DFp`~5|
struts.configuration.xml.reload WL
U }
Whether to reload the XML configuration or not PO o%^'(
是否加载xml配置(true,false) rP'AJDuq
O9^T3~x[V
struts.continuations.package "Zcu[2,
The package containing actions that use Rife continuations 1`JB)9P
含有actions的完整连续的package名称 3+(z_!Qh
?YBaO,G9o
struts.custom.i18n.resources ]g,lRG
Location of additional localization properties files to load *~2cG;B"e
加载附加的国际化属性文件(不包含.properties后缀) Pu;yEh
L^FcS\r;
struts.custom.properties Ie@Jb{x
Location of additional configuration properties files to load !n<o)DsZR
加载附加的配置文件的位置 E(4w5=8TI
uv]{1S{tb
?#BV+#(
struts.devMode \|%E%Yc
Whether Struts is in development mode or not OCNPi4
是否为struts开发模式 BvK QlT
fx)KNm8Lx
struts.dispatcher.parametersWorkaround M'2r@NR8
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic s bnjy"Z%
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }pawIf4V
TSjIz5
struts.enable.DynamicMethodInvocation g
jxS
Allows one to disable dynamic method invocation from the URL qTM%G-
允许动态方法调用 X>zlb$
H)>sTST(
struts.freemarker.manager.classname f%XJ;y\,9H
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class W~ruN4q.
org.apache.struts2.views.freemarker.FreemarkerManager接口名 4h8*mMghs
m Ni2b*k
struts.i18n.encoding 2*2:-ocl$
The encoding to use for localization messages z%sy$^v@vD
国际化信息内码 I[D8""U
M0w/wt|
struts.i18n.reload {C")#m-0
Whether the localization messages should automatically be reloaded rN5tI.iC
是否国际化信息自动加载 E\M-k\cSj
BBnq_w"a
struts.locale 7-*=|gl+
The default locale for the Struts application V%NeZ1{ e
默认的国际化地区信息 K_ke2{4Jm
Sh&PNJ-*
struts.mapper.class g"K>5Cb
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0.Vi97`
org.apache.struts2.dispatcher.mapper.ActionMapper接口 a]B[`^`z
U| 5-0 u5
struts.multipart.maxSize ,_ .v_
The maximize size of a multipart request (file upload) S3Y2O
x
multipart请求信息的最大尺寸(文件上传用) VhEka#
lH2wG2
struts.multipart.parser x({C(Q'O
The org.apache.struts2.dispatcher.multipart. tR)H~l7q
MultiPartRequest parser implementation for a multipart request (file upload) )D/ 6%]O
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +Xy*?5E;C
2SG$LIV 9Y
J7+w4q~cB`
struts.multipart.saveDir BKIjNV3
The directory to use for storing uploaded files Riry_
设置存储上传文件的目录夹 O !&,5 Dy
vmX"+sHz$]
struts.objectFactory L0NA*C
The com.opensymphony.xwork2.ObjectFactory implementation class fU+Pn@'
com.opensymphony.xwork2.ObjectFactory接口(spring) uQ/h'v
l]6%lud8_
struts.objectFactory.spring.autoWire _}gtcyx
Whether Spring should autoWire or not v }\,o%t^
是否自动绑定Spring GF$`BGW
x#H
3=YD*
struts.objectFactory.spring.useClassCache ;\{`Ci\
Whether Spring should use its class cache or not f_=~H<j!
是否spring应该使用自身的cache ,S&z<S_
rwf^,r"r
struts.objectTypeDeterminer 6b=q-0yj
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class L'Q<>{;Ig
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 =,V|OfW
v=?2S
struts.serve.static.browserCache s?C&s|'.
If static content served by the Struts filter should set browser caching header properties or not @xAfZb2 E
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Z`Z5sj 4{
F]+~x/!
struts.serve.static r ?m6$
Whether the Struts filter should serve static content or not @n+=vC.xO
是否struts过滤器应该提供静态内容 ?cy4&]s
@It>*B yB.
struts.tag.altSyntax #,NvO!j<4
Whether to use the alterative syntax for the tags or not #&
?g %'
是否可以用替代的语法替代tags Jkt4@h2Q}
6iA( o*'Yn
struts.ui.templateDir "Cz<d w]D
The directory containing UI templates "TOa=Tt{,
UI templates的目录夹 kg97S
:iF%cy.
struts.ui.theme ,,4
GNbBC
The default UI template theme |`/TBQz:r
默认的UI template主题 #0Ds'pE-
9Ul(GI(
struts.url.http.port yxWO[ Z
The HTTP port used by Struts URLs ec3<%+0f
设置http端口 ;2xO`[#
c1XX~8
struts.url.https.port f!_
ctp
The HTTPS port used by Struts URLs SU.ythU2,c
设置https端口 MXtkP1A`
3'`dFY,
struts.url.includeParams }^kL|qmjR
The default includeParams method to generate Struts URLs yd_
(?V&;_
在url中产生 默认的includeParams 9i q""
#]Y>KX2HG
mN_Z7n;^eh
struts.velocity.configfile c3TKl/
The Velocity configuration file path /e@H^Cgo
velocity配置文件路径 5@~|*g[
<n"C,
struts.velocity.contexts Nf41ZT~
List of Velocity context names 1GCzyBSbb
velocity的context列表 Vr.Y/3N&'
dtt ~ Bd
cC{"<fYF
struts.velocity.manager.classname qoMfSz"(
org.apache.struts2.views.velocity.VelocityManager implementation class "tk-w{>
org.apache.struts2.views.velocity.VelocityManager接口名 "Zv~QwC
$A_]:qI2
struts.velocity.toolboxlocation <If35Z)~
The location of the Velocity toolbox nw:-J1kWR
velocity工具盒的位置 #'baPqdO
struts.xslt.nocache #KlCZ~s
Whether or not XSLT templates should not be cached [^YA=Khu
是否XSLT模版应该被缓存 eGL1