struts2的struts.properties配置文件详解 ?HV`|
Cw
`zE}1M%y
struts.action.extension %LZ({\5K#f
The URL extension to use to determine if the request is meant for a Struts action a\:VREKj,
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 kJ-*fe'S
8krpowVs~
struts.configuration cPU/tkc
The org.apache.struts2.config.Configuration implementation class rn=m\Gv
e
org.apache.struts2.config.Configuration接口名 'qF#<1&
`A,g] 1C:
struts.configuration.files A%{W{UP8N
A list of configuration files automatically loaded by Struts LJ(1RK GCz
struts自动加载的一个配置文件列表 A^2Uzmzl?
mK [0L
struts.configuration.xml.reload 0#YX=vjX7
Whether to reload the XML configuration or not $LLA,?;!
是否加载xml配置(true,false) hwIMn33
j~e;DO
struts.continuations.package OKvPL=~
The package containing actions that use Rife continuations S:x?6IDPC^
含有actions的完整连续的package名称 f}@jFhr'<
)h8\u_U
struts.custom.i18n.resources QtJg^2@
Location of additional localization properties files to load *s>BG1$<
加载附加的国际化属性文件(不包含.properties后缀) 't9hXzAfW
Myq5b`z
struts.custom.properties o, !T2&}
Location of additional configuration properties files to load eU N"w,@y
加载附加的配置文件的位置 acw4B5]
3,Q^&
1
#zRbx
struts.devMode sqS=qC
Whether Struts is in development mode or not XxaGp95so
是否为struts开发模式 ~35U]s@v
/2HN>{F^Y
struts.dispatcher.parametersWorkaround Cc, `}SP
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7zv1wb
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]+m/;&0
m/@<c'i
struts.enable.DynamicMethodInvocation j$TwL;
Allows one to disable dynamic method invocation from the URL ]d]JXt?)i
允许动态方法调用 UEzb^(8>
vUnRi=:|
struts.freemarker.manager.classname !QT'L,_
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class PT5AA8F
org.apache.struts2.views.freemarker.FreemarkerManager接口名 G_dsrpI=N
wprX!)w<i
struts.i18n.encoding ]Bm>-*@0N
The encoding to use for localization messages !xKJE:4/,m
国际化信息内码 fVM`-8ZTq
C^z\([k0er
struts.i18n.reload 4j!]:ra
Whether the localization messages should automatically be reloaded a !mf;m
是否国际化信息自动加载 A;O~#Chvd
1<<kA:d
struts.locale 7]%Ypv$
The default locale for the Struts application %c1#lEC2xN
默认的国际化地区信息 S#-tOjU*
F5 ]C{
struts.mapper.class wfP5@ !I
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "sKa`WN}
org.apache.struts2.dispatcher.mapper.ActionMapper接口 u^j {U}
bLnrbid
struts.multipart.maxSize ;kJu$U
The maximize size of a multipart request (file upload) 2Gs$?}"a
multipart请求信息的最大尺寸(文件上传用) .?>5-od2
snt(IJQ
struts.multipart.parser Bs MuQ|!
The org.apache.struts2.dispatcher.multipart. NcAp_q?
4
MultiPartRequest parser implementation for a multipart request (file upload) wCHR7X0*b
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) pW]4bx@E
tWdhDt8$&
Fbp{,V@F2
struts.multipart.saveDir 07/L}b`P
The directory to use for storing uploaded files >2?aZ`r+
设置存储上传文件的目录夹 ZK'-U,Y.H7
0iZGPe~
struts.objectFactory ~kCwJ<E
The com.opensymphony.xwork2.ObjectFactory implementation class &
``d
com.opensymphony.xwork2.ObjectFactory接口(spring) 4W#E`9
6u
D)brPMS:o
struts.objectFactory.spring.autoWire m"9XT)N
Whether Spring should autoWire or not 5eA8niq#
是否自动绑定Spring u<n`x6gL
:EtMH(
struts.objectFactory.spring.useClassCache '>v^6iS
Whether Spring should use its class cache or not =U.
b% uC
是否spring应该使用自身的cache D5an\gE
X{g%kf,D=
struts.objectTypeDeterminer 2F8|I7R
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ((rv]f{
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 =]>NDWqpHN
'?Jxt:<
struts.serve.static.browserCache e\b`n}nC
If static content served by the Struts filter should set browser caching header properties or not PjIeZ&p
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =q"eU=9
3},Zlu
struts.serve.static dtAbc7
Whether the Struts filter should serve static content or not #2:a[
~Lf
是否struts过滤器应该提供静态内容 %Z8vdU# l
M]-VHI[&W
struts.tag.altSyntax K{l5m{:%
Whether to use the alterative syntax for the tags or not j4R 4H;
是否可以用替代的语法替代tags L}j0a> =x4
{NCF6Mk
struts.ui.templateDir s(_+!d6
The directory containing UI templates cW``M.d'F
UI templates的目录夹 c[ht`!P
3g~^LZ66
struts.ui.theme $iM=4
3W
The default UI template theme QI_59f>
默认的UI template主题 ]/T-t1D
XW L^
struts.url.http.port &)pK%SAM
The HTTP port used by Struts URLs fB+b}aoV
设置http端口 ap}5ElMR
YGsS4ia*4i
struts.url.https.port m/`IGT5J
The HTTPS port used by Struts URLs fRm}S>Nibb
设置https端口 5v^L9!`@%v
qXXGF_Q
struts.url.includeParams zEw>SP1,
The default includeParams method to generate Struts URLs A7P`lJgv
在url中产生 默认的includeParams {5%/ T,
+^6}
oY`qI nM_
struts.velocity.configfile CT d|`
The Velocity configuration file path jLcHY-P0V
velocity配置文件路径 %TrF0{NR90
$gMCR
b,
struts.velocity.contexts %So]3;'
List of Velocity context names XV'fW~j\
velocity的context列表 yW.COWL=)
L<(VG{)Z
l>v{
struts.velocity.manager.classname JLb6C52
org.apache.struts2.views.velocity.VelocityManager implementation class 3hq1yyec
org.apache.struts2.views.velocity.VelocityManager接口名 Ewo*yY>
(3*UPZv
struts.velocity.toolboxlocation +ySY>`1k~
The location of the Velocity toolbox yoqa@ V
velocity工具盒的位置 ODf4+& u
struts.xslt.nocache 0p fnV%
Whether or not XSLT templates should not be cached cbKL$|
是否XSLT模版应该被缓存 !ax;5 @J