struts2的struts.properties配置文件详解 f0s
&9H
yDC97#%3u
struts.action.extension h~@+M5r,
The URL extension to use to determine if the request is meant for a Struts action
R'/wOE2
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 WdAGZUp
;`B35K
struts.configuration lo: ~~l
The org.apache.struts2.config.Configuration implementation class a:}"\>Aj
org.apache.struts2.config.Configuration接口名 l/^-:RRNKi
C":\L>Ax
struts.configuration.files r\d:fot
A list of configuration files automatically loaded by Struts <^Tj}5)n
struts自动加载的一个配置文件列表
I={{VQ
xW =$j|
struts.configuration.xml.reload o}A #-
Whether to reload the XML configuration or not (do=o&9pm
是否加载xml配置(true,false) ~P_kr'o
D8Rmxq!
struts.continuations.package 0Q >|s_
The package containing actions that use Rife continuations [{F7Pc
含有actions的完整连续的package名称 e9_+$Oo
b<AE}UK
struts.custom.i18n.resources C4tl4df9
Location of additional localization properties files to load b]BA,D4
加载附加的国际化属性文件(不包含.properties后缀) "S`wwl
(N|xDl&;
struts.custom.properties [Z\1"m
Location of additional configuration properties files to load ->I{
:#
加载附加的配置文件的位置 ;|QR-m2/
>-lL-%N_
2TEeP7
struts.devMode [!?,TGM}^
Whether Struts is in development mode or not J.2]km
是否为struts开发模式 lhl0
lMez!qx,=
struts.dispatcher.parametersWorkaround KHz838C]
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &6=ZT:.6Te
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $L8s/1up
Z'dI!8(Nf
struts.enable.DynamicMethodInvocation n "KJB
Allows one to disable dynamic method invocation from the URL AdOAh y2H
允许动态方法调用 |~LjH |*M
BON""yIC
struts.freemarker.manager.classname HcVs(]tIW
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class irb.F>(x
org.apache.struts2.views.freemarker.FreemarkerManager接口名 `p
b5*h6r!
A1)wo^,
struts.i18n.encoding tM-^<V&
The encoding to use for localization messages /={Js*
国际化信息内码 $Nrm!/)*'}
RIu~ @
struts.i18n.reload Z=B_Ty
Whether the localization messages should automatically be reloaded TD[EQ
是否国际化信息自动加载 ]5~s"fnG
e^4 p%
struts.locale 4n #ov=)-~
The default locale for the Struts application JO=[YoTr
默认的国际化地区信息 iovfo2!hD
~ ~uAc_
struts.mapper.class ES~^M840f
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class H>9CW<8
org.apache.struts2.dispatcher.mapper.ActionMapper接口 p4IZ
)"f
N!9,F
struts.multipart.maxSize v_e9}yI
The maximize size of a multipart request (file upload) &l$Q^g
multipart请求信息的最大尺寸(文件上传用) >hBxY]< \
PB%-9C0
struts.multipart.parser l4n)#?Q?
The org.apache.struts2.dispatcher.multipart. h)~=Dm
MultiPartRequest parser implementation for a multipart request (file upload) DeR='7n
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) izh<I0
'$4O!YI9@
!fBF|*/
struts.multipart.saveDir 1/p*tZP8i
The directory to use for storing uploaded files +&zYZA