struts2的struts.properties配置文件详解 ;h#nal>w@S
5%%A2FrB.S
struts.action.extension *+>R^\uT
The URL extension to use to determine if the request is meant for a Struts action xO XCCf/
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Fwfe5`9'
+Heen3
struts.configuration ^
^R4%C
The org.apache.struts2.config.Configuration implementation class n 7m!
org.apache.struts2.config.Configuration接口名 gA~faje
<#5`%sa '
struts.configuration.files hP]zC1s
A list of configuration files automatically loaded by Struts %{K6
struts自动加载的一个配置文件列表 u9^R
?y
_.ELN/$-
struts.configuration.xml.reload }hX"A!0
Whether to reload the XML configuration or not G8ksm2 }
是否加载xml配置(true,false) wA>bL PTw
a FrVP
struts.continuations.package xrky5[XoD
The package containing actions that use Rife continuations 2z=GKV
含有actions的完整连续的package名称 zFk@Y
:fE*fU@
struts.custom.i18n.resources `<kV)d%xEF
Location of additional localization properties files to load MB]Y|Vee
加载附加的国际化属性文件(不包含.properties后缀) {r?qI
^_^rI+cTX1
struts.custom.properties $N`uM
Location of additional configuration properties files to load /DQcM.3
加载附加的配置文件的位置 OJ\rT.{
TAn.5
wH9t
)#n>))
struts.devMode ?G>#'T[
Whether Struts is in development mode or not M[ZuXH}
是否为struts开发模式 mca9 +v
jw!QjVuRN%
struts.dispatcher.parametersWorkaround BA+:}81&<q
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic p; ZEz<M
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Q|W!m0XO
:j m|)
struts.enable.DynamicMethodInvocation 7OOod1
Allows one to disable dynamic method invocation from the URL tHo0q<.oX
允许动态方法调用 5`3f"(ay/
.5m^)hi
struts.freemarker.manager.classname ^. i;,
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class MB,P#7|
org.apache.struts2.views.freemarker.FreemarkerManager接口名 f3]u-e'b
PX1Scvi
struts.i18n.encoding vDAv/l9
The encoding to use for localization messages K-}'Fiq
国际化信息内码 tFd^5A*
_\Cd.
struts.i18n.reload ]m(5>h#
Whether the localization messages should automatically be reloaded T\h_8
是否国际化信息自动加载 4';]fmf@[i
>MIp r
struts.locale ~-w
The default locale for the Struts application <#9zc'ED:
默认的国际化地区信息 /@bLc1"
K!9rH>`\
struts.mapper.class |V|)cPQ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class d4P0f'.z
org.apache.struts2.dispatcher.mapper.ActionMapper接口 5}4MXI4
TIa`cU`
struts.multipart.maxSize _(\\>'1q!
The maximize size of a multipart request (file upload) ].2it{gF?b
multipart请求信息的最大尺寸(文件上传用) = *A_{u;E
D{,B[5
struts.multipart.parser " lf_`4
The org.apache.struts2.dispatcher.multipart. =`X;fz
MultiPartRequest parser implementation for a multipart request (file upload) )LYj,do
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) AOaf ,ZF
8
N>Pufr
6]}Xi:I
struts.multipart.saveDir g/q$;cB
The directory to use for storing uploaded files =;3|?J0=
设置存储上传文件的目录夹 CFh&z^]PR
Te#wU e-|
struts.objectFactory V6d*O`
The com.opensymphony.xwork2.ObjectFactory implementation class *X;g
Y
com.opensymphony.xwork2.ObjectFactory接口(spring) GZc%*
`Vwj|[0k
struts.objectFactory.spring.autoWire @$79$:q N
Whether Spring should autoWire or not j1>77C3
是否自动绑定Spring Tj{!Fx^H
7,e=|%7.
struts.objectFactory.spring.useClassCache Sg<''pUh
Whether Spring should use its class cache or not [<sBnHbvQ.
是否spring应该使用自身的cache ++13m*fA
':!;6v|L
struts.objectTypeDeterminer uu>[WFh
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class f41!+W=
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 00G[`a5
QLH
s 3eM
struts.serve.static.browserCache `4&\ %9
If static content served by the Struts filter should set browser caching header properties or not <!zItFMD[m
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5hp b=2
\Rp)n=|
struts.serve.static DrltxI)
Whether the Struts filter should serve static content or not 5.|rzk>
是否struts过滤器应该提供静态内容 _TB\@)\
m`9)DsR
N
struts.tag.altSyntax =I/J !}.
Whether to use the alterative syntax for the tags or not ZF;S}1
是否可以用替代的语法替代tags 5Tpn`2F
7Hpsmfm
struts.ui.templateDir ){>;eky
The directory containing UI templates @ z#k~
UI templates的目录夹 #IBBaxOk
?V[yw=sl04
struts.ui.theme z PV/{)S
The default UI template theme oUw-l_ M]
默认的UI template主题 z6G^ BaT'
~|J6M
struts.url.http.port uB,B%XHj
The HTTP port used by Struts URLs !4jS=Lhe>
设置http端口 fV}\
aXC`yQ?
struts.url.https.port )hQNIt3o_
The HTTPS port used by Struts URLs i%*x7zjY{
设置https端口 /,0t,"&Aqa
z4-AOTo2y
struts.url.includeParams _ksp;kH?)
The default includeParams method to generate Struts URLs v!F(DP.)Z
在url中产生 默认的includeParams 4g1u9Sc0
K)Db3JIIk
CaBTqo
struts.velocity.configfile &9s6p6eb
The Velocity configuration file path DO03vN
velocity配置文件路径 ']vX
\Y!Z3CK
struts.velocity.contexts {.,OPR"\
List of Velocity context names ydns_Z
velocity的context列表 #zy,x
_-8,}F}W#s
!Q7
struts.velocity.manager.classname jSYj+k
org.apache.struts2.views.velocity.VelocityManager implementation class 1C$^S]v%a
org.apache.struts2.views.velocity.VelocityManager接口名 D}"GrY5
>; W)tc,
struts.velocity.toolboxlocation e('c9 Y
The location of the Velocity toolbox Tz*5;y%4
velocity工具盒的位置 x(b&r g.-0
struts.xslt.nocache $e*Nr=/
Whether or not XSLT templates should not be cached ~4`wfOvO
是否XSLT模版应该被缓存 2%8N<GW.F