struts2的struts.properties配置文件详解 zcn> 4E)
.BaU}-5
struts.action.extension )Ha`>
The URL extension to use to determine if the request is meant for a Struts action "4 Lt:o4x
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Qxw?D4/Y
5)IJ|"]y
struts.configuration y;M}I8W[
The org.apache.struts2.config.Configuration implementation class X4- _l$j
org.apache.struts2.config.Configuration接口名 **].d;~[l
x/Nh9hh"
struts.configuration.files ]HpKDb0+
A list of configuration files automatically loaded by Struts HAkEJgV
struts自动加载的一个配置文件列表 nE4?oq
V l,V
struts.configuration.xml.reload i4',d#
Whether to reload the XML configuration or not _8-iO.T+2
是否加载xml配置(true,false) dZMOgZ.!yr
fR:BF47
struts.continuations.package Sr9)i8x{
The package containing actions that use Rife continuations (JgW")M`cY
含有actions的完整连续的package名称 |zJxR_)
\wyn
struts.custom.i18n.resources Y,?!"
Location of additional localization properties files to load CG`s@5y>5
加载附加的国际化属性文件(不包含.properties后缀) __F?iRrCM
eU[f6OGqC
struts.custom.properties f{} zqCK
Location of additional configuration properties files to load @Lp;p$G`
加载附加的配置文件的位置 ?0ezr[`.
Aqc
Cb[1r
fmDn1N-bG
struts.devMode 2l7Sbs7
Whether Struts is in development mode or not /b44;U`v5-
是否为struts开发模式 hI&ugdf
2+Y8b::
struts.dispatcher.parametersWorkaround 3)?v
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *{ =5AW}o
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2jMV6S9
72YL
struts.enable.DynamicMethodInvocation "*ot:;I
Allows one to disable dynamic method invocation from the URL yB>5p]$P
允许动态方法调用 H
3e(-
\`nRgYSE
struts.freemarker.manager.classname Q|!}&=
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class w<m)T
org.apache.struts2.views.freemarker.FreemarkerManager接口名 m|7lDfpb
# 1S*}Q<k
struts.i18n.encoding +IRr&J*P
The encoding to use for localization messages /Ir|& <yB
国际化信息内码 >.tP7=
Ps0g
struts.i18n.reload (|{b ZW}
Whether the localization messages should automatically be reloaded '1$#onx
是否国际化信息自动加载 C4#E N}
JTK0#+?
struts.locale #[4Mw M3
The default locale for the Struts application VcLB0T7m\
默认的国际化地区信息 shjq4#9
&8l4A=l$
struts.mapper.class Mp8FYPjZ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class #6jdv|fu
org.apache.struts2.dispatcher.mapper.ActionMapper接口 r_5k$u(
6I)1[tU
struts.multipart.maxSize dzK]F/L]
The maximize size of a multipart request (file upload) j:JM v
multipart请求信息的最大尺寸(文件上传用) vlHE\%{
x6d0yJ <
struts.multipart.parser h`_@eax
The org.apache.struts2.dispatcher.multipart. @V9qbr=Z
MultiPartRequest parser implementation for a multipart request (file upload) TQcEe@$)
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) h-^7cHI}
L>,j*a_[
1 z4s1Y
struts.multipart.saveDir .g|D
The directory to use for storing uploaded files \:ELO[(#|{
设置存储上传文件的目录夹 'CrBxaA]s
&$'=SL(Z
struts.objectFactory LC!ZeW35
The com.opensymphony.xwork2.ObjectFactory implementation class x vi&d1
com.opensymphony.xwork2.ObjectFactory接口(spring) C*S%aR
6{XdLI
struts.objectFactory.spring.autoWire l~Em2@c
Whether Spring should autoWire or not ]<V,5'xh
是否自动绑定Spring ,%|$#
g 0
) <lpI';T
struts.objectFactory.spring.useClassCache E^RPK{zO
Whether Spring should use its class cache or not :HJ@/s!J
是否spring应该使用自身的cache xnyp'O8yk
WFOO6
kMz
struts.objectTypeDeterminer Kn#3^>D
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Esc*+}ck
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1pUIZ$@?`
!'-|]xx(
struts.serve.static.browserCache
=<_ei|ME
If static content served by the Struts filter should set browser caching header properties or not ~7N>tjB
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ik9 2='Z
dIOj]5H3F
struts.serve.static a ]PS`
Whether the Struts filter should serve static content or not Jkc1ih`^
是否struts过滤器应该提供静态内容 Kg#5
@;
NwK(<dzG
struts.tag.altSyntax )$#
Ku2X
Whether to use the alterative syntax for the tags or not G(4*e! aZ0
是否可以用替代的语法替代tags WIe2j
U 0$?:C+?
struts.ui.templateDir K?y!zy
The directory containing UI templates wbC'SOM
UI templates的目录夹 %cWy0:F5VY
qJ;T$W=NG
struts.ui.theme M5SAlj
The default UI template theme ~MvLrg"i
默认的UI template主题 _` %z
hb6UyN
struts.url.http.port rKP;T"?;
The HTTP port used by Struts URLs WHV]H
设置http端口 \Z +O9T%
"hwG"3n1
struts.url.https.port B!Ss
35<
The HTTPS port used by Struts URLs ;'\{T#5)
设置https端口 *mqoyOa
>3S^9{d
struts.url.includeParams QU&b5!;&
The default includeParams method to generate Struts URLs fP>K!@!8
在url中产生 默认的includeParams YWfw%p?n"
7VP[U,
]"Do%<