struts2的struts.properties配置文件详解 vXRY/Zzj1
M:{Aq&.
struts.action.extension *<!q@r<d
The URL extension to use to determine if the request is meant for a Struts action V^&*y+
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 5.oIyC^Ik
1kKfFpN
struts.configuration g+4y^x(X@1
The org.apache.struts2.config.Configuration implementation class y/c3x*l.xL
org.apache.struts2.config.Configuration接口名 <JH,B91
?KOw~-u
struts.configuration.files jT=|!,Pn
A list of configuration files automatically loaded by Struts l"%80"zO
struts自动加载的一个配置文件列表 3,Yr%`/5'
Uu5(/vw]
struts.configuration.xml.reload @$T$ hMl
Whether to reload the XML configuration or not `vgaX,F*
是否加载xml配置(true,false) [GI~ &
sqtz^K ROM
struts.continuations.package U]~@_j
The package containing actions that use Rife continuations Tk4>Jb
含有actions的完整连续的package名称 Lr D@QBT
j}eb
_K+I
struts.custom.i18n.resources DkEv1]6JI_
Location of additional localization properties files to load L;%w{,Ji
加载附加的国际化属性文件(不包含.properties后缀) xNf}f 9l
!43!JfD
struts.custom.properties l^9gFp~I
Location of additional configuration properties files to load NBY|U{.g
加载附加的配置文件的位置 qrYbc~jI7
uW(-?
^ls@Gr7`P
struts.devMode HDhISPg
Whether Struts is in development mode or not 9+^)?JUYll
是否为struts开发模式 5tQz!M
;_e9v,
struts.dispatcher.parametersWorkaround Td|u@l4B
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic GQn:lu3j:
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) oNyYx6q:Q
3X`9&0:j%
struts.enable.DynamicMethodInvocation v}6iI}r
Allows one to disable dynamic method invocation from the URL )x7n-|y6
允许动态方法调用 31a,i2Q4
\X:e9~
struts.freemarker.manager.classname oT):#,s
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class () _RLA
org.apache.struts2.views.freemarker.FreemarkerManager接口名 dA~:L`A|X
iVI&
struts.i18n.encoding r
|C.K
The encoding to use for localization messages {fzX2qMZ]
国际化信息内码 w}>%E6UY
gmRc4o
struts.i18n.reload OL>>/T
Whether the localization messages should automatically be reloaded *x|%Nua"
是否国际化信息自动加载 FnA Kfh(
6M*z`B{hV
struts.locale q>.7VN[
vE
The default locale for the Struts application C~qZ&
默认的国际化地区信息 nc k/Dw
1@}F8&EZ
struts.mapper.class \Y)HSJR;e
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Z^&G9I#
org.apache.struts2.dispatcher.mapper.ActionMapper接口 |l;
Ot=C=
WzN c=@[W
struts.multipart.maxSize W^tD6H;
The maximize size of a multipart request (file upload) '"
"v7
multipart请求信息的最大尺寸(文件上传用) Swhz\/u9
9j>2C
struts.multipart.parser 9:USxFM
The org.apache.struts2.dispatcher.multipart. 't5ufAT
MultiPartRequest parser implementation for a multipart request (file upload) 6(bN*.
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Fvl\.
K$,Zg
5wx_ol}2
struts.multipart.saveDir Xfq`k/ W
The directory to use for storing uploaded files yS
W$zA,
设置存储上传文件的目录夹 ZL6HD n!
3\XNOJH
struts.objectFactory cmG27\c RO
The com.opensymphony.xwork2.ObjectFactory implementation class j#5a&Z
com.opensymphony.xwork2.ObjectFactory接口(spring) )/$J$'mcxd
sm/aL^4
struts.objectFactory.spring.autoWire ?% 24M\
Whether Spring should autoWire or not .*-8rOcc
是否自动绑定Spring ! Ld5Y$
u /F!8#
struts.objectFactory.spring.useClassCache u?Ffqt9'
Whether Spring should use its class cache or not ?s^qWA
是否spring应该使用自身的cache #Q8_:dPY
f1 x&Fk
struts.objectTypeDeterminer %R c#/y
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class JY,$B-l
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1&=)Bxg4
Ek)drt7cy
struts.serve.static.browserCache \G gh 95y
If static content served by the Struts filter should set browser caching header properties or not OTXZdAv
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ib# -M;{
_nMd
struts.serve.static I@cw=_EQL
Whether the Struts filter should serve static content or not .uJ
J<
是否struts过滤器应该提供静态内容 ZbYC3_7w
=0g!Q
struts.tag.altSyntax }
{1IB
Whether to use the alterative syntax for the tags or not 6R n?pe^
是否可以用替代的语法替代tags 90Ki.K 0
k:Pn.<
struts.ui.templateDir gXdMGO>
The directory containing UI templates kK[4uQQ
UI templates的目录夹 Pao^>rj
oe*1jR_J`[
struts.ui.theme t eY@)F
The default UI template theme zEI+)|4?r
默认的UI template主题 q5(t2nNb
M&V'*.xz
struts.url.http.port zC2:c"E
I
The HTTP port used by Struts URLs BPO5=]W 7
设置http端口 %10ONe}
#rkq
?:Q
struts.url.https.port 'C'mgEl%L
The HTTPS port used by Struts URLs zXY8:+f
设置https端口 _i05'_
PILpWhjL$9
struts.url.includeParams A &