struts2的struts.properties配置文件详解 "XQ3mi`y
N~uc%wOA
struts.action.extension Sse%~:FL
The URL extension to use to determine if the request is meant for a Struts action })+iAxR
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 wz..
;`O9YbP#
struts.configuration sYhHh$mwA
The org.apache.struts2.config.Configuration implementation class SBy{sbx4&F
org.apache.struts2.config.Configuration接口名 Gf
+>AjU'
^g|j4N
struts.configuration.files `_k_}9Fr
A list of configuration files automatically loaded by Struts kQ]4Bo
struts自动加载的一个配置文件列表 QQ`tSYgex
*>/w,E]
struts.configuration.xml.reload fH@cC`
Whether to reload the XML configuration or not Q'ZZQ
是否加载xml配置(true,false) >V?W_oM)
ch2m Ei(
struts.continuations.package
7 }I';>QH
The package containing actions that use Rife continuations :>}7^1I
含有actions的完整连续的package名称 25f[s.pv8
R$!]z(
struts.custom.i18n.resources \QQWh wE
Location of additional localization properties files to load |}2/:f#Iz*
加载附加的国际化属性文件(不包含.properties后缀) lVuBo&
rd>>=~vx=/
struts.custom.properties r$v\ \^?2
Location of additional configuration properties files to load <FX]n<
加载附加的配置文件的位置 sSf;j,7V
IL:[0q
7;c^*"Ud
struts.devMode >z~_s6#CP
Whether Struts is in development mode or not g&S>Wq%L
是否为struts开发模式 QLU <%w:B
V?Q45t Ae
struts.dispatcher.parametersWorkaround \!hd|j?&6
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic tU$n3Bg
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) <"K2t
Tg.
q %j8Js
struts.enable.DynamicMethodInvocation =jKu=!QPq
Allows one to disable dynamic method invocation from the URL +PnuWK$
允许动态方法调用 e_-7,5Co
z;?ztpa@
struts.freemarker.manager.classname C=CZtjUt
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class _k :BY
org.apache.struts2.views.freemarker.FreemarkerManager接口名 o~9sO=-O
^62z\Y
struts.i18n.encoding "Bv V89
The encoding to use for localization messages ,cxe"U
国际化信息内码 JB%_&gX)v
%y\5L#T!>
struts.i18n.reload @{UUB=}9
Whether the localization messages should automatically be reloaded p0y|pD
是否国际化信息自动加载 H0 Zo.Np
}z#M!~
struts.locale :ssj7wl :
The default locale for the Struts application FGPqF;
默认的国际化地区信息 *P5\T4!+d
*- ~GVe
struts.mapper.class &^K(9"
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class QgKR=GR6
org.apache.struts2.dispatcher.mapper.ActionMapper接口 w >%^pO~}`
;
wxmSX9
struts.multipart.maxSize ;&gk)w6*
The maximize size of a multipart request (file upload) |QF_E4ISD
multipart请求信息的最大尺寸(文件上传用) +*xc4
Q=>5@sZB
struts.multipart.parser GLESngAl
The org.apache.struts2.dispatcher.multipart. *iY:R
MultiPartRequest parser implementation for a multipart request (file upload) ?w!8;xS8
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) "+4Jmf9
CJh,-w{wJ"
IA&V?{OE@I
struts.multipart.saveDir <KK.f9^o(
The directory to use for storing uploaded files }Xk_
xQVt{
设置存储上传文件的目录夹 wfe4b
r73W.&
struts.objectFactory ji>LBbnHdE
The com.opensymphony.xwork2.ObjectFactory implementation class cl1ygpf(
com.opensymphony.xwork2.ObjectFactory接口(spring) .gGO+8[N*
PH&Qw2(Sx
struts.objectFactory.spring.autoWire 2z"<m2a
Whether Spring should autoWire or not g\q4-
是否自动绑定Spring aeI0;u
7.Z-
struts.objectFactory.spring.useClassCache %WKBd\O
Whether Spring should use its class cache or not 63%V_B|
是否spring应该使用自身的cache \.oJ/++
fzw:[z:%
struts.objectTypeDeterminer 4X*U~}
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class d(XOZF
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 l`l6Y>c*]
[&4+
<Nl'
struts.serve.static.browserCache xo?'L&%
If static content served by the Struts filter should set browser caching header properties or not ~4Gc~ "
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 TmftEw>u
>q&5Z
struts.serve.static 2HSFMgy
Whether the Struts filter should serve static content or not h,B4Tg'
是否struts过滤器应该提供静态内容 [ `1`E1X
fMUh\u3
struts.tag.altSyntax R) :Xs .
Whether to use the alterative syntax for the tags or not @k)J
i!7
是否可以用替代的语法替代tags pnE]B0e
+TA~RCd
struts.ui.templateDir NOwd'iU
The directory containing UI templates iZiT/#, H2
UI templates的目录夹 tY]?2u%)
szhSI
struts.ui.theme ^`iz%^
The default UI template theme i/n
ee_
默认的UI template主题 sbX7VfAR`
IDJ2epW*;
struts.url.http.port 3M+rFB}tS
The HTTP port used by Struts URLs )`{m |\b
设置http端口 LxGD=b
~XP|dn}
struts.url.https.port ?wlRHVZ
The HTTPS port used by Struts URLs T fkGkVR
设置https端口 gED|2%BXb
RQ[/s
lg
struts.url.includeParams "_LqIW1
The default includeParams method to generate Struts URLs ~Gmt,l!b
在url中产生 默认的includeParams Kr'? h'F
g(X`.0
eGg6wd
struts.velocity.configfile T?f{.a)
The Velocity configuration file path h%$^s0w
velocity配置文件路径 a%U#PF6
8<T~AU8'*
struts.velocity.contexts *yw!Y{e!9
List of Velocity context names ?Y
-;781
velocity的context列表 Q|{b8K
lb}RPvQE
jUNt4
struts.velocity.manager.classname _eq$C=3Ta
org.apache.struts2.views.velocity.VelocityManager implementation class k7rg:P
org.apache.struts2.views.velocity.VelocityManager接口名 B0gD4MX/
=y@0il+V
struts.velocity.toolboxlocation gCPH>8JwS0
The location of the Velocity toolbox zI,Qc60B
velocity工具盒的位置 et~D9='E
struts.xslt.nocache =^rp=
Az
Whether or not XSLT templates should not be cached 0fBwy/:
是否XSLT模版应该被缓存 VVAc bAGJ