struts2的struts.properties配置文件详解 =#5D(0Ab
JM$.O;y
-
struts.action.extension n
?[/ufl
The URL extension to use to determine if the request is meant for a Struts action D8K-K]W@
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 fCAiLkT,C[
PrF}a<:n:
struts.configuration H Yr}wG
The org.apache.struts2.config.Configuration implementation class k4J8O3E
org.apache.struts2.config.Configuration接口名 :)f7A7 :;
mbl]>JsQD
struts.configuration.files z~6y+
A list of configuration files automatically loaded by Struts Eq%@"-mo
struts自动加载的一个配置文件列表 td2/9|Q
_Yb_D/
struts.configuration.xml.reload 10Wz,vW,n
Whether to reload the XML configuration or not 5}ie]/[|
是否加载xml配置(true,false) a[bBT@f
Uh}seB#mJj
struts.continuations.package 2U
kK0ls
The package containing actions that use Rife continuations vEM(bT=H
含有actions的完整连续的package名称 :S@1
vQV K$n`
struts.custom.i18n.resources T<yP* b2E
Location of additional localization properties files to load Rn%N&1
Ef
加载附加的国际化属性文件(不包含.properties后缀) -a Gcf]6
}0hL~i
struts.custom.properties >M!xiQX
Location of additional configuration properties files to load vY|^/[x#B
加载附加的配置文件的位置 | aQ"3d
l*b)st_p%
GnXNCeE`
struts.devMode iL{M+Ic
Whether Struts is in development mode or not ChryJRuwv5
是否为struts开发模式 jdeV|H} u
n@C~ev@%S
struts.dispatcher.parametersWorkaround `?\tUO2_T
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .V9e=yW!*
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Rr(* aC2P
hw_JDv+
struts.enable.DynamicMethodInvocation {MAQ/5
Allows one to disable dynamic method invocation from the URL inPJ2uBD\^
允许动态方法调用 )Ag/Qep
g_*T?;!.U
struts.freemarker.manager.classname 7DW]JK l
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @(``:)Z<b
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;Lw{XqT
"yziXT@V
struts.i18n.encoding :R6bq!
The encoding to use for localization messages %,@vWmn
国际化信息内码 B
(/U3}w-
7z6b@$,
struts.i18n.reload Oh.ZPG=
Whether the localization messages should automatically be reloaded 6}~pq1IF{
是否国际化信息自动加载 WlB'YL-`g
sH,kW|D
struts.locale 5 v^yQ<70
The default locale for the Struts application gV1[3dW
默认的国际化地区信息 Q0?\]2eet9
Ph&urxH@
struts.mapper.class J`M&{UP
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class C;AA/4Ib
org.apache.struts2.dispatcher.mapper.ActionMapper接口 %sh>;^58P
pi( -A
struts.multipart.maxSize 80}+MWdo
The maximize size of a multipart request (file upload) n>,L=wV
multipart请求信息的最大尺寸(文件上传用) Bsf7mcXz7z
TjWE_Bq]g
struts.multipart.parser }*]B-\>
The org.apache.struts2.dispatcher.multipart. c97{Pu
MultiPartRequest parser implementation for a multipart request (file upload) rr`;W}3
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ubMOD<
09KcKhFB
idc`p?XP
struts.multipart.saveDir v7
The directory to use for storing uploaded files =-cwXo{Q.O
设置存储上传文件的目录夹 %\O#&=$E
%z]U LEYrZ
struts.objectFactory h<<>3 A
The com.opensymphony.xwork2.ObjectFactory implementation class m .IU ;cR
com.opensymphony.xwork2.ObjectFactory接口(spring) lLq<xf
6\7ncFO3
struts.objectFactory.spring.autoWire 8eIUsI.o
Whether Spring should autoWire or not L(S'6z~_9
是否自动绑定Spring Xy ,lA4IP
k;PAh>8
struts.objectFactory.spring.useClassCache ?,P3)&3g
Whether Spring should use its class cache or not (;x3} ]
是否spring应该使用自身的cache p=GWq(S6
mpC`Yk
struts.objectTypeDeterminer 5[l8y,
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class i!2TH~zl
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 w1x"
c>1C
"@@I!RwA
struts.serve.static.browserCache _CBWb
If static content served by the Struts filter should set browser caching header properties or not j| Wv7
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 hDP/JN8y
1 Q;}zHd
struts.serve.static G2 ]H6G$M
Whether the Struts filter should serve static content or not [%~
:@m
是否struts过滤器应该提供静态内容 (YBMsh
[L`ZE*z
struts.tag.altSyntax Sgim3):Z
Whether to use the alterative syntax for the tags or not 7qO a
;^T
是否可以用替代的语法替代tags 7*Qk`*Ii
#1c]PX
struts.ui.templateDir h2z_,`iS7
The directory containing UI templates T J^u"j-'
UI templates的目录夹 ,jA)wJ
|yyO q
struts.ui.theme @WH@^u
The default UI template theme R_]{2~J+
默认的UI template主题 -U~
VUTacA Y>L
struts.url.http.port ~AYN
The HTTP port used by Struts URLs -aRU]kIf
设置http端口 dca;'$
I{JU-Jk|
struts.url.https.port rn DCqv!'P
The HTTPS port used by Struts URLs J{ [n?/A{
设置https端口 V$0dtvGvH
T@}|zDC#
struts.url.includeParams R(.}C)q3
The default includeParams method to generate Struts URLs G6VF>2
在url中产生 默认的includeParams Vc^HVyAx@n
['z[
!$2Z-!
struts.velocity.configfile 8u[-'pV!
The Velocity configuration file path ly% F."v
velocity配置文件路径 VxP&j0M>
T5urZq*R
struts.velocity.contexts -(#I3h;I
List of Velocity context names ) 9,
velocity的context列表 y(R?
,wa=]
FZreP.2)!
[ dtbkQt,c
struts.velocity.manager.classname r&-m=Kk$
org.apache.struts2.views.velocity.VelocityManager implementation class 5J8r8` t
org.apache.struts2.views.velocity.VelocityManager接口名 TJE\A)|>g
Cg*H.f%Mr
struts.velocity.toolboxlocation $/Aj1j`"9+
The location of the Velocity toolbox MO;X>D =
velocity工具盒的位置
2VW}9O
struts.xslt.nocache q&C""!h^
Whether or not XSLT templates should not be cached ]weoTn:
是否XSLT模版应该被缓存 jYNrD"n