struts2的struts.properties配置文件详解 @|2L>N
nqFJNK]a
struts.action.extension Xv&&U@7
The URL extension to use to determine if the request is meant for a Struts action (^@rr[.o7
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 d:X@zUR*)
X"k:+
struts.configuration u{'|/g&
The org.apache.struts2.config.Configuration implementation class ].Sz2vI
org.apache.struts2.config.Configuration接口名 Z0'&@P$
a7fFp9l!
struts.configuration.files @,:6wKMc
A list of configuration files automatically loaded by Struts \`:nmFO(9
struts自动加载的一个配置文件列表 AbExJ~JV\g
F4*ssx
struts.configuration.xml.reload x_+-TC4IXn
Whether to reload the XML configuration or not k',#T932x1
是否加载xml配置(true,false) %4QpDt
Hh1]\4D,4
struts.continuations.package s?5vJ:M
Xr
The package containing actions that use Rife continuations [X%Wg:K
含有actions的完整连续的package名称 Z^[
]s1iP}
Img$D*BM
struts.custom.i18n.resources
Nt
w?~%
Location of additional localization properties files to load 0z
=?}xr
加载附加的国际化属性文件(不包含.properties后缀) l"rX'g?
+L,V_z
struts.custom.properties M/mm2?4
Location of additional configuration properties files to load 7@1GSO: Yf
加载附加的配置文件的位置 ]i:_^z)R
[2P6XoI#
Q;xJ/4 Z"
struts.devMode L[cP2X]NQ
Whether Struts is in development mode or not o}p^q:T*
是否为struts开发模式 )4e8LO
B6 yTD7
struts.dispatcher.parametersWorkaround 11((b
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic qN"Q3mU^h*
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) "OO)m](w
jAcrXB*
struts.enable.DynamicMethodInvocation A`:a
T{j
Allows one to disable dynamic method invocation from the URL W5Uw=!LdEY
允许动态方法调用 =o5|W'>`
`PUGg[Zx^
struts.freemarker.manager.classname UasU/Q <
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class W>j@E|m$
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]<*-pRN
,x=S)t
struts.i18n.encoding <5 }
The encoding to use for localization messages vk4Q2P
国际化信息内码 /U
3Uuk:
/& W&
struts.i18n.reload $3=S\jyfK
Whether the localization messages should automatically be reloaded ZYS]Et[Q
是否国际化信息自动加载 |JLXgwML
oMNSQMlI
struts.locale T' > MXFLh
The default locale for the Struts application &\y`9QpVF
默认的国际化地区信息 AGGT]
58|
!+u
K@z&G
struts.mapper.class agkGUK/
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class QnA~,z/.w
org.apache.struts2.dispatcher.mapper.ActionMapper接口 "U-dw%b}b
}0IeKpu5
struts.multipart.maxSize B#G:aBCM
The maximize size of a multipart request (file upload) mt]^d;E
multipart请求信息的最大尺寸(文件上传用) |[)n.N65=
#:NY9.\o
struts.multipart.parser EeR} 34
The org.apache.struts2.dispatcher.multipart. =<%[P9y
MultiPartRequest parser implementation for a multipart request (file upload) 4nrn
Npf`b
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) EO`eg]
?2%;VKN4
U,K=(I7OBX
struts.multipart.saveDir &/n*>%2
The directory to use for storing uploaded files 1Ror1%Q"?
设置存储上传文件的目录夹
i }_"
L|L;<
struts.objectFactory Sh2BU3
The com.opensymphony.xwork2.ObjectFactory implementation class akFT 0@9
com.opensymphony.xwork2.ObjectFactory接口(spring) \(MIDCZ@-
^
-4~pDv^
struts.objectFactory.spring.autoWire Q2!5
Whether Spring should autoWire or not A5T&i]
是否自动绑定Spring '3b'moy
5eiKMKW[
struts.objectFactory.spring.useClassCache M@z_tR'3\
Whether Spring should use its class cache or not .JOZ2QWm<
是否spring应该使用自身的cache oOHY+'V
7`f%?xVn0
struts.objectTypeDeterminer GC~nr-O
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class _= cU2
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 jV[;e15+
8iTB
struts.serve.static.browserCache xnfJruT
If static content served by the Struts filter should set browser caching header properties or not 4f&"1:
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ? G`6}NP
)$ h!lAo
struts.serve.static $J):yhFs e
Whether the Struts filter should serve static content or not )8!*,e=4
是否struts过滤器应该提供静态内容 W7. +
R@-x!*z
struts.tag.altSyntax /xSFW7d1
Whether to use the alterative syntax for the tags or not a^8PB|G
是否可以用替代的语法替代tags ' 55G:r39
I~;w Q
struts.ui.templateDir {
V)`6
The directory containing UI templates +0?1"2
UI templates的目录夹 D4\[D8pD
fD lo L
struts.ui.theme r1TdjnP,2^
The default UI template theme H,c`=Ii3
默认的UI template主题 Gr 4v&Mz:
o*Xfgc
struts.url.http.port :..WL;gC
The HTTP port used by Struts URLs 5DDSo0E
设置http端口 SK#&%Yk
\%7fm#z6
struts.url.https.port v[2&0&!K#
The HTTPS port used by Struts URLs qX*xQA|ak,
设置https端口 wTD}c1J(
RRXp9{x`
struts.url.includeParams 51u\am'T
The default includeParams method to generate Struts URLs @dUN3,}
在url中产生 默认的includeParams ?5jLN&A3 G
Se_]=>WI
;?k<L\zaw
struts.velocity.configfile 8ok=&Gq4
The Velocity configuration file path Vef!5]t5
velocity配置文件路径 2kt0Rxg
aL_/2/@X8
struts.velocity.contexts &=x4M]t9L
List of Velocity context names |j-ng;
velocity的context列表 $_iE^zZaU^
4&=</ok6`0
v3aPHf
struts.velocity.manager.classname DR{O.TX
org.apache.struts2.views.velocity.VelocityManager implementation class aU~?&]
org.apache.struts2.views.velocity.VelocityManager接口名 m^0vux
qY$ [2]
struts.velocity.toolboxlocation NYr)=&)Ke.
The location of the Velocity toolbox *FktI\tS
velocity工具盒的位置 EK5$z>k>m
struts.xslt.nocache 0>8w On
Whether or not XSLT templates should not be cached B;?)X&n|X
是否XSLT模版应该被缓存 /y$ Fw9R;