struts2的struts.properties配置文件详解
N|
ze#r/j;sw
struts.action.extension e#|YROHf
The URL extension to use to determine if the request is meant for a Struts action ECvTmU'=
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 u:%Ln_S
' )KuLVE}S
struts.configuration `:YCOF
The org.apache.struts2.config.Configuration implementation class g3vR\?c`
org.apache.struts2.config.Configuration接口名 l
!:kwF
{1J4Q[N9m
struts.configuration.files #b$qtp!,
A list of configuration files automatically loaded by Struts 5/m}v'S%
struts自动加载的一个配置文件列表 f2Z(hYH~
9%^O-8!
struts.configuration.xml.reload AkVgFQg"
n
Whether to reload the XML configuration or not |sPUb;&~
是否加载xml配置(true,false) v1\/ dQK
C?t!Uvs
struts.continuations.package Apc!!*7
The package containing actions that use Rife continuations `z<I<
含有actions的完整连续的package名称 2 UPG8]
\MB$ Cwc
struts.custom.i18n.resources +W}6o3x~
Location of additional localization properties files to load V5bB$tL}3
加载附加的国际化属性文件(不包含.properties后缀) LHd9q^D
*w[0uQL5Z
struts.custom.properties `clp#l.ii
Location of additional configuration properties files to load M. fA5rJ^
加载附加的配置文件的位置 IQQ QB
$9?<mP2-*
@ 3,:G$,
struts.devMode ugS
Whether Struts is in development mode or not &/-}`hIAT
是否为struts开发模式 Z90]I<a~
i@#=Rxp
struts.dispatcher.parametersWorkaround }sW%i#CV
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ibh,d.*~g
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |a>,FZv8e
;]^% 6B n
struts.enable.DynamicMethodInvocation nXfdf-
Allows one to disable dynamic method invocation from the URL -Rbv#Y
允许动态方法调用 2[g kDZ
j. mla
struts.freemarker.manager.classname p|Nh:4iN
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class y=SVS3D
org.apache.struts2.views.freemarker.FreemarkerManager接口名 J1@skj4#\~
#X qnH
struts.i18n.encoding WlmkM?@
The encoding to use for localization messages my%MXTm2
国际化信息内码 W?D-&X^ny
nG0R1<
struts.i18n.reload (0^ZZe`#j
Whether the localization messages should automatically be reloaded )w,<XJhg`
是否国际化信息自动加载 >- U+o.o
~ ;ObT=
struts.locale |X;|=.
The default locale for the Struts application Y |9
默认的国际化地区信息 %`}nP3
@IV,sze
struts.mapper.class qpV"ii
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class - |4 Oq
org.apache.struts2.dispatcher.mapper.ActionMapper接口 QVo>Uit
$) m$c5!
struts.multipart.maxSize '+7"dHLC;
The maximize size of a multipart request (file upload) IO<Ds#(
multipart请求信息的最大尺寸(文件上传用) Ix+eP|8F
+P%k@w#<Z
struts.multipart.parser !TO+[g!
The org.apache.struts2.dispatcher.multipart. z['2
MultiPartRequest parser implementation for a multipart request (file upload) $0|`h)&
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )Bu#ln"
ji.T7wn1u
;2[),k
struts.multipart.saveDir o2!wz8
The directory to use for storing uploaded files S
^$!n,
设置存储上传文件的目录夹 JJy.)-R
yf/i)
struts.objectFactory _RE;}1rb,
The com.opensymphony.xwork2.ObjectFactory implementation class vH/RP
com.opensymphony.xwork2.ObjectFactory接口(spring) i@mS8%|l
i(>
WeC+
struts.objectFactory.spring.autoWire -`UOqjb]3
Whether Spring should autoWire or not 2WC$r8E
是否自动绑定Spring *U +<Hv`C
;
*\xdg{d
struts.objectFactory.spring.useClassCache y%O^Zm1
Whether Spring should use its class cache or not fNz(z\
是否spring应该使用自身的cache -^q;e]+J
3%)@c P:?
struts.objectTypeDeterminer DhXV=Qw
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class UjS+Ddp
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 YP>J'{?b*"
ZmmX_!M
struts.serve.static.browserCache Vllxv6/_
If static content served by the Struts filter should set browser caching header properties or not Ko0?c.l
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 p}8?#5`/w
d'iSvd.
struts.serve.static k~)@D| ?
Whether the Struts filter should serve static content or not jXPbj.
是否struts过滤器应该提供静态内容 L8(2or
zI4d|P
struts.tag.altSyntax 2S-f5&o
Whether to use the alterative syntax for the tags or not #_WkV
是否可以用替代的语法替代tags N5zx# g
-F_cBu81V
struts.ui.templateDir & H8 %
The directory containing UI templates 6sG5n7E-A
UI templates的目录夹 &