struts2的struts.properties配置文件详解 q@1xYz:J
KxDp+]N]
struts.action.extension Cv[1HO<
The URL extension to use to determine if the request is meant for a Struts action e-#Vs{?|r
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /@U bN\
sgRWjrc/
struts.configuration a%5/Oc[[
The org.apache.struts2.config.Configuration implementation class +
]iK^y-.r
org.apache.struts2.config.Configuration接口名 }ld^zyL
$g),|[x+(
struts.configuration.files `pF7B6[B
A list of configuration files automatically loaded by Struts Yr[&*>S
struts自动加载的一个配置文件列表 i&{%}==7
L_o/fTz4
struts.configuration.xml.reload =MT'e,T
Whether to reload the XML configuration or not '$[%x
是否加载xml配置(true,false) =|dHD
k 7:Z\RGy
struts.continuations.package U+zntB
The package containing actions that use Rife continuations R2JPLvs
含有actions的完整连续的package名称 J$lfI^^
%M:$ML6b<
struts.custom.i18n.resources w~yC^`
Location of additional localization properties files to load zbgGK7
加载附加的国际化属性文件(不包含.properties后缀) ]E6r)C
f~7V< v
struts.custom.properties k8r1)B4ab
Location of additional configuration properties files to load RFX{]bQp9
加载附加的配置文件的位置 (T%Ue2zlY
$hMD6<e
Cj$:TWYIh[
struts.devMode dsH*9t:z
Whether Struts is in development mode or not TFAR>8Nm
是否为struts开发模式 VfozqUf
'8[;
m_S
struts.dispatcher.parametersWorkaround ("{"8
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic wB&5q!{!
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Q>71uM%e`
BGHZL~
struts.enable.DynamicMethodInvocation BWNI|pq)v
Allows one to disable dynamic method invocation from the URL SM8_C!h:
允许动态方法调用 >GLoeCRNu
cICfV,j
struts.freemarker.manager.classname <@Vf:`a!P>
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class J4@-?xj=\q
org.apache.struts2.views.freemarker.FreemarkerManager接口名 E^$8nqCL:
=-,'LOE
struts.i18n.encoding =T\=,B
The encoding to use for localization messages wJ7^)tTRF
国际化信息内码 ~@(C+ 3,
Dt{WRe\#
struts.i18n.reload (L yK o
Whether the localization messages should automatically be reloaded K)5j
是否国际化信息自动加载 aNA]hl
E^Q
J50
struts.locale q^?a|l
The default locale for the Struts application tzv4uD]
默认的国际化地区信息 _GrifGU\
vn!3Z! dm(
struts.mapper.class jw`05rw:
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class DEbMb6)U
org.apache.struts2.dispatcher.mapper.ActionMapper接口 PQa0m)H@
dFA1nn6{
struts.multipart.maxSize sN2m?`?"G
The maximize size of a multipart request (file upload) [ D.%v~j
multipart请求信息的最大尺寸(文件上传用) C!ch
!E#
k/sfak{Q
struts.multipart.parser LNyrIk/1
The org.apache.struts2.dispatcher.multipart. tP"6H-)X&
MultiPartRequest parser implementation for a multipart request (file upload) %M))Ak4~a
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (w:,iw#
>239SyC-,
boHbiE
struts.multipart.saveDir Js vdC]+
The directory to use for storing uploaded files lcy<taNu)
设置存储上传文件的目录夹 '#h ORQB
Ow.DBL)x'>
struts.objectFactory r/HTkXs I
The com.opensymphony.xwork2.ObjectFactory implementation class 5+;Mc[V3-
com.opensymphony.xwork2.ObjectFactory接口(spring) IvlfX`("
jM
@N<k
struts.objectFactory.spring.autoWire 5[4nFa}R:5
Whether Spring should autoWire or not C ocw%Yl
是否自动绑定Spring 79D~Mau#
t
7o4 aBl"
struts.objectFactory.spring.useClassCache 1U/RMN3`
Whether Spring should use its class cache or not )RT?/N W
是否spring应该使用自身的cache ([}08OW@
x)GheM^
struts.objectTypeDeterminer zBu@a:E%H
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &0tW{-Hv"
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 nj1o!+9>$
^g5E&0a`g
struts.serve.static.browserCache 0zkMRBe
If static content served by the Struts filter should set browser caching header properties or not 8A.7q
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 EmR82^_:
d~QM@<SV
struts.serve.static C=]<R<Xy
Whether the Struts filter should serve static content or not >TY;l3ew
是否struts过滤器应该提供静态内容 _> x}MW+
0y+^{@lU
struts.tag.altSyntax G"OP`OMDc
Whether to use the alterative syntax for the tags or not b9m`y*My
是否可以用替代的语法替代tags d9BFeq8
o-7{\%+M
struts.ui.templateDir s\pukpf@
The directory containing UI templates p6K ~b
UI templates的目录夹 6u lx0$[
K@{0]6
struts.ui.theme dH
PvVe/
The default UI template theme nc\`y,>l8
默认的UI template主题 Wbei{3~$Y"
8'jt59/f
struts.url.http.port 0<a|=kZ
The HTTP port used by Struts URLs 2l+L96
设置http端口 d}':7Np
nq8XVT.m^\
struts.url.https.port ()bQmNqmO=
The HTTPS port used by Struts URLs 2#sFY/@
设置https端口 [DH4iG5
pGjwI3_K
struts.url.includeParams , ?U)mYhI
The default includeParams method to generate Struts URLs NsP=l]
在url中产生 默认的includeParams \Ta5c31S+
PJ0~ymE1~G
EJ#I7_
struts.velocity.configfile q,O_y<uw
The Velocity configuration file path KFwuz()7
velocity配置文件路径 yxHo0U
rDhQ3iCqo
struts.velocity.contexts ?]$<Ufr
List of Velocity context names eZqEFMBTm
velocity的context列表 ZY]$MZf5yo
_,)_(R ,h
E+qLj|IU
struts.velocity.manager.classname GDSXBa*7
org.apache.struts2.views.velocity.VelocityManager implementation class 1W{ oj
org.apache.struts2.views.velocity.VelocityManager接口名 J8p; 1-C"
5WJ ~%"O
struts.velocity.toolboxlocation ndzADVP
The location of the Velocity toolbox $wp>2
velocity工具盒的位置 )9_W"'V
struts.xslt.nocache xc 1d[dCdp
Whether or not XSLT templates should not be cached "aF2:E'
是否XSLT模版应该被缓存 WoN},oT[i