struts2的struts.properties配置文件详解 TY[d%rMm
.EZ{d
struts.action.extension D#[ :NXahn
The URL extension to use to determine if the request is meant for a Struts action (E(:F[.S
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 j/mp.'P1k
FY}*Z=D%
struts.configuration yB{o_1tc
The org.apache.struts2.config.Configuration implementation class tskODM0Zf
org.apache.struts2.config.Configuration接口名 2(J tD
VEKITBs
struts.configuration.files :k/U7 2
A list of configuration files automatically loaded by Struts ftuQ"Ds
struts自动加载的一个配置文件列表 6 |qvo+%
Y4!q 1]TGX
struts.configuration.xml.reload 'nt,+`.y6
Whether to reload the XML configuration or not gH55caF<
是否加载xml配置(true,false) CWsv#XOg]
7kpW1tjY
struts.continuations.package F S+^r\)
The package containing actions that use Rife continuations rAw1g,&
含有actions的完整连续的package名称 NKhR%H
u0hbM9U>
struts.custom.i18n.resources yzR=:0J
Location of additional localization properties files to load U`_vF~el~
加载附加的国际化属性文件(不包含.properties后缀) )&!@O$RS8(
KY&,(z
struts.custom.properties W@C tF U9
Location of additional configuration properties files to load mg/kyua^
加载附加的配置文件的位置 xxcDd_z
QF "&~
#LgoKiP!Y
struts.devMode cP=mJ1
Whether Struts is in development mode or not wSF#;lqd
是否为struts开发模式 hdqls0 r
wO)KQ~ yX
struts.dispatcher.parametersWorkaround /l%qq*Ew
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic l:,UN07s
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &U)s%D8e;d
CHP6H}#|g
struts.enable.DynamicMethodInvocation Nb^:_0&H@
Allows one to disable dynamic method invocation from the URL iB`]Z@ZC
允许动态方法调用 ?yeC
j1X
8\
;G+
struts.freemarker.manager.classname eaP$/U
D?
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Qnx92
org.apache.struts2.views.freemarker.FreemarkerManager接口名 o xu9v/
K05Y;URbd
struts.i18n.encoding Qs X 59d
The encoding to use for localization messages ;*H~Yb0
国际化信息内码 >F_Ne)}qTQ
%GiO1:t
struts.i18n.reload ua-|4@YO
Whether the localization messages should automatically be reloaded yOz Kux8kB
是否国际化信息自动加载 Ao0PFY
R3 `W#`
struts.locale x#mk[SV
The default locale for the Struts application iPpJ`i#@+
默认的国际化地区信息 _cN)q
Y!$z7K
struts.mapper.class 7Q}@L1A9F,
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "*\3.`Kd
org.apache.struts2.dispatcher.mapper.ActionMapper接口 XQ;dew+
pT$AdvI]
struts.multipart.maxSize &uW.V+3
The maximize size of a multipart request (file upload) 3h4"Rv=,
multipart请求信息的最大尺寸(文件上传用) )!-'S H
o}Np}PE6
struts.multipart.parser &B7KWvAy
The org.apache.struts2.dispatcher.multipart. mLA$F4/K
MultiPartRequest parser implementation for a multipart request (file upload) j=>Gfo
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) P32'`!/:
Y
@&nW
jhM|gV&
struts.multipart.saveDir $Ws2g*i
The directory to use for storing uploaded files Y2&6xTh
设置存储上传文件的目录夹 B*N 8:u
7gaC)j&
struts.objectFactory M'7x:Uw;
The com.opensymphony.xwork2.ObjectFactory implementation class ?7a[|-
com.opensymphony.xwork2.ObjectFactory接口(spring) ovFfTP<3V
s>I}-=.(Q
struts.objectFactory.spring.autoWire zZiVBUmE<
Whether Spring should autoWire or not JdEb_c3S
是否自动绑定Spring _'a4I;
TY?io@
struts.objectFactory.spring.useClassCache x^BBK'
Whether Spring should use its class cache or not (@ sKE
是否spring应该使用自身的cache n\9*B##
S-|$sV^cG
struts.objectTypeDeterminer Ooy96M~_G
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6mLE-(
Z7
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <P-r)=^
K\Q
1/})
struts.serve.static.browserCache j,jUg}b
If static content served by the Struts filter should set browser caching header properties or not Q NEaj\
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -. {7;6:(k
,CF~UX%
bU
struts.serve.static ^KR(p!%
Whether the Struts filter should serve static content or not ^o:5B%}#[
是否struts过滤器应该提供静态内容 >UH=]$0N
1sA-BQL
struts.tag.altSyntax <{kj}nxz
Whether to use the alterative syntax for the tags or not J1t?Qj;f3
是否可以用替代的语法替代tags *n5g";k|
ABGL9;.8
struts.ui.templateDir ZVU)@[s
The directory containing UI templates WU_Q
7%+QS
UI templates的目录夹 8+F2
!IM
Ta$<#wb
struts.ui.theme I9m
The default UI template theme q1Mk_(4oJ
默认的UI template主题 30"G%DFd
+P.Ir
struts.url.http.port `#F>?g$2
The HTTP port used by Struts URLs uESHTX/[
设置http端口 n1h+`nsf
rD?o97
struts.url.https.port -tZb\4kh
The HTTPS port used by Struts URLs K)ib{V(50
设置https端口 #*@Yil=1
'"a8<