struts2的struts.properties配置文件详解 _@>*]g
?9{^gW4|
struts.action.extension el5Pe{j'
The URL extension to use to determine if the request is meant for a Struts action ^V; r
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 %!Eh9C*
d)uuA;n
struts.configuration ZVH 9je
The org.apache.struts2.config.Configuration implementation class )x\%*ewY
org.apache.struts2.config.Configuration接口名 Xk|a%%O*H
i/_rz.c~3
struts.configuration.files f91]0B`C
A list of configuration files automatically loaded by Struts >mA]2gV<a
struts自动加载的一个配置文件列表 @xo8"kl
}bw^p.ci
struts.configuration.xml.reload Te}gmt+#%
Whether to reload the XML configuration or not 16Ka>=G
是否加载xml配置(true,false) $=\=80u/
$rj:K)P
struts.continuations.package 2i6=g<
The package containing actions that use Rife continuations <$?#P#A
含有actions的完整连续的package名称 XHJdynt/
gKTCfD~
struts.custom.i18n.resources e}2?)B`[
Location of additional localization properties files to load A7YCSjB
加载附加的国际化属性文件(不包含.properties后缀) {91Y;p
C
<#BK(W~$
struts.custom.properties y]{b4e
Location of additional configuration properties files to load ?yAb=zI1b
加载附加的配置文件的位置 A*0X~6W
K3:z5j.X
]~
N.
struts.devMode "Fmq$.$%
Whether Struts is in development mode or not M/W9"N[ta
是否为struts开发模式 *sp")h#Z
yj_/:eX
struts.dispatcher.parametersWorkaround />Zfx. Aj6
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C&0f8PnD
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) r|}Pg}O
7<70\6
struts.enable.DynamicMethodInvocation 5,XEN$^
Allows one to disable dynamic method invocation from the URL *.w6 =}
允许动态方法调用 1 M!4hM
Q
p\_3g!G'
struts.freemarker.manager.classname 2|ee` "`
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ^~l@ _r
org.apache.struts2.views.freemarker.FreemarkerManager接口名 C\"C12n{
%6fnL~A
struts.i18n.encoding Nz{qu}dt
The encoding to use for localization messages &0T7Uv-`
国际化信息内码 v,Kum<oi?
k"[AV2UW1
struts.i18n.reload !Usmm8!K
Whether the localization messages should automatically be reloaded 8?L-3/
是否国际化信息自动加载 ,~$sJ2
g7
g,YF$:e
struts.locale BPW.&2?<
The default locale for the Struts application V+sZ;$
默认的国际化地区信息 nO6UlY
2va[= >_
struts.mapper.class p?Ux1S
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ]{i0?c
org.apache.struts2.dispatcher.mapper.ActionMapper接口 =zAFsRoD_B
?8grK
struts.multipart.maxSize ecl6>PS$'
The maximize size of a multipart request (file upload) M1P;x._n
multipart请求信息的最大尺寸(文件上传用) cyd_xB5K
A#q.)8
struts.multipart.parser lu>G=uCJ
The org.apache.struts2.dispatcher.multipart. s +S6'g--
MultiPartRequest parser implementation for a multipart request (file upload) W)Y-^i5
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #('R`~
8yI4=P"F,
6&