struts2的struts.properties配置文件详解 LCRZ<?O[|
LHb(T`.=
struts.action.extension R1X{=ct
The URL extension to use to determine if the request is meant for a Struts action F+!K9( `|
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,9W|$2=F
G-]ndrTn
struts.configuration n`krK"Ii
The org.apache.struts2.config.Configuration implementation class d&QB?yLd
org.apache.struts2.config.Configuration接口名 D"m]`H
'e;]\<
0z
struts.configuration.files 195m0'zda
A list of configuration files automatically loaded by Struts N%\!eHxy
struts自动加载的一个配置文件列表 2\M^_x$N
aoh"<I%]>4
struts.configuration.xml.reload uMToVk`Uv
Whether to reload the XML configuration or not ^F `
是否加载xml配置(true,false) x2\,n
~I%m[fQ S
struts.continuations.package W"_")V=QBz
The package containing actions that use Rife continuations V3NQij(
含有actions的完整连续的package名称 #,1Kum
bG3
2R2ws.}
struts.custom.i18n.resources E
hROd
Location of additional localization properties files to load r_f?H@ v
加载附加的国际化属性文件(不包含.properties后缀) 3U0>Y%m| ,
3%G>TB
struts.custom.properties kqfO3{-;{:
Location of additional configuration properties files to load [wJM=`!W
加载附加的配置文件的位置 f\}fUg2
$]eITyC`P
Gvk)H$ni
struts.devMode -#
[=1Y
Whether Struts is in development mode or not V(|@6ww
是否为struts开发模式 ^-9g_5
lU0'5!3R,
struts.dispatcher.parametersWorkaround w NlC2is
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic mjDaus59
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) tk@
T-;
0wCJNXm
struts.enable.DynamicMethodInvocation LwV4p6A
Allows one to disable dynamic method invocation from the URL tO$/|B74Bz
允许动态方法调用 h|tdK;)
)
N*,cTE
struts.freemarker.manager.classname 0L_JP9e
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class O9#8%p%
)
org.apache.struts2.views.freemarker.FreemarkerManager接口名 $
\j/s:Y
G'oMZb ({=
struts.i18n.encoding \YE(E04w57
The encoding to use for localization messages B 3Y,|*
国际化信息内码 K]{Y >w
yF-EHNNf
struts.i18n.reload [%M=nJ{8
Whether the localization messages should automatically be reloaded Wm{Lg0Nr
是否国际化信息自动加载 :nZVP_d+
?8AchbK;N
struts.locale @7Oqp-
The default locale for the Struts application 7cTDbc!E-
默认的国际化地区信息 FA}dKE=c
Q
;by`[)
struts.mapper.class '%.:97
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class N^\<y7x
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,Q8[Ur?G
rz%8Vigb
struts.multipart.maxSize xx`xDD
The maximize size of a multipart request (file upload) ztcV[{[g
multipart请求信息的最大尺寸(文件上传用) n.&z^&$w\)
K}e%E&|>
struts.multipart.parser /UP&TyZ
The org.apache.struts2.dispatcher.multipart. ;x/do?FbT
MultiPartRequest parser implementation for a multipart request (file upload) KTr7z^
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?/Bp8q(
)N4!zuSVf
+ niz(]
struts.multipart.saveDir ]W^F!p~eC
The directory to use for storing uploaded files N?Byp&rqI<
设置存储上传文件的目录夹 o
gec6u}
z ;>xI~
struts.objectFactory I8R#EM%C#
The com.opensymphony.xwork2.ObjectFactory implementation class f;AQw_{
com.opensymphony.xwork2.ObjectFactory接口(spring) $]v=2j
CatbEXO
struts.objectFactory.spring.autoWire ZG29q>
Whether Spring should autoWire or not wldv^n hM
是否自动绑定Spring {z~n`ow
AgEX,SPP
struts.objectFactory.spring.useClassCache Y.XNA]|
Whether Spring should use its class cache or not
n7g}u
是否spring应该使用自身的cache w$Zi'+&*
3q'["SS
struts.objectTypeDeterminer q~esxp
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Ass :
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2a=3->D&
]S@zhQ
struts.serve.static.browserCache RLy(Wz3%
If static content served by the Struts filter should set browser caching header properties or not V
iY -&q'
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `1}WQS
aQjs5RbP~
struts.serve.static CD}::7$
Whether the Struts filter should serve static content or not 6_Ps*Ed
是否struts过滤器应该提供静态内容 ,%)O/{p_
&8p]yo2zO
struts.tag.altSyntax E@}N}SR
Whether to use the alterative syntax for the tags or not =E6ND8l@2
是否可以用替代的语法替代tags ]Sj<1tx7f
M]c"4b;
struts.ui.templateDir PIk2mX/D_6
The directory containing UI templates in-|",O`Z
UI templates的目录夹 tu5g> qb
]ySm|&aU
struts.ui.theme > 2)@(f~g
The default UI template theme \9
,a"g
默认的UI template主题 !3O8B0K)v
O52B
struts.url.http.port x*H,eY3
The HTTP port used by Struts URLs * {avx
设置http端口 6,wi81F,}
2IfcdYG
struts.url.https.port p**Sd[|
The HTTPS port used by Struts URLs {KQ-QKxxS
设置https端口 onqifQ
@477|LO
struts.url.includeParams I/2{I
The default includeParams method to generate Struts URLs W&g