struts2的struts.properties配置文件详解 K(hf)1q
=619+[fK
struts.action.extension 8V@3T/}
The URL extension to use to determine if the request is meant for a Struts action @YRBZ6FH
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Yd9y8TqJ
I#0$5a},u^
struts.configuration z\a#"2(G.
The org.apache.struts2.config.Configuration implementation class YRl2e`&jt
org.apache.struts2.config.Configuration接口名 SExd-=G
F C"dQ
struts.configuration.files Y,{X v
A list of configuration files automatically loaded by Struts K-/fq=z
struts自动加载的一个配置文件列表 s;L7
_.hH@
@jfd.? RK!
struts.configuration.xml.reload /Bc
;)~
Whether to reload the XML configuration or not K=;p^dE
是否加载xml配置(true,false) KQh'5o&
Q'Q^K
struts.continuations.package {Q0"uE)-.
The package containing actions that use Rife continuations dPS}\&1
含有actions的完整连续的package名称 %*,'&S
eD(#zfP/+
struts.custom.i18n.resources #R &F
Location of additional localization properties files to load %',.
K)IR
加载附加的国际化属性文件(不包含.properties后缀) $?7}4u,
\
FA7 +Q
struts.custom.properties
*v6'I-#
Location of additional configuration properties files to load z}Q54,9m
加载附加的配置文件的位置 H}d&>!\}F
6+>q1,<
V`G]4}
struts.devMode >zhbOkR9c
Whether Struts is in development mode or not tH$Z_(5
是否为struts开发模式 6HyQm?c>a
N=(rl#<
struts.dispatcher.parametersWorkaround 6g)21Mh#
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |<OZa;c+
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3*ZE``
n-uoY<;hp
struts.enable.DynamicMethodInvocation i=Y#kL~f
Allows one to disable dynamic method invocation from the URL 0-7xcF@s
允许动态方法调用 #P1k5!u
B>Mk "WjQ
struts.freemarker.manager.classname
Y.ic=<0H
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +Oo>V~
org.apache.struts2.views.freemarker.FreemarkerManager接口名 x.!%'{+{
~qRP.bV%f
struts.i18n.encoding ^;M!u8 [
The encoding to use for localization messages e4t'3So
国际化信息内码 b}Jcj
r@ ]{`qA
struts.i18n.reload A+AqlM+$i
Whether the localization messages should automatically be reloaded 94Are<
是否国际化信息自动加载 U:p<pTnMR
\:Q)Ef
struts.locale Y~,N,>nITu
The default locale for the Struts application hl8[A-d(R
默认的国际化地区信息 mI-$4st]
\qKh9
struts.mapper.class @hp@*$#& 9
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class E`BL3+k Q
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ka655O/)&
#49,7OBU
struts.multipart.maxSize JpN+'/
The maximize size of a multipart request (file upload) 4~DoqT
multipart请求信息的最大尺寸(文件上传用) N|wI=To
YajUdpJi
struts.multipart.parser //xxSk
The org.apache.struts2.dispatcher.multipart. |?g k%g
MultiPartRequest parser implementation for a multipart request (file upload) (wkeo{lx
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) K^>+"
ki39$A'8
<a; <|Fm.
struts.multipart.saveDir h",kA(+P
The directory to use for storing uploaded files ><+wH b
设置存储上传文件的目录夹 S U04q+
n1X 7T0'
struts.objectFactory 2+50ezsId
The com.opensymphony.xwork2.ObjectFactory implementation class !A qSG-
com.opensymphony.xwork2.ObjectFactory接口(spring) R]H/Jv\'
}9=VhC%J
struts.objectFactory.spring.autoWire Bg{"{poy
Whether Spring should autoWire or not -Z9e}$q$,
是否自动绑定Spring JHBX'1GQa
X&b)E0]pR
struts.objectFactory.spring.useClassCache um~U_&>
Whether Spring should use its class cache or not T|[zk.8=E
是否spring应该使用自身的cache h{#Hwp
[WW3'= e^
struts.objectTypeDeterminer gy0l@ 5 N
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /3{jeU.k
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .*+%-%CbP
{94qsVxQZ
struts.serve.static.browserCache O8qA2@,
If static content served by the Struts filter should set browser caching header properties or not eh`n?C
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [_q3 02
,ir(~g+{g
struts.serve.static B*W)e$
Whether the Struts filter should serve static content or not RG4T9eZq
是否struts过滤器应该提供静态内容 +G)L8{FY(
hX;JMQ915
struts.tag.altSyntax e'Njl?>3
Whether to use the alterative syntax for the tags or not 5o- WA1
是否可以用替代的语法替代tags 7,X5]U&A<x
s|FfBG
struts.ui.templateDir bLuAe
EA
The directory containing UI templates WKek^TW4HE
UI templates的目录夹 >UlAae44
/x\{cHAt8J
struts.ui.theme
UDl[
The default UI template theme ,ELbm
默认的UI template主题 \iVb;7r)9:
vr/*z euA
struts.url.http.port oK\{#<gCZ
The HTTP port used by Struts URLs ;hzm&My
设置http端口 Q*&k6A"jx
3
vr T`
struts.url.https.port W~b->F
The HTTPS port used by Struts URLs f-$%Ck$%,
设置https端口 gqw
]L>Z
3HCH-?U5
struts.url.includeParams <u`m4w
The default includeParams method to generate Struts URLs Q0l[1;$#
在url中产生 默认的includeParams {{N*/E^
@~1}n/
3M~*4
struts.velocity.configfile J?DJA2o
The Velocity configuration file path 4TX~]tEyky
velocity配置文件路径 Ts)ox}rYVm
Y~,ZBl,
struts.velocity.contexts HFlMx
List of Velocity context names ^I! u H1G
velocity的context列表 1!/WC.0
x:dI :G
n3x<L:)
struts.velocity.manager.classname BeFCt;
org.apache.struts2.views.velocity.VelocityManager implementation class 9\f%+?p
org.apache.struts2.views.velocity.VelocityManager接口名 pT ]: TRPS
'Sk-L
5
struts.velocity.toolboxlocation z"D'rHxy
The location of the Velocity toolbox Lgr(j60s
velocity工具盒的位置 ;fiH=_{us
struts.xslt.nocache 9IfeaoZZ4q
Whether or not XSLT templates should not be cached %OT} r
是否XSLT模版应该被缓存 #z$g1\v