struts2的struts.properties配置文件详解 G4;3cT3'
Cb@3M"1:
struts.action.extension |*Yf.-
The URL extension to use to determine if the request is meant for a Struts action L IVU^Os.
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -0eq_+oQ
uy^
struts.configuration V&|Ed
The org.apache.struts2.config.Configuration implementation class ?EpSC&S\
org.apache.struts2.config.Configuration接口名 c$`4*6
7,MS '2nz
struts.configuration.files 0lsXCr_X
A list of configuration files automatically loaded by Struts ;k86"W
struts自动加载的一个配置文件列表 za9)Q=6FD
)VK }m9Ae
struts.configuration.xml.reload Za7q$7F7Bc
Whether to reload the XML configuration or not P^Q[-e{
是否加载xml配置(true,false) maY4g&'f
sv(f;ib
struts.continuations.package _#s=h_
FD
The package containing actions that use Rife continuations
uV hCxUMQ
含有actions的完整连续的package名称 ZBG}3Z
G633Lm`ri
struts.custom.i18n.resources ;HBCUe<_
Location of additional localization properties files to load 7HJS.047
加载附加的国际化属性文件(不包含.properties后缀) <uk1?Qg
P;8>5;U4-
struts.custom.properties Enq|Y$qm
Location of additional configuration properties files to load T<joRR
加载附加的配置文件的位置 0T5=W U
=!UR=Hq
deeU@x`f<
struts.devMode ?Xo*1Z =
Whether Struts is in development mode or not <0.$'M~E
是否为struts开发模式 c$,_>tcP
`L5~mb;7*
struts.dispatcher.parametersWorkaround h~,JdDV8l*
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic qr50E[
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) X$b={]b
OR Wm
C!
struts.enable.DynamicMethodInvocation &G >(9
Allows one to disable dynamic method invocation from the URL [;oCYb$9
允许动态方法调用 ,chf~-d
dj&}Gedy
struts.freemarker.manager.classname ZC4*{
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class iH2n.M
"
org.apache.struts2.views.freemarker.FreemarkerManager接口名 m&0"<V!H/B
"SoHt]%#
struts.i18n.encoding 5ZPzPUa8~
The encoding to use for localization messages Q2%QLM:.,
国际化信息内码 O:/yAc`
0l#)fJo
struts.i18n.reload RF!1oZ
Whether the localization messages should automatically be reloaded :9Y$'+ <&H
是否国际化信息自动加载 %_aMl
w$5A|%Y+V}
struts.locale PS" .R_"
The default locale for the Struts application wFIh6[3
默认的国际化地区信息 KZ:8[d
/<3<.
~
struts.mapper.class geefnb
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a>B[5I5
org.apache.struts2.dispatcher.mapper.ActionMapper接口 DrvtH+e
m:O(+Fl
struts.multipart.maxSize y8bM<e2
U
The maximize size of a multipart request (file upload) OAZ#|U
multipart请求信息的最大尺寸(文件上传用) '69ZdP/xX
tNmy&
nsA
struts.multipart.parser !sA_?2$
The org.apache.struts2.dispatcher.multipart. yWHiw<
MultiPartRequest parser implementation for a multipart request (file upload) Zx?b<"k
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5lJ)(|_
Q1&P@Io$
'!Kf#@';u
struts.multipart.saveDir xq-$\#O
The directory to use for storing uploaded files =]Hs|{
设置存储上传文件的目录夹 z&$/EP-
&yz&LNn'
struts.objectFactory Er:?M_ev
The com.opensymphony.xwork2.ObjectFactory implementation class =S]a&*M
com.opensymphony.xwork2.ObjectFactory接口(spring) Px'!;
F[7x*-NO-
struts.objectFactory.spring.autoWire `
e {BId
Whether Spring should autoWire or not B7-RU<n
是否自动绑定Spring d2ENm%q*PX
[{<dbW\ 9
struts.objectFactory.spring.useClassCache 6a>H|"PNE
Whether Spring should use its class cache or not W*xX{$NL
是否spring应该使用自身的cache >^"BEG9i:
<3O T>E[
struts.objectTypeDeterminer "!Rw)=7O
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class IdRdW{o
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &,-p',\-
#G,XDW2"w
struts.serve.static.browserCache xwzT#DXGJ
If static content served by the Struts filter should set browser caching header properties or not Rh] P8
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {R&ZqEo'D
;? uC=o>Z{
struts.serve.static _NdLcpBT?
Whether the Struts filter should serve static content or not OalP1Gy
是否struts过滤器应该提供静态内容 P-JfV 7(O8
{rkn q_;0
struts.tag.altSyntax
8R69q:
Whether to use the alterative syntax for the tags or not af+}S9To
是否可以用替代的语法替代tags ZAg;q#z j
3On
JWuVfZ
struts.ui.templateDir q:HoKJv4
The directory containing UI templates Ew^ @Aq
UI templates的目录夹 dNVv4{S
dTD5(}+J
struts.ui.theme qq+MBW*
The default UI template theme $-@$i`Kf/
默认的UI template主题 ^ZQCIS-R
K:qOoY
struts.url.http.port 8gmn6dCf
The HTTP port used by Struts URLs eZO9GMO
设置http端口 s5Fr)q// !
FyEDt@J
struts.url.https.port ":d*dl
The HTTPS port used by Struts URLs e.6Dl_
设置https端口 bGh0<r7R
Q.(51]'
struts.url.includeParams 2A$0CUMb
The default includeParams method to generate Struts URLs <~%t$:
在url中产生 默认的includeParams cq^sq1A:
S[@6Lp3q_
U
\Dca&=
struts.velocity.configfile s%dF~DSK
The Velocity configuration file path .{N\<