struts2的struts.properties配置文件详解 2z-Nw <bA
Fl`U{03
struts.action.extension
GLf!i1Z
The URL extension to use to determine if the request is meant for a Struts action J
p?XV<3Z
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^+>*Y=fl
aKj|gwo!
struts.configuration Q!+AiSTU
The org.apache.struts2.config.Configuration implementation class ~Zr}QO}G
org.apache.struts2.config.Configuration接口名 l'"nU6B&
>Z!!` 0{
struts.configuration.files P73GH
A list of configuration files automatically loaded by Struts qX@e+&4P0
struts自动加载的一个配置文件列表 99=~vNn
NH/A`Wm
struts.configuration.xml.reload Tx.N#,T|
Whether to reload the XML configuration or not =dGp&9K,fw
是否加载xml配置(true,false) 6}6Q:V|
*)E${\1' <
struts.continuations.package d"FB+$
The package containing actions that use Rife continuations G0
)[(s
含有actions的完整连续的package名称 V?Jy
$S#Z>d*1!
struts.custom.i18n.resources 4A2}3$c9
Location of additional localization properties files to load \ptO4E
加载附加的国际化属性文件(不包含.properties后缀) DkWp
F!X0Wo=
struts.custom.properties }B-$}
Location of additional configuration properties files to load lUu0AZQmG
加载附加的配置文件的位置 ;^ME
NVMn7H}>
B'yjMY![
struts.devMode [BE_^d5&
Whether Struts is in development mode or not =>
(g_\
是否为struts开发模式 R0Vt_7
Eg)24C R 4
struts.dispatcher.parametersWorkaround (%B{=w}8
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `H! (hMMV
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?,pwYT0g
NVM_.vL
struts.enable.DynamicMethodInvocation 6BV 6<PHJ
Allows one to disable dynamic method invocation from the URL Xe_ <]|
允许动态方法调用 !{-W%=Kf
V;: k-
struts.freemarker.manager.classname .b";7}9{
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class MN<LZC%$
org.apache.struts2.views.freemarker.FreemarkerManager接口名 )]fiyXA
F7<mm7BGZ
struts.i18n.encoding }eLApFHEDg
The encoding to use for localization messages GKoYT{6
国际化信息内码 |XB<vj07G
ql@2<V{
struts.i18n.reload d#T5=5#
Whether the localization messages should automatically be reloaded J,W$\V]p
是否国际化信息自动加载 $+WXM$N
X;!*D
struts.locale Dl/ C?Fll
The default locale for the Struts application D/E5&6
默认的国际化地区信息
AOg'4
&| (K#|^@
struts.mapper.class "pDU v^ie
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class YhH3f VM
org.apache.struts2.dispatcher.mapper.ActionMapper接口 zbFy3-R P
E 3'I;
struts.multipart.maxSize Pn9".
The maximize size of a multipart request (file upload) Vo"G@W)lZ
multipart请求信息的最大尺寸(文件上传用) "e-Y?_S7R8
.JKH=?~\
struts.multipart.parser Tt~4'{Bc
The org.apache.struts2.dispatcher.multipart. yP]>eLTSd
MultiPartRequest parser implementation for a multipart request (file upload) /H<{p$Wd
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) HAH\#WE
*<^C0:i(
b]u=Iza
struts.multipart.saveDir r%;|gIky
The directory to use for storing uploaded files Y7S1^'E
3
设置存储上传文件的目录夹 dz@+ jEV
nq_$!aB_K
struts.objectFactory 9fX0?POG
The com.opensymphony.xwork2.ObjectFactory implementation class 5mAb9F8@
com.opensymphony.xwork2.ObjectFactory接口(spring) +k6`
tl~*
C
O6}D
struts.objectFactory.spring.autoWire 4S42h_9
Whether Spring should autoWire or not $'\kK,=
是否自动绑定Spring 3rRIrrYO
m@<,bZkl
struts.objectFactory.spring.useClassCache uRy}HLZ"
Whether Spring should use its class cache or not G+=Gc(J
是否spring应该使用自身的cache bg|$1ue
j*QdD\)
struts.objectTypeDeterminer ZW;Ec+n_K
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Qy9_tvq
X
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :0@0muo
|r+ x/,2-
struts.serve.static.browserCache 4]1/{</B|
If static content served by the Struts filter should set browser caching header properties or not 6?,qysm06
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 xtGit}
J;>;K6pW
struts.serve.static q!W,2xqZoq
Whether the Struts filter should serve static content or not gbMA-r:IC
是否struts过滤器应该提供静态内容 Vn_&q6Pa
f8-`bb
struts.tag.altSyntax x6K_!L*Fx]
Whether to use the alterative syntax for the tags or not 2Ug_3ZuU
是否可以用替代的语法替代tags fOMaTnm'
h_t`)]-
struts.ui.templateDir (g;O,`|c,
The directory containing UI templates `n6cpX5
UI templates的目录夹 Y9mhDznS
Gw)y<h
struts.ui.theme PZ/tkw
The default UI template theme ~xG/ yPl
默认的UI template主题 V(cU/Aia^
\2u7>fU!
struts.url.http.port nOyG7:
The HTTP port used by Struts URLs \r aP
设置http端口 RV@B[:
?n<F?~
struts.url.https.port O=}w1]
The HTTPS port used by Struts URLs &DGqY5=
设置https端口 $-DW+|p.?^
A23K!a2u&
struts.url.includeParams \@PMj"p|:
The default includeParams method to generate Struts URLs i$pUUK
在url中产生 默认的includeParams X,3"4 SK
YAR$6&
ExS&fUn`C
struts.velocity.configfile P[aE3Felk
The Velocity configuration file path '[6]W)f
velocity配置文件路径 :&5u)
BUZ74
struts.velocity.contexts [e,xC!2
List of Velocity context names \u.5_
g
velocity的context列表 >? o5AdZ
;PVE= z+y
yVzV]&k
struts.velocity.manager.classname &H+ wzx<
org.apache.struts2.views.velocity.VelocityManager implementation class x=0Ak'1M
org.apache.struts2.views.velocity.VelocityManager接口名 #}.{|'L
R;AcAJ;
struts.velocity.toolboxlocation euY+jc%
The location of the Velocity toolbox @}jg5}
velocity工具盒的位置 yq, qS0Fo
struts.xslt.nocache &T-:`(
Whether or not XSLT templates should not be cached "viZ"/~6
是否XSLT模版应该被缓存 HziQ%QR