struts2的struts.properties配置文件详解 l20fA-T
_I
_.ny<r:g
struts.action.extension ac-R q.GQY
The URL extension to use to determine if the request is meant for a Struts action m,,FNYW
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 YhVV~bvz*
VOj{&O2c
struts.configuration l Wa4X#~.
The org.apache.struts2.config.Configuration implementation class '_nJ DM
org.apache.struts2.config.Configuration接口名 U',9t
[M7&
struts.configuration.files [HV>4,,3"
A list of configuration files automatically loaded by Struts 2Op\`Ht&
struts自动加载的一个配置文件列表 wcdD i[E>i
}3"FQ/6C
struts.configuration.xml.reload Q9UBxpDV:
Whether to reload the XML configuration or not :2qUel\PEC
是否加载xml配置(true,false) Zi0B$3iOb
:KJG3j?
struts.continuations.package S-M|
6fv
The package containing actions that use Rife continuations | m^qA](M
含有actions的完整连续的package名称 *5\k1-$
z2Pnni7Ys
struts.custom.i18n.resources \5]${vs&s
Location of additional localization properties files to load MS Ml
加载附加的国际化属性文件(不包含.properties后缀) ?\
qfuA9.
'q#$^='o
struts.custom.properties 1nt VM+
Location of additional configuration properties files to load cVg!"
加载附加的配置文件的位置 `eF&|3!IYQ
4z_ >CiA
"I)*W8wTn
struts.devMode J73B$0FP
Whether Struts is in development mode or not [_jd
是否为struts开发模式 8f^QO:
(dL;A0L
struts.dispatcher.parametersWorkaround u9t@%H)lZ
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `*A!vO8
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5BL4VGwJ
Lq&;`)BJ
struts.enable.DynamicMethodInvocation `W3;LTPEb
Allows one to disable dynamic method invocation from the URL S690Y]:h$v
允许动态方法调用 h\jV@g$
wTpjM@F?J|
struts.freemarker.manager.classname * 5H
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7+,6m!4
org.apache.struts2.views.freemarker.FreemarkerManager接口名 (-RZ|VdYg
DE{tpN
struts.i18n.encoding Kc6p||<
The encoding to use for localization messages ^`W8>czi
国际化信息内码 i.|zKjF'
'^TQ Ubw
struts.i18n.reload peA}/Jc
Whether the localization messages should automatically be reloaded E@/yg(?d=
是否国际化信息自动加载 =~OH.=9\
NA%(ZRSg(
struts.locale Z*Sa%yf
The default locale for the Struts application c
k$ > yk
默认的国际化地区信息 aR
iD}P*V
'8auj
struts.mapper.class <.DFa/G
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class kl0!*j
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;3nR_6\
q'07
struts.multipart.maxSize )zFPf]gz
The maximize size of a multipart request (file upload) :YZqrcr}
multipart请求信息的最大尺寸(文件上传用) j^t#>tZS
F__(iXxC
struts.multipart.parser 9]ga\>v
The org.apache.struts2.dispatcher.multipart. (8[et m
MultiPartRequest parser implementation for a multipart request (file upload) ;*3OkNxa3
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) l5> H\
JGJXV3AT
=F(fum;zH
struts.multipart.saveDir qjK'sge/
The directory to use for storing uploaded files eV?._-G
设置存储上传文件的目录夹
H %Cb
%R18
struts.objectFactory 0Zt=1Tv
The com.opensymphony.xwork2.ObjectFactory implementation class >S3,_@C
com.opensymphony.xwork2.ObjectFactory接口(spring)
G_fP%ovh
Dr;-2$Kt/&
struts.objectFactory.spring.autoWire U"1z"PcV
Whether Spring should autoWire or not .{cka]9WJz
是否自动绑定Spring u?OyvvpH
B.wRZDEvc
struts.objectFactory.spring.useClassCache _QD##`<
Whether Spring should use its class cache or not YLr<^G-v
是否spring应该使用自身的cache aV^wTs#2I
8Z=d+}Gg<
struts.objectTypeDeterminer //SH=>w2
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class x@-bY
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 aoLYw 9
XZ@;Tyn0,
struts.serve.static.browserCache lJ+05\pE
If static content served by the Struts filter should set browser caching header properties or not P/BWFN1
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 e <Hbm
;.=ZwM]C
struts.serve.static O!0YlIvWv
Whether the Struts filter should serve static content or not r<Il;?S6
是否struts过滤器应该提供静态内容 we6kV-L.
n=HId:XT
struts.tag.altSyntax `Qf$]Eoft
Whether to use the alterative syntax for the tags or not "bO\Wt#Mf
是否可以用替代的语法替代tags sh $mOy
SF$]{
X
struts.ui.templateDir -P;_j,~U
The directory containing UI templates NWuJ&+gcO5
UI templates的目录夹 J&64tQl*
iKy_DV;J
struts.ui.theme '$5.{o`s*1
The default UI template theme a?LrSk`
默认的UI template主题 byj}36LN62
K`=O!;
struts.url.http.port VDCG
5QP6(
The HTTP port used by Struts URLs '=|2, H]
设置http端口 =B}a +0u!
#WBlEVx;Z
struts.url.https.port _JlbVe[<
The HTTPS port used by Struts URLs taS2b#6\+
设置https端口 BPp`r_m8w}
W/(D"[:l%
struts.url.includeParams 3Un{Q~6h
The default includeParams method to generate Struts URLs d$>TC(E=t
在url中产生 默认的includeParams YCJ6an
^DL}J>F9G
^4Nk13
struts.velocity.configfile G_GPnKdd
The Velocity configuration file path 7M#eR8*[se
velocity配置文件路径 Dg^n`[WO
s>=DfE-;"
struts.velocity.contexts _j$"fg
List of Velocity context names 9H@I<`qGC
velocity的context列表 R3nCk-Dq
^/|agQ7D2
P8tpbdZE-
struts.velocity.manager.classname l+6y$2QR
org.apache.struts2.views.velocity.VelocityManager implementation class gWt}q-@nRR
org.apache.struts2.views.velocity.VelocityManager接口名 hdL/zW7]
{K\l3_=5qb
struts.velocity.toolboxlocation &PHejG_#
The location of the Velocity toolbox 3F5Y#[L`
velocity工具盒的位置 RlRkw+%m
struts.xslt.nocache 8dg\_H_
Whether or not XSLT templates should not be cached !.(Kpcrg
是否XSLT模版应该被缓存 uSZCJ#'G