struts2的struts.properties配置文件详解 &)fhlp5
P_^|KEz
struts.action.extension /S2p ``E+
The URL extension to use to determine if the request is meant for a Struts action ~Q{[fy=
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 !)l%EJngL
6@ (k8<3
struts.configuration nEZ-h7lzl(
The org.apache.struts2.config.Configuration implementation class q:D0$YY0
org.apache.struts2.config.Configuration接口名 o q'J*6r
)U/@J+{{
struts.configuration.files fjz2m
A list of configuration files automatically loaded by Struts m`1}O"<&i
struts自动加载的一个配置文件列表 r~Is,.zZ}
eaZ)1od
struts.configuration.xml.reload ]
_]6&PZXk
Whether to reload the XML configuration or not \V!X& a
是否加载xml配置(true,false) MU^xu&MB
S9F]!m^i
struts.continuations.package [/#k$-
The package containing actions that use Rife continuations {TcbCjyw
含有actions的完整连续的package名称 $.x?in|_
PL$(/Z
struts.custom.i18n.resources ,&pF:qlF
Location of additional localization properties files to load Pvb+
加载附加的国际化属性文件(不包含.properties后缀) 2)j#O
1_dMe%53
struts.custom.properties BW(DaNt^
Location of additional configuration properties files to load :n%sU*'T
加载附加的配置文件的位置 "*H'bzK
a_}BTkfHa
T/spUlWu
struts.devMode 9DP75 ti
Whether Struts is in development mode or not wYS
KtG~/S
是否为struts开发模式 "YdDaj</
$M8>SLd
struts.dispatcher.parametersWorkaround ^w.(*; /
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic j8ohzX[Y
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) .AmM%I4K
"< hx
struts.enable.DynamicMethodInvocation s+\qie
Allows one to disable dynamic method invocation from the URL XQg%*Rw+t
允许动态方法调用 cO"Xg<#y
?T%K +
struts.freemarker.manager.classname +ke42Jwt
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =ty@xHr
org.apache.struts2.views.freemarker.FreemarkerManager接口名 d8y=.
3<.j`JB@&
struts.i18n.encoding i+
&lMgh
The encoding to use for localization messages FO3eg"{N
国际化信息内码 BBuYO$p
~sU!
1
struts.i18n.reload tRrY)eElS
Whether the localization messages should automatically be reloaded w
_6Y+
是否国际化信息自动加载 I5<#SW\a?
piM11W}|/
struts.locale p6k'Q
The default locale for the Struts application ~D-OL*2
默认的国际化地区信息 gm%bxr@X~
3lrZ-k+S{
struts.mapper.class 576-X_a,
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class AB|VO4-?
org.apache.struts2.dispatcher.mapper.ActionMapper接口 p(b1I+!
(A<sFw?
struts.multipart.maxSize 0tm "kzy
The maximize size of a multipart request (file upload) 2KNKdV3NK
multipart请求信息的最大尺寸(文件上传用) HZQ3Ht 3Vh
@ 6V H%
struts.multipart.parser g(}8n bTA
The org.apache.struts2.dispatcher.multipart. =A&*SE o5
MultiPartRequest parser implementation for a multipart request (file upload) Tk|;5^#H
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .)pRB7O3
lIc9,|FL
EvardUB)
struts.multipart.saveDir ~b<4>"7y.
The directory to use for storing uploaded files x%?*]*W
设置存储上传文件的目录夹 ,8 -_=*
$6x:aG*F
struts.objectFactory p'c<v)ia
The com.opensymphony.xwork2.ObjectFactory implementation class qYiK bzy
com.opensymphony.xwork2.ObjectFactory接口(spring) PC(iqL8r
7(+ZfY~w"
struts.objectFactory.spring.autoWire 2P>za\
Whether Spring should autoWire or not b)`#^uxxJ
是否自动绑定Spring 8&[<pbN)
u|*|RuY
struts.objectFactory.spring.useClassCache IqJ=\
Whether Spring should use its class cache or not $iz pH
是否spring应该使用自身的cache pj-HLuZR
98BBsjkd
struts.objectTypeDeterminer <XcMc<h~
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class b0x0CMf
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^9f`3~!#bc
6XCX#4'i%
struts.serve.static.browserCache 7D_kkhN
If static content served by the Struts filter should set browser caching header properties or not &"6ktKrIg
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 d"`>&8*
+6Fdi*:
struts.serve.static &)}:Y!qiu
Whether the Struts filter should serve static content or not {gHscj;SM
是否struts过滤器应该提供静态内容 t
}C
^E
>(4S `}K
struts.tag.altSyntax r@ *A
Whether to use the alterative syntax for the tags or not bRe *(
是否可以用替代的语法替代tags ymVd94L
4bjp*1 *]
struts.ui.templateDir 7,VWvmWJex
The directory containing UI templates bh6wI%8H
UI templates的目录夹 b2kbuk]
UNLNY,P/!)
struts.ui.theme 9nAK6$/
The default UI template theme w*kFtNBfU
默认的UI template主题 !w\;Q8irN
;mKU>F<V
struts.url.http.port uB"m!dL
The HTTP port used by Struts URLs 8VGXw;(Y,d
设置http端口 tpzdYokh>
l0 :xQV`
struts.url.https.port \@"
.
GM%
The HTTPS port used by Struts URLs BcO2* 3
设置https端口 Jl9TMu!1]
w3UJw
struts.url.includeParams t|"d#5'
The default includeParams method to generate Struts URLs ^G<M+RF2J
在url中产生 默认的includeParams r>@/XYK&\
7%}}m&A7h
t[ocp;Q
struts.velocity.configfile UimZ/\r
The Velocity configuration file path Zpd>' ${4
velocity配置文件路径 B y8Tw;aL
rmoEc]kt]
struts.velocity.contexts ?kefRev<#h
List of Velocity context names I+Cmj]M s0
velocity的context列表 Ci:QIsu*
1k({(\>qq
," R_ve
struts.velocity.manager.classname
2xj`cFT
org.apache.struts2.views.velocity.VelocityManager implementation class ?bA]U:
org.apache.struts2.views.velocity.VelocityManager接口名 Qt39H@c|z~
dPX>A4wp
struts.velocity.toolboxlocation bv];Gk*Z-
The location of the Velocity toolbox ?OdA`!wE
velocity工具盒的位置 e@VRdhb
struts.xslt.nocache !+l,
m8Hly
Whether or not XSLT templates should not be cached TC}u[kM
是否XSLT模版应该被缓存 xq*yZ5:5Jo