struts2的struts.properties配置文件详解 WcoA)we
aL*MC gb'
struts.action.extension c*.
The URL extension to use to determine if the request is meant for a Struts action U,Uy0s2r
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 l@*$C&E
!=PH5jTY
struts.configuration mXyN{`q=
The org.apache.struts2.config.Configuration implementation class ?upd
org.apache.struts2.config.Configuration接口名 _z8"r&
{:*G/*1[.
struts.configuration.files &M<"Fmn
A list of configuration files automatically loaded by Struts @'):rFr@F
struts自动加载的一个配置文件列表 iE
HWD.u
2T)k-3
struts.configuration.xml.reload ]'[:QGr
Whether to reload the XML configuration or not 1.k=ji$D0
是否加载xml配置(true,false) R!QR@*N
dsx<ZwZN>
struts.continuations.package ?d%{-
The package containing actions that use Rife continuations M>Tg$^lm
含有actions的完整连续的package名称 Gf3-%s xA
hnB`+!
struts.custom.i18n.resources UkpTK8>&
Location of additional localization properties files to load >
^zNKgSQ
加载附加的国际化属性文件(不包含.properties后缀) v]EZYEXFL)
BJb,
struts.custom.properties -dO8Uis$
Location of additional configuration properties files to load ~!~i_L\V
加载附加的配置文件的位置 fh3uo\`@
^h2+""
h)ZqZ'k$
struts.devMode MGMJeqvr
Whether Struts is in development mode or not L&)e}"
是否为struts开发模式 |v8hg])I+
J&fIWZ
struts.dispatcher.parametersWorkaround }A@:JR+|
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Um\HX6
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @O'NJh{D`
yP# Y:s
struts.enable.DynamicMethodInvocation MXfyj5K
Allows one to disable dynamic method invocation from the URL ><D2of|
允许动态方法调用 f4\$<g/~
8Cp@k=
struts.freemarker.manager.classname XXn3K BIf
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class B
E8_.>
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,(Zxd4?y
u9KT_`
)
struts.i18n.encoding ru2M"]T
The encoding to use for localization messages 8g!79q\c4
国际化信息内码 $Z]@N
nA9N
Be@g|'r
struts.i18n.reload PkyX,mr#1
Whether the localization messages should automatically be reloaded h M7 SGEV
是否国际化信息自动加载 \RR`
F .7
frPQi{u$
struts.locale $Ugc:L<h+
The default locale for the Struts application `.O$RwC&7B
默认的国际化地区信息 s<# BxN
1ow,'FztPt
struts.mapper.class !Whx^B:
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class zn^7#$fC
org.apache.struts2.dispatcher.mapper.ActionMapper接口 #z&R9$
+g7]ga
struts.multipart.maxSize <";1[A%7<
The maximize size of a multipart request (file upload) YYFS
({
multipart请求信息的最大尺寸(文件上传用) nlhv
o96c`a u
struts.multipart.parser @d~]3T
The org.apache.struts2.dispatcher.multipart. 'D`lVUB
MultiPartRequest parser implementation for a multipart request (file upload) OET/4(C
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5EQ)pH+
dl8f]y#Q
$mKExW
struts.multipart.saveDir H/M]YUs/3
The directory to use for storing uploaded files 1+-Go}I
设置存储上传文件的目录夹 hy;V~J#
(n.IK/:
struts.objectFactory kG5+kwV=:
The com.opensymphony.xwork2.ObjectFactory implementation class 6c(b*o
com.opensymphony.xwork2.ObjectFactory接口(spring) C.#Ha-@uz
+{=U!}3|
struts.objectFactory.spring.autoWire zj2y=A|Y
Whether Spring should autoWire or not QQN6\(;-
是否自动绑定Spring 8$]SvfX
cy!P!t,@
struts.objectFactory.spring.useClassCache v)O].Hd
Whether Spring should use its class cache or not q({-C
是否spring应该使用自身的cache w/ZP.B
,Nw2cv}D
struts.objectTypeDeterminer 5655)u.N8
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~"\v(\P e
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .p=J_%K}0x
lx5.50mI
struts.serve.static.browserCache _ ~yd
If static content served by the Struts filter should set browser caching header properties or not lY@2$q9BT
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <>$CYTb
&$2d=q8mh
struts.serve.static @N<h`vDa
Whether the Struts filter should serve static content or not w{ _g"X
是否struts过滤器应该提供静态内容 ^fO9oPM|
5c}loOq
struts.tag.altSyntax x\ #K2
Whether to use the alterative syntax for the tags or not y"7*u
3>"
是否可以用替代的语法替代tags GSSmlJ`
N$t<&5+
struts.ui.templateDir Tr}XG
The directory containing UI templates A2L"&dl
UI templates的目录夹 c+z [4"rYL
l+&DBw[
struts.ui.theme ]gnEo.R
The default UI template theme S?JGg.)
默认的UI template主题 -CFy
2/A*\
struts.url.http.port y<nPZ<