struts2的struts.properties配置文件详解 =`f6@4H
s;'XX}Y
struts.action.extension YNc]x>
The URL extension to use to determine if the request is meant for a Struts action P+iZ5S\kL=
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6LUO
c}iVBN6~.<
struts.configuration yc.Vm[!
The org.apache.struts2.config.Configuration implementation class UGuEZ-r
org.apache.struts2.config.Configuration接口名 V[f-Nj Kf
+u%^YBr
struts.configuration.files UUy%:t
A list of configuration files automatically loaded by Struts <3dmY=
struts自动加载的一个配置文件列表 )i&z!|/2
+I$c+WfU
struts.configuration.xml.reload Z%3]
Whether to reload the XML configuration or not Ekx3GM_]
是否加载xml配置(true,false) o]0v#2l'
_6a+" p
struts.continuations.package K ~"J<798{
The package containing actions that use Rife continuations ncg5%(2
含有actions的完整连续的package名称 (Dr g
IUco
8
struts.custom.i18n.resources Nx~9Ug
Location of additional localization properties files to load |zD{]y?S-
加载附加的国际化属性文件(不包含.properties后缀) Pl_4;q!$
ZhqrN]x
struts.custom.properties <rUH\z5cP
Location of additional configuration properties files to load QUL^]6$
加载附加的配置文件的位置 @OOnO+g
7n*,L5%?]4
9-;ujl?{
struts.devMode R<VNbm;
Whether Struts is in development mode or not :'aT4
是否为struts开发模式 .Ap-<FB
5~T`R~Uqb
struts.dispatcher.parametersWorkaround BKDs3?&
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {9sA'5
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )Lht}I ]:
I`"8}d@Jm
struts.enable.DynamicMethodInvocation J+f
.r|?
Allows one to disable dynamic method invocation from the URL n}9vAvC
允许动态方法调用 6AeX$>k+
-lHSojq~H
struts.freemarker.manager.classname fj
X~"U
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ZD{%0uh
org.apache.struts2.views.freemarker.FreemarkerManager接口名 +]|aACt]
hzIP ?0^E
struts.i18n.encoding {@Y|"qIN
The encoding to use for localization messages h8;B +#f`
国际化信息内码 6~8A$:
1{N73]-M:
struts.i18n.reload `YTagUq7
Whether the localization messages should automatically be reloaded <
aeBhg%
是否国际化信息自动加载 g z!q
y+f@8]
struts.locale ( lbF/F>v
The default locale for the Struts application c"BFkw
默认的国际化地区信息 OgJd^
su]CaHU
struts.mapper.class lqFDX
d
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;cQhs7m(9
org.apache.struts2.dispatcher.mapper.ActionMapper接口 NpV#zzE
(Fq|hgOA>M
struts.multipart.maxSize HRkO.230
The maximize size of a multipart request (file upload) ^)ouL25Z*2
multipart请求信息的最大尺寸(文件上传用) 7Q,9j.
<V?M~u[7f
struts.multipart.parser
DDkH`R
The org.apache.struts2.dispatcher.multipart. VXt8y)?a
MultiPartRequest parser implementation for a multipart request (file upload) a1Q|su{H
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) fE"Q:K6r2
} ).rD
vK2sj1Hzr
struts.multipart.saveDir ~l$u~:4Ob
The directory to use for storing uploaded files nR)/k,3W
设置存储上传文件的目录夹 1e`/N+6u
x`8rR;N!
struts.objectFactory >|%dN
jf@Q
The com.opensymphony.xwork2.ObjectFactory implementation class RUcpdeo
com.opensymphony.xwork2.ObjectFactory接口(spring) 5/j7 C>
hwF9LD~^
struts.objectFactory.spring.autoWire UhuEE
Whether Spring should autoWire or not b%`^KEvwfo
是否自动绑定Spring U M$\{$
pvL)BD
struts.objectFactory.spring.useClassCache )N[9r{3
Whether Spring should use its class cache or not ]v=*WK
是否spring应该使用自身的cache X._skq
0$)CWah
struts.objectTypeDeterminer 2e_ssBbb
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class WP)r5;Hv`
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 06@^knm
oBZ\mk L
struts.serve.static.browserCache .?7u'%6x?{
If static content served by the Struts filter should set browser caching header properties or not O@;;GJ
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =zw=Jp
Sa5+_TW
struts.serve.static -dXlGOD+C
Whether the Struts filter should serve static content or not ^LfN6{
是否struts过滤器应该提供静态内容 H/8H`9S$
4]L5%=atn
struts.tag.altSyntax N@D]Q&;+(T
Whether to use the alterative syntax for the tags or not d-e6hI4b
是否可以用替代的语法替代tags b-pZrnZ!
, 'WhF-
struts.ui.templateDir R=uzm=&nR
The directory containing UI templates ^mWOQ*zi;
UI templates的目录夹 /Qh
C9^[A4O@X!
struts.ui.theme b~;gj^
The default UI template theme [RtTi<F^
默认的UI template主题 @c&}\#;
E6"+\-e
struts.url.http.port H&K(,4u^
The HTTP port used by Struts URLs i}cqV
B?r
设置http端口 ]dzBm!u
r{y&}gA
struts.url.https.port qYD$_a
The HTTPS port used by Struts URLs ks92-%;:
设置https端口 ~{Gbu oH
v+a$Xh3Y~
struts.url.includeParams u{#}Lo>B #
The default includeParams method to generate Struts URLs e>yPFXSk
在url中产生 默认的includeParams yo\R[i(
7!%/vO0m
3m
RP.<=
struts.velocity.configfile Dep.Qfv{-
The Velocity configuration file path tHF-OarUO
velocity配置文件路径 ~>C@n'\lv
hY$gzls4
struts.velocity.contexts H CKD0xx
List of Velocity context names ?y1']GAo
velocity的context列表 8<BYAHY^
}^|g|xl!
uTsxSkHb/
struts.velocity.manager.classname s"u6po.'
org.apache.struts2.views.velocity.VelocityManager implementation class GM&< ?K1
org.apache.struts2.views.velocity.VelocityManager接口名 HgH\2QL3&
= MQpYX
struts.velocity.toolboxlocation 0ws1S(pq
The location of the Velocity toolbox SU,S1C_q8
velocity工具盒的位置 gc~nT/lfK
struts.xslt.nocache "R8: s
Whether or not XSLT templates should not be cached Ul"9zTH
是否XSLT模版应该被缓存 50,`=Z