struts2的struts.properties配置文件详解 S} m=|3%y
z3tx]Ade
struts.action.extension 6(bN*.
The URL extension to use to determine if the request is meant for a Struts action SH{@yS[c!
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Y,)(Q
ltNCti{Q
struts.configuration o+E~iCu5
The org.apache.struts2.config.Configuration implementation class gT+g@\u[
org.apache.struts2.config.Configuration接口名 a|7C6#iz$
/:4J
struts.configuration.files @.eN+o9|
A list of configuration files automatically loaded by Struts ?$f.[;mh
struts自动加载的一个配置文件列表 4H-eFs%5
Trv}YT.
struts.configuration.xml.reload :W*yfhLt
Whether to reload the XML configuration or not i<^X z
是否加载xml配置(true,false) Y\]ZIvTSb
)}@D\(/@
struts.continuations.package avRtYL
The package containing actions that use Rife continuations cAW}a
含有actions的完整连续的package名称 -qIi.]/f"9
f CU]
struts.custom.i18n.resources (u@:PiU/eP
Location of additional localization properties files to load aj&L
Z DD6
加载附加的国际化属性文件(不包含.properties后缀) .dlsiBh
q`c!!Lg
struts.custom.properties Z6Fu~D2Uy
Location of additional configuration properties files to load OX7=g$S 1
加载附加的配置文件的位置 yW|J`\`^T
eJ?oz^
PXMd=,}
struts.devMode w.?4}'DK
Whether Struts is in development mode or not vhfjZ
是否为struts开发模式 MYS`@%ZV#k
6<];}M_{
struts.dispatcher.parametersWorkaround H
-Mb:4
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic PAYw:/(P
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~S8:xG+s
Qo#]Lo> \g
struts.enable.DynamicMethodInvocation F06o-xH=
Allows one to disable dynamic method invocation from the URL #DUfEZ
允许动态方法调用 {v|!];i
|UXSUP
@s
struts.freemarker.manager.classname +F8{4^w1
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5qz,FKx5
org.apache.struts2.views.freemarker.FreemarkerManager接口名 mJUM#ry
9eMle?pF
struts.i18n.encoding G"<#tif9K
The encoding to use for localization messages [Yt{h9
国际化信息内码 hC\
l
\y
(s3k2Z
struts.i18n.reload \?xM%(:<Q
Whether the localization messages should automatically be reloaded V"YeF:I
是否国际化信息自动加载 xb,d,(^ ]R
)^ah, ;(
struts.locale d0:LJ'<Q
The default locale for the Struts application !O_G%+>5W
默认的国际化地区信息 U]cXE1c>F
$tmdE)"&
struts.mapper.class Y2r}W3F=
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Q@W/~~N
org.apache.struts2.dispatcher.mapper.ActionMapper接口 cRT'?w`}
9J3fiA_
struts.multipart.maxSize ?\V#^q-
The maximize size of a multipart request (file upload) f{P1.?a
multipart请求信息的最大尺寸(文件上传用) Jl{ 0q7b
W+ S~__K
struts.multipart.parser +S4n416K
The org.apache.struts2.dispatcher.multipart. io4<HN
MultiPartRequest parser implementation for a multipart request (file upload) r2=@1=?8
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )5}<@Ql
V`I4"}M1
\d@5*q
struts.multipart.saveDir BHY8G06
The directory to use for storing uploaded files VQ9A/DH/
设置存储上传文件的目录夹 E-z5mX.2
Vu$m1,/
struts.objectFactory G}nJ3
The com.opensymphony.xwork2.ObjectFactory implementation class lFzVd
N
com.opensymphony.xwork2.ObjectFactory接口(spring) =1IK"BA2?
B>53+GyMV
struts.objectFactory.spring.autoWire ok:uTeJI
Whether Spring should autoWire or not 2&1mI>:F
是否自动绑定Spring 2aYBcPFQh#
ot}erC2~
struts.objectFactory.spring.useClassCache xo[o^go
Whether Spring should use its class cache or not .t "VsY|
是否spring应该使用自身的cache ? o"
Vkc:
W"NI^OX
struts.objectTypeDeterminer sA2-3V<t8
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *] ihc u
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 P 45Irir
xp^RAVXq`
struts.serve.static.browserCache N"70P/
If static content served by the Struts filter should set browser caching header properties or not F3|^b{'zO
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 42dv3bE"
_**Nlp*%
struts.serve.static
mwAN9<o
Whether the Struts filter should serve static content or not }S> 4.8
是否struts过滤器应该提供静态内容 [H h-F#|R
2v{WX
struts.tag.altSyntax FLi'}C
Whether to use the alterative syntax for the tags or not &A0OYV3i.
是否可以用替代的语法替代tags CHgip&(.F
U{2xgNJ
struts.ui.templateDir #V>R#Oh}
The directory containing UI templates P 9?cp{*
UI templates的目录夹 y[_k/.1
(]]hSkE
struts.ui.theme FZi@h
The default UI template theme Sm'Tz&!
默认的UI template主题 h( | T.
Z
[!"x&H]h
struts.url.http.port Hyb(.hlZh
The HTTP port used by Struts URLs 2K}49*
设置http端口 w!f2~j~
BSm"]!D8*
struts.url.https.port 2k.VTGak
The HTTPS port used by Struts URLs ]+D@E2E
设置https端口 rB[J*5v
#mQ@4k9i
struts.url.includeParams $+4DpqJ
The default includeParams method to generate Struts URLs :;{M0
在url中产生 默认的includeParams Btm,'kBG
6v)TCj/
SQN?[v
struts.velocity.configfile rpow@@ad<
The Velocity configuration file path ^k6_j\5j
velocity配置文件路径 ?ko#N?hgI
H*W>v[>
struts.velocity.contexts 2zC4nF)>O
List of Velocity context names /!5Wd(:
velocity的context列表 ] ?DU8
TQ"XjbhU;X
&n<YmW?"
struts.velocity.manager.classname 5u$.!l8Nl
org.apache.struts2.views.velocity.VelocityManager implementation class noWF0+%
org.apache.struts2.views.velocity.VelocityManager接口名 eRMN=qP.q
EX]+e
struts.velocity.toolboxlocation a'VQegP(f\
The location of the Velocity toolbox J M`w6}
velocity工具盒的位置 xi (@\A
struts.xslt.nocache 0*{(R#
Whether or not XSLT templates should not be cached \YvG+7a
是否XSLT模版应该被缓存 OUBGbld