struts2的struts.properties配置文件详解 [{R^!Az&b<
/qf(5Bm
struts.action.extension -lICoRO#
The URL extension to use to determine if the request is meant for a Struts action Fl8*dXG&
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 rf@Cz%xDD
C1/qiSHsh
struts.configuration w4I&SLm-b
The org.apache.struts2.config.Configuration implementation class bxU 2.YC
org.apache.struts2.config.Configuration接口名 f7&53yZF
XR2Gw4]
struts.configuration.files yE+Wb[H[
A list of configuration files automatically loaded by Struts l 1C'<+2j!
struts自动加载的一个配置文件列表 4G ?Cu,$
NJ%>|`FEi7
struts.configuration.xml.reload ]{sx#|_S
Whether to reload the XML configuration or not !Q/oj
Q
是否加载xml配置(true,false) MK1V1F`
)I&,kH)+
struts.continuations.package YCMXF#1
The package containing actions that use Rife continuations ;iB9\p$K)
含有actions的完整连续的package名称 4\?z^^
d `eX_] Z
struts.custom.i18n.resources b({K6#?'[
Location of additional localization properties files to load S1d^mu
加载附加的国际化属性文件(不包含.properties后缀) :`jB1rI
goa@e
struts.custom.properties /2s=;tA1
Location of additional configuration properties files to load Hsdcv~Xr;l
加载附加的配置文件的位置
19#s:nt9
1:Sq?=&
nr*nX
struts.devMode yzH(\ x
Whether Struts is in development mode or not 3haR/YN
是否为struts开发模式 )~>
C1<
d2~*fHx_!
struts.dispatcher.parametersWorkaround %?sPKOh3N}
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic q7#4e?1
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :}B=Bk/q
+mu.W
r
struts.enable.DynamicMethodInvocation 6VUkZKc
Allows one to disable dynamic method invocation from the URL W%&gvZre.
允许动态方法调用 ^pc?oDPSg
frh!dN
struts.freemarker.manager.classname i#pBzJ
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class qpt},yn)C
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Cf~vT"
LdH23\
struts.i18n.encoding U))2?#
The encoding to use for localization messages J]AkWEiCJ
国际化信息内码 2%{(BT6
FN+x<VXo(
struts.i18n.reload r$Tu``z \
Whether the localization messages should automatically be reloaded /s~(? =qYH
是否国际化信息自动加载 u-/5&Endb
c'!+]'Lr
struts.locale Vb57B.I
The default locale for the Struts application XI5TVxo(q
默认的国际化地区信息 q2{Aq[
$wm.,Vb
struts.mapper.class ##QKXSD
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >2^|r8l5
org.apache.struts2.dispatcher.mapper.ActionMapper接口 <V
b
SEi
S%Bm4jY
struts.multipart.maxSize l_lK,=cLj+
The maximize size of a multipart request (file upload) px=k&|l
multipart请求信息的最大尺寸(文件上传用) "AuU5G 9'I
~@H9h<T
struts.multipart.parser Y2!P!u+Q
The org.apache.struts2.dispatcher.multipart. &=.SbS
MultiPartRequest parser implementation for a multipart request (file upload) xRrKrs &eE
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ny" "lcy
%E\ pd@
dxa[9>V
struts.multipart.saveDir -s_=4U,
The directory to use for storing uploaded files zcE`.)y
设置存储上传文件的目录夹 p|`[8uY?
)b=m|A GX
struts.objectFactory uQmtd
The com.opensymphony.xwork2.ObjectFactory implementation class J|uSj/8
com.opensymphony.xwork2.ObjectFactory接口(spring) qX"m"ko
eZbT;
struts.objectFactory.spring.autoWire By;{Y[@rS
Whether Spring should autoWire or not b~td^
是否自动绑定Spring zI&).
95IR.Qfn!
struts.objectFactory.spring.useClassCache Rq[VP#
Whether Spring should use its class cache or not QUb#84
是否spring应该使用自身的cache U|jip1\
EmYu]"${1
struts.objectTypeDeterminer ;\],R.!
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 4|INy=<"t
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 krSOS WJ
1,Uf-i
struts.serve.static.browserCache C'&t@@:
If static content served by the Struts filter should set browser caching header properties or not w:|YOeP
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 b/g~;| <
XTKAy;'5
struts.serve.static k%K\~U8"
Whether the Struts filter should serve static content or not UNhM:!A
是否struts过滤器应该提供静态内容 # n\|Q\W
)uK Tf=;
struts.tag.altSyntax VD0U]~CWR
Whether to use the alterative syntax for the tags or not b|-7EI>l9
是否可以用替代的语法替代tags _s~F/G`iT
+*=?0 \
struts.ui.templateDir KrqO7
The directory containing UI templates #+SdX[N
UI templates的目录夹 5X}OUn8
@ sG5Do
struts.ui.theme }Zp5d7(@w
The default UI template theme b l]YPx8
默认的UI template主题 9oA-Swc[
;yDXo\gm
struts.url.http.port 2O+fjs
The HTTP port used by Struts URLs <,+6:NmT
设置http端口 m'"Ra-
FZ@8&T
struts.url.https.port |W;EPQ+<
The HTTPS port used by Struts URLs LT:*K!>NOL
设置https端口 x67,3CLy?
'qlWDt/
struts.url.includeParams gVpp9VB
The default includeParams method to generate Struts URLs +l@+e_>
在url中产生 默认的includeParams v>'mW
gH[lpRu|7
39Zs
struts.velocity.configfile nOdAp4{:q%
The Velocity configuration file path vy{YGT
velocity配置文件路径 9 Xx4,#?
tOVYA\]
struts.velocity.contexts QMBV"E_aY
List of Velocity context names 3@^b's'S|}
velocity的context列表 !k0t
(.
A]%hM_5 s
X0zE-h6P
struts.velocity.manager.classname zmpQ=%/H
org.apache.struts2.views.velocity.VelocityManager implementation class xyaU!E*
org.apache.struts2.views.velocity.VelocityManager接口名 pNzpT!}H>
m9li% p
struts.velocity.toolboxlocation 5c+7c@.
The location of the Velocity toolbox Fwfe5`9'
velocity工具盒的位置 +Heen3
struts.xslt.nocache ^
^R4%C
Whether or not XSLT templates should not be cached n 7m!
是否XSLT模版应该被缓存 o](nK5?