struts2的struts.properties配置文件详解 Yc3\NqQM
m vO!Y
struts.action.extension x9Fga _
The URL extension to use to determine if the request is meant for a Struts action "=@b>d6U+
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "X T7;!
((Ak/ qz
struts.configuration D*6v.`]X
The org.apache.struts2.config.Configuration implementation class !Y>lAx d
org.apache.struts2.config.Configuration接口名 a|SgGtBtT4
p~6/+ap
struts.configuration.files jl;_lcO
A list of configuration files automatically loaded by Struts <vJPKQ`=:
struts自动加载的一个配置文件列表 ns[v.YDL
GwQW
I]
struts.configuration.xml.reload f.JZ[+
Whether to reload the XML configuration or not >A5R
是否加载xml配置(true,false) /x,gdZPX
@X4Ur+d
struts.continuations.package #qrZ(,I@n
The package containing actions that use Rife continuations WSi`)@.XO
含有actions的完整连续的package名称 :K>v
F`SM
.<`i!Ls
struts.custom.i18n.resources bO 2>ced
Location of additional localization properties files to load ,yus44w[
加载附加的国际化属性文件(不包含.properties后缀) h[#Lg3
?%%
'GX
struts.custom.properties 0B fqEAl
Location of additional configuration properties files to load 5Ds/^fA
加载附加的配置文件的位置 $3<,"&;Ecs
aDmyr_f$
SF$7WG3Q
struts.devMode 2+zE|I.
Whether Struts is in development mode or not Rt:k4Q
是否为struts开发模式 gNF8&T
tvXoF;Yq
struts.dispatcher.parametersWorkaround rqW[B/a{
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic bP\0S@1YL
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) JTK>[|c9oE
7ksh%eV
struts.enable.DynamicMethodInvocation rCfr&>nn
Allows one to disable dynamic method invocation from the URL @ODwO;_R5
允许动态方法调用 xFxl9oM."
`q|&;wP.
struts.freemarker.manager.classname ?T=]?[
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Atsi}zTR\
org.apache.struts2.views.freemarker.FreemarkerManager接口名 .w2QiJ
S$J}>a#Ry
struts.i18n.encoding DTmv2X
The encoding to use for localization messages D FDC'E
国际化信息内码 {6{y"8
wI.i\S
struts.i18n.reload D`p&`]k3v
Whether the localization messages should automatically be reloaded = ms(dr^n
是否国际化信息自动加载 0q'd }D W
HDQhXw!!hc
struts.locale 9ZvBsG)
The default locale for the Struts application y_O [r1MF
默认的国际化地区信息 _svEPHU
$jT&]p
struts.mapper.class hY
2nT
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @(>XSTh9
org.apache.struts2.dispatcher.mapper.ActionMapper接口 5\93-e
}L
Q9db1
struts.multipart.maxSize I)#=#eI*:
The maximize size of a multipart request (file upload) <;O=h;
~|
multipart请求信息的最大尺寸(文件上传用) H`u8}{7
H.-jBFt}
struts.multipart.parser Y[%1?CREP
The org.apache.struts2.dispatcher.multipart.
K&FGTS,
MultiPartRequest parser implementation for a multipart request (file upload) Q'-V\G)11
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) W>C!V
pR_cI]{=SA
we'<Y
struts.multipart.saveDir +mRFHZG
The directory to use for storing uploaded files vZV+24YWb
设置存储上传文件的目录夹 C${{&$&