struts2的struts.properties配置文件详解 vX;HC'%n
C#;@y|Rw
struts.action.extension R{?vQsLk
The URL extension to use to determine if the request is meant for a Struts action jJBnDxsA
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ? gSSli[
R^%e1KO]
struts.configuration &Jy)U
The org.apache.struts2.config.Configuration implementation class \G>ZkgU
org.apache.struts2.config.Configuration接口名 iY~rne"l
,PECYwegkt
struts.configuration.files 9JnY$e<&
A list of configuration files automatically loaded by Struts =X-Tcj?3g
struts自动加载的一个配置文件列表 26L~X[F
MR$>!Nlp
struts.configuration.xml.reload J#Z5^)$
Whether to reload the XML configuration or not u1Ek y/e-
是否加载xml配置(true,false) .<#ATFmY
gsPl _
struts.continuations.package UXH"si:
The package containing actions that use Rife continuations l?8)6z#Zl
含有actions的完整连续的package名称 f:wd&V
+th%enRB
struts.custom.i18n.resources }gGkV]
Location of additional localization properties files to load A\AT0th
加载附加的国际化属性文件(不包含.properties后缀) xx)-d,S
}T.?c9l X
struts.custom.properties ?D|\]0 eN
Location of additional configuration properties files to load fP[& a9l
加载附加的配置文件的位置 _Mt Qi
y&oNv
xG-
sbo^"&%w
struts.devMode c|AtBgvf
Whether Struts is in development mode or not BFVAw
是否为struts开发模式 r-IT(DzkD
A}5fCx.{
struts.dispatcher.parametersWorkaround "e6|"w@8
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C$9z
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~@4'HMQ
syPWs57pH
struts.enable.DynamicMethodInvocation &|Np0R
Allows one to disable dynamic method invocation from the URL eV7u*d?
允许动态方法调用 ;%!B[+ut"
wO.iKX;
struts.freemarker.manager.classname ;%Hf)F
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class X!tf#tl
org.apache.struts2.views.freemarker.FreemarkerManager接口名 wRtZ`o
3yA2WW
struts.i18n.encoding ,v9f~qh
The encoding to use for localization messages <>Y?vC
国际化信息内码 LL*mgTQ
bAwl:l\`
struts.i18n.reload @=Fi7M
Whether the localization messages should automatically be reloaded \or G63T:
是否国际化信息自动加载 '+Xlw
l= }~v
struts.locale PdeBDFWD
The default locale for the Struts application Dyg?F
)6
默认的国际化地区信息 ;V5yXNQ
'5KeL3J;
struts.mapper.class .S?pG_n]f
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class p'94SXO_
org.apache.struts2.dispatcher.mapper.ActionMapper接口 RA O`i>@
9GLb"6+PK
struts.multipart.maxSize 7KjUW\mN2Z
The maximize size of a multipart request (file upload) hBU\'.x
multipart请求信息的最大尺寸(文件上传用) 6oD\-H
l2jF#<S@
struts.multipart.parser ihCIh6
The org.apache.struts2.dispatcher.multipart. :6{`~=
MultiPartRequest parser implementation for a multipart request (file upload) *G5c |Y
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )ChqATKg
Ts$@s^S]
i38[hQR9a
struts.multipart.saveDir [I;^^#'P
The directory to use for storing uploaded files 5W? v'"
设置存储上传文件的目录夹 %~xGkk"I
As&vFt P
struts.objectFactory #Q"O4 b:8
The com.opensymphony.xwork2.ObjectFactory implementation class FFKGd/:!
com.opensymphony.xwork2.ObjectFactory接口(spring) \ I`p|&vG
3)=c]@N0
struts.objectFactory.spring.autoWire ANi)q$:{
Whether Spring should autoWire or not \G|%Zw|
是否自动绑定Spring v(]]_h
]3iH[,KU3
struts.objectFactory.spring.useClassCache 1O/
g&u
Whether Spring should use its class cache or not t.Nb?/
是否spring应该使用自身的cache {eS|j=
MrRaU x6z
struts.objectTypeDeterminer 1.<q3q
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Zw1U@5}A
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M]]pTU((
#/2$+x
struts.serve.static.browserCache 4qi[r)G
If static content served by the Struts filter should set browser caching header properties or not _aWl]I){5
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 eLD|A=X?
KhbYr$
struts.serve.static .Dg*\ h
Whether the Struts filter should serve static content or not kzn[
=P
是否struts过滤器应该提供静态内容 N_pUv
[U, ?R
struts.tag.altSyntax p>v U?eF
Whether to use the alterative syntax for the tags or not "KX=ow#z|
是否可以用替代的语法替代tags IuF_M<d,
^5GW$
struts.ui.templateDir cvd\/pG)
The directory containing UI templates mEyK1h1G@
UI templates的目录夹 Kf tgOG
f
yifY%!@Xu
struts.ui.theme :#~U<C@o
The default UI template theme KJ2Pb"s
默认的UI template主题 WI> P-D
!~]<$WZV
struts.url.http.port }Ew hj>w
The HTTP port used by Struts URLs |*/[`|*G
设置http端口 3DgsI7-F
WYB{% yf
struts.url.https.port Isy'{-H
The HTTPS port used by Struts URLs Z/;Xl~
设置https端口 XW{>-PBg:
l5xCz=dw
struts.url.includeParams s~I6SA&i
The default includeParams method to generate Struts URLs bHLT}x/Gw
在url中产生 默认的includeParams @yd4$Mv8%
7/7Z`
sg'pO*_&
struts.velocity.configfile /S5|wNu
The Velocity configuration file path (+uj1z^
velocity配置文件路径 tGA :[SP
~lNsa".c
struts.velocity.contexts 0:0NXVYs&
List of Velocity context names =@,Q Dm]L
velocity的context列表 tE6!+c<7
i)
E|bW;
WQyLf;!Lz
struts.velocity.manager.classname wNFz*|n
org.apache.struts2.views.velocity.VelocityManager implementation class H{J'#
9H
org.apache.struts2.views.velocity.VelocityManager接口名 g~V+4+
qd3Q}Lk
struts.velocity.toolboxlocation ~Tbj=f
The location of the Velocity toolbox 4P^6oh0"
velocity工具盒的位置 7dsefNPb
struts.xslt.nocache 8
C [/dH
Whether or not XSLT templates should not be cached 3(TsgP>`
是否XSLT模版应该被缓存 vAY,E=&XvM