struts2的struts.properties配置文件详解 DzkE*vR
\( LKLlam
struts.action.extension \_#0Z+pX
The URL extension to use to determine if the request is meant for a Struts action WOZf4X`[
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n6ETWjP
)@RTU~#
struts.configuration -IMm#
The org.apache.struts2.config.Configuration implementation class ?<YtlqL
org.apache.struts2.config.Configuration接口名 i44UqEb
7v}4 Pl,$4
struts.configuration.files J/pW*G-U|
A list of configuration files automatically loaded by Struts 2^Tj7@
struts自动加载的一个配置文件列表 &n|#jo(gS
h6c8hp.
struts.configuration.xml.reload ?C(Z\"IX
Whether to reload the XML configuration or not Ro*$7j0!Hf
是否加载xml配置(true,false) 4tz8^z[Kw
HWxk>F0
struts.continuations.package Ka1
F7b
The package containing actions that use Rife continuations 5@" bx=
含有actions的完整连续的package名称 6d&BN7B
VZ&>zF
struts.custom.i18n.resources LDN'o1$qo
Location of additional localization properties files to load hV;Tm7I2
加载附加的国际化属性文件(不包含.properties后缀) )NGBA."t
/ZlW9|
struts.custom.properties pM9Hav@iWU
Location of additional configuration properties files to load mDC{c ?
加载附加的配置文件的位置
w1F7gd
:W<aga;J
$g$~TuA
w
struts.devMode [CGvM{
Whether Struts is in development mode or not j01.`G7Q
是否为struts开发模式 KW+ps16~
?d-(M' v.
struts.dispatcher.parametersWorkaround dGAthbWJ
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic l7Y^C1hM
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5m&{f>]T
v_J\yW'K
struts.enable.DynamicMethodInvocation o^wj_#ai$
Allows one to disable dynamic method invocation from the URL j_-$xz5-
允许动态方法调用 - o$S=
(k"|k
struts.freemarker.manager.classname vQ^a7
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class PorBB7iL
org.apache.struts2.views.freemarker.FreemarkerManager接口名 &STgj|t_
O?L_9L*
struts.i18n.encoding B<
P H7
The encoding to use for localization messages XA5gosq
国际化信息内码 F'lG=c3N
zkYlIUD
struts.i18n.reload g-U'{I5F
Whether the localization messages should automatically be reloaded 7Av/ZS
是否国际化信息自动加载 d i`}Y&
=L{lt9qQz
struts.locale _SjS^z~
The default locale for the Struts application ?|Fu^eR%X
默认的国际化地区信息 "tBdz V
2GLq#")P
struts.mapper.class 9-eYCg7C|
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class lSC3m=4g
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?q1&(g]qO
3Zs|arde2
struts.multipart.maxSize ca*USM
The maximize size of a multipart request (file upload) ndT:,"s
multipart请求信息的最大尺寸(文件上传用) 6*cm
/xJ,nwp7
struts.multipart.parser d*khda;Vj
The org.apache.struts2.dispatcher.multipart. z[b,:G
MultiPartRequest parser implementation for a multipart request (file upload) %+|k>?&z7
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) fu}NH\{
@riCR<fF
DKm`
struts.multipart.saveDir 9Gfm?.O5
The directory to use for storing uploaded files 1el?f>
设置存储上传文件的目录夹 St-:+=V_
@xH|(
struts.objectFactory {J%Na&D
The com.opensymphony.xwork2.ObjectFactory implementation class m <IPi <
com.opensymphony.xwork2.ObjectFactory接口(spring) YYr &Jcj
ZD/>L/
struts.objectFactory.spring.autoWire Nt,)5_K <
Whether Spring should autoWire or not xcnHj1r-o'
是否自动绑定Spring #`RYKQwB
okoD26tK
struts.objectFactory.spring.useClassCache yGT"k,a
Whether Spring should use its class cache or not &eQzfx=|km
是否spring应该使用自身的cache TC?kuQI
v Q[{<|K
struts.objectTypeDeterminer n{d}]V@
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class DQP#h5O
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 s0H_Y'
|Yh-`~~A"
struts.serve.static.browserCache $SSE\+|3
If static content served by the Struts filter should set browser caching header properties or not >"jV8%!sM
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {S%)GvrT
;@Ep?S@
struts.serve.static _s><>LH~
Whether the Struts filter should serve static content or not "h_]it};C
是否struts过滤器应该提供静态内容 @g9j+DcU
;38W41d{
struts.tag.altSyntax N#@xo)-H
Whether to use the alterative syntax for the tags or not tBtJRi(
是否可以用替代的语法替代tags >s1FTB-$W
33J}AK^FE
struts.ui.templateDir (M4~N)7<P5
The directory containing UI templates Jc~^32
UI templates的目录夹 1)/B V{n
v\rOs+.s
struts.ui.theme uEWW Y t
The default UI template theme +cvz
默认的UI template主题 GsqR8n=
vVc:[i
struts.url.http.port Z{+h~?63
The HTTP port used by Struts URLs Y:&1;`FBZ
设置http端口 K6KEdXM4
cCFSPT2fq[
struts.url.https.port k^Tu9}[W1
The HTTPS port used by Struts URLs O}NR{B0B3&
设置https端口 m}:";>?#
2n?\tOm(V
struts.url.includeParams &~pj)\_
The default includeParams method to generate Struts URLs IE$x2==)
在url中产生 默认的includeParams 6T< ~mn
@pQv}%
HQ7-,!XO
struts.velocity.configfile vF;6Y(h>
The Velocity configuration file path tirw{[X0n
velocity配置文件路径 [T"oqO4%]
$qD8vu )|j
struts.velocity.contexts q?[{fcNh$
List of Velocity context names }1TfKS]m>
velocity的context列表 [
w
MFX&+c
(sS[F-2R7
struts.velocity.manager.classname C@pDX>~2=b
org.apache.struts2.views.velocity.VelocityManager implementation class `PSr64h:D
org.apache.struts2.views.velocity.VelocityManager接口名 |O\(<n S
/AJ^wY
struts.velocity.toolboxlocation f<xF+wE
The location of the Velocity toolbox $%;NX[>j
velocity工具盒的位置 <3P?rcd,5K
struts.xslt.nocache n]ar\f
Whether or not XSLT templates should not be cached 6'(5pt
是否XSLT模版应该被缓存 ZgtW