struts2的struts.properties配置文件详解 JA< :K0
A*R n<{U
struts.action.extension v~f'K3fLp
The URL extension to use to determine if the request is meant for a Struts action ?d~]Wd !z
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 BW>5?0E[4(
9{$8\E9*nd
struts.configuration (uRZxX
The org.apache.struts2.config.Configuration implementation class X% X$Y6
org.apache.struts2.config.Configuration接口名 .$P|^Zx,
`\ R{5TU
struts.configuration.files obj!I7
A list of configuration files automatically loaded by Struts X>{p}vtvf>
struts自动加载的一个配置文件列表 xG8`'SNY
Ch7Egzl7?
struts.configuration.xml.reload x~z_,':
Whether to reload the XML configuration or not $
o"
L;j
是否加载xml配置(true,false) hF.6}28U1
j %H`0
struts.continuations.package NHAH#7]M&1
The package containing actions that use Rife continuations @C=M
UT-!
含有actions的完整连续的package名称 |by@ :@*y
~#q;bS
struts.custom.i18n.resources Wy.";/C
Location of additional localization properties files to load 5j`v`[B;
加载附加的国际化属性文件(不包含.properties后缀) 9ad6uTc
ULIFSd Y
struts.custom.properties _Z.cMYN
Location of additional configuration properties files to load ami09JHy
加载附加的配置文件的位置 J.W Ho
c
{>h97}P
:!']p2B
struts.devMode B=dseeG[To
Whether Struts is in development mode or not Zih ?Bm
是否为struts开发模式 :3 y_mf>
C\A49q
struts.dispatcher.parametersWorkaround !k-` eJ|
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $_FZn'Db6
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }[v~&
fhr-Y'
struts.enable.DynamicMethodInvocation SOj`Y|6^:
Allows one to disable dynamic method invocation from the URL r)8z#W>s
允许动态方法调用 GI_DhU]~)
'hF@><sqk
struts.freemarker.manager.classname d;44;*D
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class fI]b zv;
org.apache.struts2.views.freemarker.FreemarkerManager接口名 S=PJhAF
fGTOIi@#
struts.i18n.encoding wS%zWdsz
The encoding to use for localization messages { 8p\Y
国际化信息内码 0D~=SekQ9
OpQ8\[X+
struts.i18n.reload f'_M0x
Whether the localization messages should automatically be reloaded (tKMBxQo8
是否国际化信息自动加载 lkwh'@s.
;{Jb6'K1h
struts.locale >|nt2
The default locale for the Struts application jI0]LD1k
默认的国际化地区信息 M BVOfEMj
)5G QJiY
struts.mapper.class {i;6vRr
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =<.F3lo\s
org.apache.struts2.dispatcher.mapper.ActionMapper接口 4U{m7[
]nc2/S%
struts.multipart.maxSize KTv4< c]
The maximize size of a multipart request (file upload) u E.^w;~2=
multipart请求信息的最大尺寸(文件上传用) Noz&noq
@n@g)`
struts.multipart.parser :\bfGSD/gd
The org.apache.struts2.dispatcher.multipart. >qpqQ;
bm
MultiPartRequest parser implementation for a multipart request (file upload) ls @5^g
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) n_P(k-^U*
n1 v,#GE
X" \}sl5
struts.multipart.saveDir ]3+`` vL
The directory to use for storing uploaded files o(Kcs-W2
设置存储上传文件的目录夹 2fbU-9Rfn
L|J~9FM
struts.objectFactory |D<+X^0'
The com.opensymphony.xwork2.ObjectFactory implementation class 4E'|.tt(
com.opensymphony.xwork2.ObjectFactory接口(spring) \ 3G*j`
-[$&s FD
struts.objectFactory.spring.autoWire lsFfb'>
Whether Spring should autoWire or not vgo{]:Aj{
是否自动绑定Spring )!a$#"'
7E\gxQ(vU
struts.objectFactory.spring.useClassCache Fr;lG
Whether Spring should use its class cache or not Pgev) rh[
是否spring应该使用自身的cache PCZ]R
pL)xqKj
struts.objectTypeDeterminer Ut_mrb+W
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {82rne`[
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 R,b59,&3/
!sG"n&uZq
struts.serve.static.browserCache zAI|Jv@
If static content served by the Struts filter should set browser caching header properties or not oZ-FF'
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cAibB&`~
`M)E* G
struts.serve.static 8Z!*[c>K-?
Whether the Struts filter should serve static content or not .+vd6Uc5a
是否struts过滤器应该提供静态内容 X'@f"= v9k
HtUG#sc&`{
struts.tag.altSyntax y;:]F|%<
Whether to use the alterative syntax for the tags or not oAnigu;
是否可以用替代的语法替代tags `Hd9\;NJ
IXJ6PpQLv
struts.ui.templateDir phS>T
The directory containing UI templates jN {Zw*
UI templates的目录夹 4Cd#sQ
~v\hIm3=m
struts.ui.theme #s{aulx
The default UI template theme EZ{/]gCK
默认的UI template主题 HT&p{7kFm
WvbEh|y
struts.url.http.port ~?-qZ<9/
The HTTP port used by Struts URLs 6}STp_x
设置http端口 /6jGt'^U
!%wdn33"
struts.url.https.port D2)i3vFB
The HTTPS port used by Struts URLs hv{87`L'K(
设置https端口 }1F6?do3&
9M]^l,
struts.url.includeParams P{Lg{I_w.B
The default includeParams method to generate Struts URLs u>m'FECXj
在url中产生 默认的includeParams B5
&YL
ke^d8Z.
h(|;\ ~
struts.velocity.configfile mZE8.`
The Velocity configuration file path |mvM@V;^8{
velocity配置文件路径 Uh%6LPg^
M=6G:HHY
struts.velocity.contexts DU`v J2
List of Velocity context names *73AAA5LKa
velocity的context列表 ^ `je
EZ `}*Yrd
WDvV
LU`
struts.velocity.manager.classname 8
#Fh>
org.apache.struts2.views.velocity.VelocityManager implementation class _6LH"o3
org.apache.struts2.views.velocity.VelocityManager接口名 Gn[ *?=Vy
EzUPah
struts.velocity.toolboxlocation CZ2iJy
The location of the Velocity toolbox I^@.Awt
velocity工具盒的位置 V>r j$Nc]
struts.xslt.nocache ?l>e75V%w
Whether or not XSLT templates should not be cached )lOji7&e
是否XSLT模版应该被缓存 TGtyJ3x\