struts2的struts.properties配置文件详解 hf'3yEm
Q'N<jX[
struts.action.extension 6\`,blkX
The URL extension to use to determine if the request is meant for a Struts action x8H)m+AW
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 e1#}/U
)\e_I\-
struts.configuration $]vR ,E
The org.apache.struts2.config.Configuration implementation class _^B+Xo@E-
org.apache.struts2.config.Configuration接口名 5segzaI
v-kH7H"z
struts.configuration.files X!@Gv:TD
A list of configuration files automatically loaded by Struts 5H79) n>
struts自动加载的一个配置文件列表 .C1^QY-wL
|^=`ln!
struts.configuration.xml.reload dZm{?\^_
Whether to reload the XML configuration or not 6l=n&YO
是否加载xml配置(true,false) ?;$g, 2n
?TXFOr]g]2
struts.continuations.package .sLx6J%
The package containing actions that use Rife continuations E?;W@MJi
含有actions的完整连续的package名称 h'bxgIl'`
O&)Y3 O1
struts.custom.i18n.resources UkdQ#b1
Location of additional localization properties files to load wxoBq{r;
加载附加的国际化属性文件(不包含.properties后缀) 1q*3V8
'
ft
|
struts.custom.properties Q|0[B4e^:
Location of additional configuration properties files to load t+&WsCN
加载附加的配置文件的位置 m^ILcp!
;c'jBi5W
NZl0sX.:
struts.devMode F4k`x/ak
Whether Struts is in development mode or not qvT9d7x
是否为struts开发模式 Z6Mh`:7
=.uE(L`]NA
struts.dispatcher.parametersWorkaround L0|u^J
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic uv@4/M`
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) xD~:= ]G
s)-=l_4T
struts.enable.DynamicMethodInvocation `'g%z: ~
Allows one to disable dynamic method invocation from the URL rUj]6j=e
允许动态方法调用 1|zo-'y
$,R|$0B7
struts.freemarker.manager.classname [1s B
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {6n B83BB
org.apache.struts2.views.freemarker.FreemarkerManager接口名 !7_Q_h',
N[AX29
struts.i18n.encoding ua2SW(C@
The encoding to use for localization messages @P%&Dha
国际化信息内码 <%|2yPb]
[Y5B$7|s<
struts.i18n.reload wp} PQw:
Whether the localization messages should automatically be reloaded +4)Kc9S#
是否国际化信息自动加载 0{ \AP<
l2$6ojpo
struts.locale :sJVklK
The default locale for the Struts application Ix}:!L
默认的国际化地区信息 H1N%uk=kV
gi~*1RIel;
struts.mapper.class './s'!Lj
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class UE*M\r<
org.apache.struts2.dispatcher.mapper.ActionMapper接口 G!wFG-Y}
ZXp=QH+f
struts.multipart.maxSize @<l7"y;\
The maximize size of a multipart request (file upload) I>:M1Yc0
multipart请求信息的最大尺寸(文件上传用) yw2sK7
8nNRn[oS
struts.multipart.parser ]M#_o]
The org.apache.struts2.dispatcher.multipart. KYMz
MultiPartRequest parser implementation for a multipart request (file upload) &_G^=Nc,H
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)
85m_jmh[
LLCMp3qBz
iku) otUc
struts.multipart.saveDir fsb_*sh&
The directory to use for storing uploaded files Y=\;$:L[
设置存储上传文件的目录夹 66!cfpM
fpu^
struts.objectFactory "/g/Lc
The com.opensymphony.xwork2.ObjectFactory implementation class 94\k++kc
com.opensymphony.xwork2.ObjectFactory接口(spring) %,1bh
!3E33
struts.objectFactory.spring.autoWire L^!E4[ ^4
Whether Spring should autoWire or not @.@O#
是否自动绑定Spring .3M=|rE
]+Ik/+Nz
struts.objectFactory.spring.useClassCache Dz3=ksXZ
Whether Spring should use its class cache or not ^1nQDd*
是否spring应该使用自身的cache F=bX\T7
7G zf>n
struts.objectTypeDeterminer -YPUrU[)
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class x(ue
|UG
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 n j0!
oF7o"NHaWa
struts.serve.static.browserCache t Y'fFz^Ho
If static content served by the Struts filter should set browser caching header properties or not GAI(=
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =^%#F~o:
68
vu
struts.serve.static j]~;|V5Z
Whether the Struts filter should serve static content or not _[SW8 9zk
是否struts过滤器应该提供静态内容 )\ow/XPE
OTwIR<_B+
struts.tag.altSyntax }]VFLBl`w
Whether to use the alterative syntax for the tags or not \W:~;GMeD
是否可以用替代的语法替代tags x/7kcj!O
}M*yE]LL;Z
struts.ui.templateDir X+dLk(jI`u
The directory containing UI templates |soDt<y+L
UI templates的目录夹 :rR)rj'
U|yXJ.Z3
struts.ui.theme yUd>EnQna
The default UI template theme qD!qSM
默认的UI template主题 _3YZz$07
_/xA5/V
struts.url.http.port ^E-BB 6D
The HTTP port used by Struts URLs 0;6eSmF
设置http端口 &p